@carbon/ai-chat-components 1.9.0-alpha.0 → 1.9.0-rc.1

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 (976) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -5
  3. package/custom-elements.json +2466 -1911
  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 +211 -112
  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 +20 -9
  170. package/es/components/markdown/src/markdown-renderer.d.ts +9 -9
  171. package/es/components/markdown/src/markdown-renderer.js +97 -85
  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 +110 -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 +68 -66
  191. package/es/components/markdown/src/utils/plugin-fallback.js.map +1 -1
  192. package/es/components/markdown/src/utils/slot-names.d.ts +1 -0
  193. package/es/components/markdown/src/utils/slot-names.js +83 -0
  194. package/es/components/markdown/src/utils/slot-names.js.map +1 -0
  195. package/es/components/markdown/src/utils/streaming-table.d.ts +1 -1
  196. package/es/components/markdown/src/utils/streaming-table.js +6 -6
  197. package/es/components/markdown/src/utils/table-helpers.d.ts +4 -4
  198. package/es/components/markdown/src/utils/table-helpers.js +17 -18
  199. package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
  200. package/es/components/processing/index.d.ts +1 -1
  201. package/es/components/processing/src/processing.d.ts +2 -2
  202. package/es/components/processing/src/processing.js +2 -2
  203. package/es/components/prompt-line/autocomplete/index.d.ts +12 -0
  204. package/es/components/prompt-line/autocomplete/index.js +9 -0
  205. package/es/components/prompt-line/autocomplete/index.js.map +1 -0
  206. package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +175 -0
  207. package/es/components/prompt-line/autocomplete/src/autocomplete.js +494 -0
  208. package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  209. package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  210. package/es/components/prompt-line/index.d.ts +18 -18
  211. package/es/components/prompt-line/src/autocomplete-controller.d.ts +28 -10
  212. package/es/components/prompt-line/src/autocomplete-controller.js +162 -52
  213. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  214. package/es/components/prompt-line/src/error-message.d.ts +3 -7
  215. package/es/components/prompt-line/src/error-message.js +13 -23
  216. package/es/components/prompt-line/src/error-message.js.map +1 -1
  217. package/es/components/prompt-line/src/error-message.scss.js +1 -1
  218. package/es/components/prompt-line/src/prompt-line-constants.js +1 -1
  219. package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  220. package/es/components/prompt-line/src/prompt-line-controller.js +83 -83
  221. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  222. package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  223. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  224. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  225. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  226. package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  227. package/es/components/prompt-line/src/prompt-line-shell.js +11 -13
  228. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  229. package/es/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  230. package/es/components/prompt-line/src/prompt-line.d.ts +5 -5
  231. package/es/components/prompt-line/src/prompt-line.js +35 -35
  232. package/es/components/prompt-line/src/prompt-line.js.map +1 -1
  233. package/es/components/prompt-line/src/send-control.d.ts +4 -4
  234. package/es/components/prompt-line/src/send-control.js +18 -20
  235. package/es/components/prompt-line/src/send-control.js.map +1 -1
  236. package/es/components/prompt-line/src/send-control.scss.js +1 -1
  237. package/es/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  238. package/es/components/prompt-line/src/stop-streaming-button.js +7 -8
  239. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  240. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  241. package/es/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  242. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  243. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  244. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  245. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  246. package/es/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  247. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  248. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +24 -12
  249. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  250. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  251. package/es/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  252. package/es/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  253. package/es/components/prompt-line/src/tiptap/index.d.ts +24 -24
  254. package/es/components/prompt-line/src/tiptap/index.js.map +1 -1
  255. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  256. package/es/components/prompt-line/src/tiptap/json-utils.js +17 -17
  257. package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  258. package/es/components/prompt-line/src/tiptap/keymap.js +3 -3
  259. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  260. package/es/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  261. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  262. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  263. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  264. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  265. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  266. package/es/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  267. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  268. package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  269. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  270. package/es/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  271. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  272. package/es/components/prompt-line/src/tiptap/types.d.ts +46 -6
  273. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  274. package/es/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  275. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  276. package/es/components/prompt-line/src/tiptap/value-sync.js +2 -2
  277. package/es/components/prompt-line/src/types.d.ts +2 -2
  278. package/es/components/prompt-line/src/types.js.map +1 -1
  279. package/es/components/reasoning-steps/index.d.ts +4 -4
  280. package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  281. package/es/components/reasoning-steps/src/reasoning-step.js +27 -31
  282. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  283. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  284. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  285. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  286. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  287. package/es/components/reasoning-steps/src/reasoning-steps.js +19 -20
  288. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  289. package/es/components/shared/dynamic-css-var-sheet.js +7 -7
  290. package/es/components/shared/media-utils/script-loader.js +1 -1
  291. package/es/components/table/index.d.ts +3 -3
  292. package/es/components/table/src/table-loader.d.ts +1 -1
  293. package/es/components/table/src/table-loader.js +1 -1
  294. package/es/components/table/src/table-pagination.template.d.ts +3 -3
  295. package/es/components/table/src/table-pagination.template.js +4 -5
  296. package/es/components/table/src/table-pagination.template.js.map +1 -1
  297. package/es/components/table/src/table-runtime.d.ts +2 -2
  298. package/es/components/table/src/table-skeleton.template.d.ts +1 -1
  299. package/es/components/table/src/table-skeleton.template.js +2 -3
  300. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  301. package/es/components/table/src/table.d.ts +3 -4
  302. package/es/components/table/src/table.js +36 -39
  303. package/es/components/table/src/table.js.map +1 -1
  304. package/es/components/table/src/table.template.d.ts +5 -5
  305. package/es/components/table/src/table.template.js +6 -9
  306. package/es/components/table/src/table.template.js.map +1 -1
  307. package/es/components/toolbar/index.d.ts +1 -1
  308. package/es/components/toolbar/src/toolbar.d.ts +9 -7
  309. package/es/components/toolbar/src/toolbar.js +52 -36
  310. package/es/components/toolbar/src/toolbar.js.map +1 -1
  311. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  312. package/es/components/truncated-text/index.d.ts +1 -1
  313. package/es/components/truncated-text/src/truncated-text.d.ts +5 -5
  314. package/es/components/truncated-text/src/truncated-text.js +26 -28
  315. package/es/components/truncated-text/src/truncated-text.js.map +1 -1
  316. package/es/components/truncated-text/src/truncated-text.scss.js +1 -1
  317. package/es/components/video-player/index.d.ts +2 -2
  318. package/es/components/video-player/src/providers/base-provider.d.ts +3 -3
  319. package/es/components/video-player/src/providers/base-provider.js +5 -5
  320. package/es/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  321. package/es/components/video-player/src/providers/kaltura-provider.js +23 -23
  322. package/es/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  323. package/es/components/video-player/src/providers/native-video-provider.js +20 -20
  324. package/es/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  325. package/es/components/video-player/src/providers/vimeo-provider.js +23 -23
  326. package/es/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  327. package/es/components/video-player/src/providers/youtube-provider.js +15 -15
  328. package/es/components/video-player/src/utils/url-detector.js +1 -1
  329. package/es/components/video-player/src/video-player.d.ts +2 -2
  330. package/es/components/video-player/src/video-player.js +37 -41
  331. package/es/components/video-player/src/video-player.js.map +1 -1
  332. package/es/components/workspace-shell/index.d.ts +4 -4
  333. package/es/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  334. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  335. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -2
  336. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  337. package/es/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  338. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  339. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  340. package/es/components/workspace-shell/src/workspace-shell-header.js +10 -13
  341. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  342. package/es/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  343. package/es/components/workspace-shell/src/workspace-shell.js +3 -3
  344. package/es/globals/decorators/carbon-element.d.ts +4 -4
  345. package/es/globals/decorators/carbon-element.js +2 -2
  346. package/es/globals/decorators/index.d.ts +1 -1
  347. package/es/globals/scss/common.scss.js +1 -1
  348. package/es/globals/settings.js +2 -2
  349. package/es/globals/utils/aria-announcer-manager.d.ts +1 -1
  350. package/es/globals/utils/aria-announcer-manager.js +6 -6
  351. package/es/globals/utils/browser-utils.js +1 -1
  352. package/es/globals/utils/csv.d.ts +8 -0
  353. package/es/globals/utils/csv.js +37 -0
  354. package/es/globals/utils/csv.js.map +1 -0
  355. package/es/globals/utils/dom-utils.js +1 -1
  356. package/es/globals/utils/focus-utils.js +4 -4
  357. package/es/globals/utils/iconTransform.d.ts +2 -2
  358. package/es/globals/utils/iconTransform.js +21 -21
  359. package/es/globals/utils/rtl-utils.js +1 -1
  360. package/es/globals/utils/uuid.js +5 -5
  361. package/es/react/__tests__/jest.setup.js +12 -12
  362. package/es/react/ai-label-action-button.d.ts +1 -1
  363. package/es/react/ai-label-action-button.js +1 -1
  364. package/es/react/audio-player.d.ts +1 -1
  365. package/es/react/audio-player.js +5 -5
  366. package/es/react/autocomplete.d.ts +1 -1
  367. package/es/react/autocomplete.js +5 -5
  368. package/es/react/card.d.ts +1 -1
  369. package/es/react/card.js +5 -5
  370. package/es/react/carousel.d.ts +1 -1
  371. package/es/react/carousel.js +2 -2
  372. package/es/react/chain-of-thought-step.d.ts +1 -1
  373. package/es/react/chain-of-thought-step.js +4 -4
  374. package/es/react/chain-of-thought-toggle.d.ts +2 -2
  375. package/es/react/chain-of-thought-toggle.js +3 -3
  376. package/es/react/chain-of-thought.d.ts +2 -2
  377. package/es/react/chain-of-thought.js +4 -4
  378. package/es/react/chat-button.d.ts +3 -3
  379. package/es/react/chat-button.js +2 -2
  380. package/es/react/chat-header.d.ts +3 -3
  381. package/es/react/chat-header.js +2 -2
  382. package/es/react/chat-shell.d.ts +2 -2
  383. package/es/react/chat-shell.js +2 -2
  384. package/es/react/code-snippet.d.ts +4 -4
  385. package/es/react/code-snippet.js +3 -3
  386. package/es/react/error-message.d.ts +1 -1
  387. package/es/react/error-message.js +1 -1
  388. package/es/react/feedback-buttons.d.ts +1 -1
  389. package/es/react/feedback-buttons.js +3 -3
  390. package/es/react/feedback.d.ts +2 -2
  391. package/es/react/feedback.js +4 -4
  392. package/es/react/file-upload-item.d.ts +11 -0
  393. package/es/react/file-upload-item.js +31 -0
  394. package/es/react/file-upload-item.js.map +1 -0
  395. package/es/react/file-uploads.d.ts +1 -1
  396. package/es/react/file-uploads.js +2 -2
  397. package/es/react/history/history-content.d.ts +1 -1
  398. package/es/react/history/history-content.js +1 -1
  399. package/es/react/history/history-delete-panel.d.ts +1 -1
  400. package/es/react/history/history-delete-panel.js +3 -3
  401. package/es/react/history/history-header.d.ts +1 -1
  402. package/es/react/history/history-header.js +2 -2
  403. package/es/react/history/history-loading.d.ts +1 -1
  404. package/es/react/history/history-loading.js +1 -1
  405. package/es/react/history/history-panel-item-input.d.ts +1 -1
  406. package/es/react/history/history-panel-item-input.js +4 -4
  407. package/es/react/history/history-panel-item.d.ts +1 -1
  408. package/es/react/history/history-panel-item.js +6 -6
  409. package/es/react/history/history-panel-items.d.ts +1 -1
  410. package/es/react/history/history-panel-items.js +1 -1
  411. package/es/react/history/history-panel-menu.d.ts +1 -1
  412. package/es/react/history/history-panel-menu.js +1 -1
  413. package/es/react/history/history-panel.d.ts +1 -1
  414. package/es/react/history/history-panel.js +1 -1
  415. package/es/react/history/history-search-item.d.ts +1 -1
  416. package/es/react/history/history-search-item.js +2 -2
  417. package/es/react/history/history-shell.d.ts +1 -1
  418. package/es/react/history/history-shell.js +1 -1
  419. package/es/react/history/history-toolbar.d.ts +1 -1
  420. package/es/react/history/history-toolbar.js +3 -3
  421. package/es/react/history/index.d.ts +12 -12
  422. package/es/react/hooks/useChatAutocomplete.d.ts +9 -4
  423. package/es/react/hooks/useChatAutocomplete.js +50 -19
  424. package/es/react/hooks/useChatAutocomplete.js.map +1 -1
  425. package/es/react/input-send-control.d.ts +1 -1
  426. package/es/react/input-send-control.js +3 -3
  427. package/es/react/launcher.d.ts +11 -0
  428. package/es/react/launcher.js +31 -0
  429. package/es/react/launcher.js.map +1 -0
  430. package/es/react/markdown.d.ts +7 -7
  431. package/es/react/markdown.js +13 -13
  432. package/es/react/markdown.js.map +1 -1
  433. package/es/react/panel.d.ts +1 -1
  434. package/es/react/panel.js +7 -7
  435. package/es/react/processing.d.ts +1 -1
  436. package/es/react/processing.js +2 -2
  437. package/es/react/prompt-line-shell.d.ts +1 -1
  438. package/es/react/prompt-line-shell.js +1 -1
  439. package/es/react/prompt-line.d.ts +1 -1
  440. package/es/react/prompt-line.js +9 -9
  441. package/es/react/reasoning-step.d.ts +1 -1
  442. package/es/react/reasoning-step.js +4 -4
  443. package/es/react/reasoning-steps-toggle.d.ts +2 -2
  444. package/es/react/reasoning-steps-toggle.js +3 -3
  445. package/es/react/reasoning-steps.d.ts +1 -1
  446. package/es/react/reasoning-steps.js +2 -2
  447. package/es/react/stop-streaming-button.d.ts +1 -1
  448. package/es/react/stop-streaming-button.js +1 -1
  449. package/es/react/table.d.ts +2 -2
  450. package/es/react/table.js +1 -1
  451. package/es/react/tool-call-data.d.ts +1 -1
  452. package/es/react/tool-call-data.js +2 -2
  453. package/es/react/toolbar.d.ts +4 -4
  454. package/es/react/toolbar.js +2 -2
  455. package/es/react/transcript.d.ts +1 -1
  456. package/es/react/transcript.js +3 -3
  457. package/es/react/utils/transformSuggestionConfig.d.ts +3 -3
  458. package/es/react/utils/transformSuggestionConfig.js +3 -3
  459. package/es/react/utils/transformSuggestionConfig.js.map +1 -1
  460. package/es/react/utils/withWebComponentBridge.d.ts +1 -1
  461. package/es/react/utils/withWebComponentBridge.js +22 -22
  462. package/es/react/video-player.d.ts +1 -1
  463. package/es/react/video-player.js +5 -5
  464. package/es/react/workspace-shell.d.ts +1 -1
  465. package/es/react/workspace-shell.js +6 -6
  466. package/es/testing/load-all-lazy-deps.d.ts +2 -2
  467. package/es/testing/load-all-lazy-deps.js +1 -1
  468. package/es/typings/overflow-menu.d.ts +2 -2
  469. package/es-custom/components/audio-player/index.d.ts +4 -4
  470. package/es-custom/components/audio-player/src/audio-player.d.ts +1 -1
  471. package/es-custom/components/audio-player/src/audio-player.js +33 -38
  472. package/es-custom/components/audio-player/src/audio-player.js.map +1 -1
  473. package/es-custom/components/audio-player/src/providers/base-provider.d.ts +2 -2
  474. package/es-custom/components/audio-player/src/providers/base-provider.js +9 -9
  475. package/es-custom/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
  476. package/es-custom/components/audio-player/src/providers/native-audio-provider.js +18 -18
  477. package/es-custom/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
  478. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +14 -14
  479. package/es-custom/components/audio-player/src/transcript.d.ts +2 -2
  480. package/es-custom/components/audio-player/src/transcript.js +13 -16
  481. package/es-custom/components/audio-player/src/transcript.js.map +1 -1
  482. package/es-custom/components/audio-player/src/utils/url-detector.js +1 -1
  483. package/es-custom/components/card/index.d.ts +4 -4
  484. package/es-custom/components/card/src/card-footer.d.ts +5 -5
  485. package/es-custom/components/card/src/card-footer.js +12 -16
  486. package/es-custom/components/card/src/card-footer.js.map +1 -1
  487. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  488. package/es-custom/components/card/src/card-steps.d.ts +4 -4
  489. package/es-custom/components/card/src/card-steps.js +3 -5
  490. package/es-custom/components/card/src/card-steps.js.map +1 -1
  491. package/es-custom/components/card/src/card-steps.scss.js +1 -1
  492. package/es-custom/components/card/src/card.d.ts +2 -2
  493. package/es-custom/components/card/src/card.js +3 -3
  494. package/es-custom/components/card/src/card.scss.js +1 -1
  495. package/es-custom/components/carousel/index.d.ts +1 -1
  496. package/es-custom/components/carousel/src/carousel.d.ts +2 -2
  497. package/es-custom/components/carousel/src/carousel.js +4 -6
  498. package/es-custom/components/carousel/src/carousel.js.map +1 -1
  499. package/es-custom/components/carousel/src/carousel.scss.js +1 -1
  500. package/es-custom/components/chain-of-thought/defs.js +1 -1
  501. package/es-custom/components/chain-of-thought/index.d.ts +10 -10
  502. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
  503. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
  504. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  505. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
  506. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
  507. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  508. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
  509. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +16 -17
  510. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  511. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
  512. package/es-custom/components/chain-of-thought/src/tool-call-data.js +17 -23
  513. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  514. package/es-custom/components/chat-button/defs.d.ts +1 -1
  515. package/es-custom/components/chat-button/defs.js +1 -1
  516. package/es-custom/components/chat-button/index.d.ts +2 -2
  517. package/es-custom/components/chat-button/src/chat-button.d.ts +5 -5
  518. package/es-custom/components/chat-button/src/chat-button.js +6 -6
  519. package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
  520. package/es-custom/components/chat-history/index.d.ts +11 -11
  521. package/es-custom/components/chat-history/src/history-content.d.ts +1 -1
  522. package/es-custom/components/chat-history/src/history-content.js +6 -6
  523. package/es-custom/components/chat-history/src/history-delete-panel.d.ts +2 -2
  524. package/es-custom/components/chat-history/src/history-delete-panel.js +11 -11
  525. package/es-custom/components/chat-history/src/history-header.d.ts +2 -2
  526. package/es-custom/components/chat-history/src/history-header.js +9 -10
  527. package/es-custom/components/chat-history/src/history-header.js.map +1 -1
  528. package/es-custom/components/chat-history/src/history-loading.d.ts +2 -2
  529. package/es-custom/components/chat-history/src/history-loading.js +1 -1
  530. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +2 -2
  531. package/es-custom/components/chat-history/src/history-panel-item-input.js +21 -22
  532. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +1 -1
  533. package/es-custom/components/chat-history/src/history-panel-item.d.ts +5 -5
  534. package/es-custom/components/chat-history/src/history-panel-item.js +39 -41
  535. package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
  536. package/es-custom/components/chat-history/src/history-panel-items.d.ts +1 -1
  537. package/es-custom/components/chat-history/src/history-panel-items.js +1 -1
  538. package/es-custom/components/chat-history/src/history-panel-menu.d.ts +1 -1
  539. package/es-custom/components/chat-history/src/history-panel.d.ts +1 -1
  540. package/es-custom/components/chat-history/src/history-panel.js +3 -3
  541. package/es-custom/components/chat-history/src/history-search-item.d.ts +1 -1
  542. package/es-custom/components/chat-history/src/history-search-item.js +4 -4
  543. package/es-custom/components/chat-history/src/history-shell.d.ts +1 -1
  544. package/es-custom/components/chat-history/src/history-shell.js +3 -3
  545. package/es-custom/components/chat-history/src/history-toolbar.d.ts +9 -5
  546. package/es-custom/components/chat-history/src/history-toolbar.js +13 -10
  547. package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
  548. package/es-custom/components/chat-shell/index.d.ts +5 -5
  549. package/es-custom/components/chat-shell/src/chat-header.d.ts +8 -8
  550. package/es-custom/components/chat-shell/src/chat-header.js +37 -44
  551. package/es-custom/components/chat-shell/src/chat-header.js.map +1 -1
  552. package/es-custom/components/chat-shell/src/corner-manager.d.ts +1 -1
  553. package/es-custom/components/chat-shell/src/corner-manager.js +30 -30
  554. package/es-custom/components/chat-shell/src/initialization-manager.d.ts +1 -1
  555. package/es-custom/components/chat-shell/src/panel-manager.d.ts +1 -1
  556. package/es-custom/components/chat-shell/src/panel-manager.js +12 -12
  557. package/es-custom/components/chat-shell/src/panel.d.ts +2 -2
  558. package/es-custom/components/chat-shell/src/panel.js +99 -100
  559. package/es-custom/components/chat-shell/src/panel.js.map +1 -1
  560. package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
  561. package/es-custom/components/chat-shell/src/resize-observer-manager.js +10 -10
  562. package/es-custom/components/chat-shell/src/shell.d.ts +8 -8
  563. package/es-custom/components/chat-shell/src/shell.js +128 -135
  564. package/es-custom/components/chat-shell/src/shell.js.map +1 -1
  565. package/es-custom/components/chat-shell/src/slot-observer.d.ts +1 -1
  566. package/es-custom/components/chat-shell/src/slot-observer.js +4 -7
  567. package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
  568. package/es-custom/components/chat-shell/src/types.d.ts +4 -4
  569. package/es-custom/components/chat-shell/src/workspace-manager-utils.js +4 -4
  570. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
  571. package/es-custom/components/chat-shell/src/workspace-manager.js +32 -32
  572. package/es-custom/components/code-snippet/index.d.ts +4 -4
  573. package/es-custom/components/code-snippet/src/code-snippet.d.ts +8 -8
  574. package/es-custom/components/code-snippet/src/code-snippet.js +87 -93
  575. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  576. package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
  577. package/es-custom/components/code-snippet/src/codemirror/base-setup.js +1 -1
  578. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
  579. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
  580. package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
  581. package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
  582. package/es-custom/components/code-snippet/src/codemirror/content-sync.js +2 -2
  583. package/es-custom/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
  584. package/es-custom/components/code-snippet/src/codemirror/detect-language.js +77 -0
  585. package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
  586. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
  587. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
  588. package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
  589. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +4 -4
  590. package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
  591. package/es-custom/components/code-snippet/src/codemirror/language-controller.js +3 -3
  592. package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
  593. package/es-custom/components/code-snippet/src/codemirror/language-data.js +299 -299
  594. package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
  595. package/es-custom/components/code-snippet/src/codemirror/language-utils.js +60 -66
  596. package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  597. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +15 -15
  598. package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +1 -1
  599. package/es-custom/components/code-snippet/src/codemirror/theme.js +163 -163
  600. package/es-custom/components/code-snippet/src/dom-utils.js +6 -6
  601. package/es-custom/components/code-snippet/src/layout-utils.d.ts +2 -2
  602. package/es-custom/components/code-snippet/src/layout-utils.js +9 -9
  603. package/es-custom/components/code-snippet/src/streaming-manager.js +5 -5
  604. package/es-custom/components/feedback/index.d.ts +4 -4
  605. package/es-custom/components/feedback/src/feedback-buttons.d.ts +3 -3
  606. package/es-custom/components/feedback/src/feedback-buttons.js +17 -19
  607. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  608. package/es-custom/components/feedback/src/feedback.d.ts +9 -9
  609. package/es-custom/components/feedback/src/feedback.js +38 -45
  610. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  611. package/es-custom/components/file-uploads/index.d.ts +5 -4
  612. package/es-custom/components/file-uploads/src/file-type-icon.d.ts +18 -0
  613. package/es-custom/components/file-uploads/src/file-type-icon.js +87 -0
  614. package/es-custom/components/file-uploads/src/file-type-icon.js.map +1 -0
  615. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +69 -8
  616. package/es-custom/components/file-uploads/src/file-upload-item.js +211 -112
  617. package/es-custom/components/file-uploads/src/file-upload-item.js.map +1 -1
  618. package/es-custom/components/file-uploads/src/file-uploads.d.ts +8 -4
  619. package/es-custom/components/file-uploads/src/file-uploads.js +54 -29
  620. package/es-custom/components/file-uploads/src/file-uploads.js.map +1 -1
  621. package/es-custom/components/file-uploads/src/file-uploads.scss.js +1 -1
  622. package/es-custom/components/file-uploads/src/types.d.ts +39 -0
  623. package/es-custom/components/file-uploads/src/types.js +8 -0
  624. package/es-custom/components/file-uploads/src/types.js.map +1 -0
  625. package/es-custom/components/launcher/index.d.ts +9 -0
  626. package/es-custom/components/launcher/index.js +9 -0
  627. package/{es/components/autocomplete → es-custom/components/launcher}/index.js.map +1 -1
  628. package/es-custom/components/launcher/src/launcher.d.ts +68 -0
  629. package/es-custom/components/launcher/src/launcher.js +152 -0
  630. package/es-custom/components/launcher/src/launcher.js.map +1 -0
  631. package/es-custom/components/launcher/src/launcher.scss.js +13 -0
  632. package/es-custom/components/launcher/src/launcher.scss.js.map +1 -0
  633. package/es-custom/components/markdown/index.d.ts +5 -5
  634. package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +20 -9
  635. package/es-custom/components/markdown/src/markdown-renderer.d.ts +9 -9
  636. package/es-custom/components/markdown/src/markdown-renderer.js +97 -85
  637. package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
  638. package/es-custom/components/markdown/src/markdown-token-tree.d.ts +1 -1
  639. package/es-custom/components/markdown/src/markdown-token-tree.js +20 -20
  640. package/es-custom/components/markdown/src/markdown.d.ts +4 -7
  641. package/es-custom/components/markdown/src/markdown.js +110 -82
  642. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  643. package/es-custom/components/markdown/src/markdown.template.js +1 -1
  644. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
  645. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
  646. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
  647. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
  648. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
  649. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
  650. package/es-custom/components/markdown/src/utils/html-helpers.d.ts +1 -1
  651. package/es-custom/components/markdown/src/utils/html-helpers.js +72 -72
  652. package/es-custom/components/markdown/src/utils/lit-directives.d.ts +2 -2
  653. package/es-custom/components/markdown/src/utils/lit-directives.js +5 -5
  654. package/es-custom/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
  655. package/es-custom/components/markdown/src/utils/plugin-fallback.js +68 -66
  656. package/es-custom/components/markdown/src/utils/plugin-fallback.js.map +1 -1
  657. package/es-custom/components/markdown/src/utils/slot-names.d.ts +1 -0
  658. package/es-custom/components/markdown/src/utils/slot-names.js +83 -0
  659. package/es-custom/components/markdown/src/utils/slot-names.js.map +1 -0
  660. package/es-custom/components/markdown/src/utils/streaming-table.d.ts +1 -1
  661. package/es-custom/components/markdown/src/utils/streaming-table.js +6 -6
  662. package/es-custom/components/markdown/src/utils/table-helpers.d.ts +4 -4
  663. package/es-custom/components/markdown/src/utils/table-helpers.js +17 -18
  664. package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -1
  665. package/es-custom/components/processing/index.d.ts +1 -1
  666. package/es-custom/components/processing/src/processing.d.ts +2 -2
  667. package/es-custom/components/processing/src/processing.js +2 -2
  668. package/es-custom/components/prompt-line/autocomplete/index.d.ts +12 -0
  669. package/es-custom/components/prompt-line/autocomplete/index.js +9 -0
  670. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/index.js.map +1 -1
  671. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +175 -0
  672. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +494 -0
  673. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  674. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  675. package/es-custom/components/prompt-line/index.d.ts +18 -18
  676. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +28 -10
  677. package/es-custom/components/prompt-line/src/autocomplete-controller.js +162 -52
  678. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  679. package/es-custom/components/prompt-line/src/error-message.d.ts +3 -7
  680. package/es-custom/components/prompt-line/src/error-message.js +13 -23
  681. package/es-custom/components/prompt-line/src/error-message.js.map +1 -1
  682. package/es-custom/components/prompt-line/src/error-message.scss.js +1 -1
  683. package/es-custom/components/prompt-line/src/prompt-line-constants.js +1 -1
  684. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  685. package/es-custom/components/prompt-line/src/prompt-line-controller.js +83 -83
  686. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  687. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  688. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  689. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  690. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  691. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  692. package/es-custom/components/prompt-line/src/prompt-line-shell.js +11 -13
  693. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  694. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  695. package/es-custom/components/prompt-line/src/prompt-line.d.ts +5 -5
  696. package/es-custom/components/prompt-line/src/prompt-line.js +35 -35
  697. package/es-custom/components/prompt-line/src/prompt-line.js.map +1 -1
  698. package/es-custom/components/prompt-line/src/send-control.d.ts +4 -4
  699. package/es-custom/components/prompt-line/src/send-control.js +18 -20
  700. package/es-custom/components/prompt-line/src/send-control.js.map +1 -1
  701. package/es-custom/components/prompt-line/src/send-control.scss.js +1 -1
  702. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  703. package/es-custom/components/prompt-line/src/stop-streaming-button.js +7 -8
  704. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  705. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  706. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  707. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  708. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  709. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  710. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  711. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  712. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  713. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +24 -12
  714. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  715. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  716. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  717. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  718. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +24 -24
  719. package/es-custom/components/prompt-line/src/tiptap/index.js.map +1 -1
  720. package/es-custom/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  721. package/es-custom/components/prompt-line/src/tiptap/json-utils.js +17 -17
  722. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  723. package/es-custom/components/prompt-line/src/tiptap/keymap.js +3 -3
  724. package/es-custom/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  725. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  726. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  727. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  728. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  729. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  730. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  731. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  732. package/es-custom/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  733. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  734. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  735. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  736. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  737. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +46 -6
  738. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  739. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  740. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  741. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +2 -2
  742. package/es-custom/components/prompt-line/src/types.d.ts +2 -2
  743. package/es-custom/components/prompt-line/src/types.js.map +1 -1
  744. package/es-custom/components/reasoning-steps/index.d.ts +4 -4
  745. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  746. package/es-custom/components/reasoning-steps/src/reasoning-step.js +27 -31
  747. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  748. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  749. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  750. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  751. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  752. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +19 -20
  753. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  754. package/es-custom/components/shared/dynamic-css-var-sheet.js +7 -7
  755. package/es-custom/components/shared/media-utils/script-loader.js +1 -1
  756. package/es-custom/components/table/index.d.ts +3 -3
  757. package/es-custom/components/table/src/table-loader.d.ts +1 -1
  758. package/es-custom/components/table/src/table-loader.js +1 -1
  759. package/es-custom/components/table/src/table-pagination.template.d.ts +3 -3
  760. package/es-custom/components/table/src/table-pagination.template.js +4 -5
  761. package/es-custom/components/table/src/table-pagination.template.js.map +1 -1
  762. package/es-custom/components/table/src/table-runtime.d.ts +2 -2
  763. package/es-custom/components/table/src/table-skeleton.template.d.ts +1 -1
  764. package/es-custom/components/table/src/table-skeleton.template.js +2 -3
  765. package/es-custom/components/table/src/table-skeleton.template.js.map +1 -1
  766. package/es-custom/components/table/src/table.d.ts +3 -4
  767. package/es-custom/components/table/src/table.js +36 -39
  768. package/es-custom/components/table/src/table.js.map +1 -1
  769. package/es-custom/components/table/src/table.template.d.ts +5 -5
  770. package/es-custom/components/table/src/table.template.js +6 -9
  771. package/es-custom/components/table/src/table.template.js.map +1 -1
  772. package/es-custom/components/toolbar/index.d.ts +1 -1
  773. package/es-custom/components/toolbar/src/toolbar.d.ts +9 -7
  774. package/es-custom/components/toolbar/src/toolbar.js +52 -36
  775. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  776. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  777. package/es-custom/components/truncated-text/index.d.ts +1 -1
  778. package/es-custom/components/truncated-text/src/truncated-text.d.ts +5 -5
  779. package/es-custom/components/truncated-text/src/truncated-text.js +26 -28
  780. package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -1
  781. package/es-custom/components/truncated-text/src/truncated-text.scss.js +1 -1
  782. package/es-custom/components/video-player/index.d.ts +2 -2
  783. package/es-custom/components/video-player/src/providers/base-provider.d.ts +3 -3
  784. package/es-custom/components/video-player/src/providers/base-provider.js +5 -5
  785. package/es-custom/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  786. package/es-custom/components/video-player/src/providers/kaltura-provider.js +23 -23
  787. package/es-custom/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  788. package/es-custom/components/video-player/src/providers/native-video-provider.js +20 -20
  789. package/es-custom/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  790. package/es-custom/components/video-player/src/providers/vimeo-provider.js +23 -23
  791. package/es-custom/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  792. package/es-custom/components/video-player/src/providers/youtube-provider.js +15 -15
  793. package/es-custom/components/video-player/src/utils/url-detector.js +1 -1
  794. package/es-custom/components/video-player/src/video-player.d.ts +2 -2
  795. package/es-custom/components/video-player/src/video-player.js +37 -41
  796. package/es-custom/components/video-player/src/video-player.js.map +1 -1
  797. package/es-custom/components/workspace-shell/index.d.ts +4 -4
  798. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  799. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  800. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -2
  801. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  802. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  803. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  804. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  805. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +10 -13
  806. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  807. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  808. package/es-custom/components/workspace-shell/src/workspace-shell.js +3 -3
  809. package/es-custom/globals/decorators/carbon-element.d.ts +4 -4
  810. package/es-custom/globals/decorators/carbon-element.js +2 -2
  811. package/es-custom/globals/decorators/index.d.ts +1 -1
  812. package/es-custom/globals/scss/common.scss.js +1 -1
  813. package/es-custom/globals/settings.js +2 -2
  814. package/es-custom/globals/utils/aria-announcer-manager.d.ts +1 -1
  815. package/es-custom/globals/utils/aria-announcer-manager.js +6 -6
  816. package/es-custom/globals/utils/browser-utils.js +1 -1
  817. package/es-custom/globals/utils/csv.d.ts +8 -0
  818. package/es-custom/globals/utils/csv.js +37 -0
  819. package/es-custom/globals/utils/csv.js.map +1 -0
  820. package/es-custom/globals/utils/dom-utils.js +1 -1
  821. package/es-custom/globals/utils/focus-utils.js +4 -4
  822. package/es-custom/globals/utils/iconTransform.d.ts +2 -2
  823. package/es-custom/globals/utils/iconTransform.js +21 -21
  824. package/es-custom/globals/utils/rtl-utils.js +1 -1
  825. package/es-custom/globals/utils/uuid.js +5 -5
  826. package/es-custom/react/__tests__/jest.setup.js +12 -12
  827. package/es-custom/react/ai-label-action-button.d.ts +1 -1
  828. package/es-custom/react/ai-label-action-button.js +1 -1
  829. package/es-custom/react/audio-player.d.ts +1 -1
  830. package/es-custom/react/audio-player.js +5 -5
  831. package/es-custom/react/autocomplete.d.ts +1 -1
  832. package/es-custom/react/autocomplete.js +5 -5
  833. package/es-custom/react/card.d.ts +1 -1
  834. package/es-custom/react/card.js +5 -5
  835. package/es-custom/react/carousel.d.ts +1 -1
  836. package/es-custom/react/carousel.js +2 -2
  837. package/es-custom/react/chain-of-thought-step.d.ts +1 -1
  838. package/es-custom/react/chain-of-thought-step.js +4 -4
  839. package/es-custom/react/chain-of-thought-toggle.d.ts +2 -2
  840. package/es-custom/react/chain-of-thought-toggle.js +3 -3
  841. package/es-custom/react/chain-of-thought.d.ts +2 -2
  842. package/es-custom/react/chain-of-thought.js +4 -4
  843. package/es-custom/react/chat-button.d.ts +3 -3
  844. package/es-custom/react/chat-button.js +2 -2
  845. package/es-custom/react/chat-header.d.ts +3 -3
  846. package/es-custom/react/chat-header.js +2 -2
  847. package/es-custom/react/chat-shell.d.ts +2 -2
  848. package/es-custom/react/chat-shell.js +2 -2
  849. package/es-custom/react/code-snippet.d.ts +4 -4
  850. package/es-custom/react/code-snippet.js +3 -3
  851. package/es-custom/react/error-message.d.ts +1 -1
  852. package/es-custom/react/error-message.js +1 -1
  853. package/es-custom/react/feedback-buttons.d.ts +1 -1
  854. package/es-custom/react/feedback-buttons.js +3 -3
  855. package/es-custom/react/feedback.d.ts +2 -2
  856. package/es-custom/react/feedback.js +4 -4
  857. package/es-custom/react/file-upload-item.d.ts +11 -0
  858. package/es-custom/react/file-upload-item.js +31 -0
  859. package/es-custom/react/file-upload-item.js.map +1 -0
  860. package/es-custom/react/file-uploads.d.ts +1 -1
  861. package/es-custom/react/file-uploads.js +2 -2
  862. package/es-custom/react/history/history-content.d.ts +1 -1
  863. package/es-custom/react/history/history-content.js +1 -1
  864. package/es-custom/react/history/history-delete-panel.d.ts +1 -1
  865. package/es-custom/react/history/history-delete-panel.js +3 -3
  866. package/es-custom/react/history/history-header.d.ts +1 -1
  867. package/es-custom/react/history/history-header.js +2 -2
  868. package/es-custom/react/history/history-loading.d.ts +1 -1
  869. package/es-custom/react/history/history-loading.js +1 -1
  870. package/es-custom/react/history/history-panel-item-input.d.ts +1 -1
  871. package/es-custom/react/history/history-panel-item-input.js +4 -4
  872. package/es-custom/react/history/history-panel-item.d.ts +1 -1
  873. package/es-custom/react/history/history-panel-item.js +6 -6
  874. package/es-custom/react/history/history-panel-items.d.ts +1 -1
  875. package/es-custom/react/history/history-panel-items.js +1 -1
  876. package/es-custom/react/history/history-panel-menu.d.ts +1 -1
  877. package/es-custom/react/history/history-panel-menu.js +1 -1
  878. package/es-custom/react/history/history-panel.d.ts +1 -1
  879. package/es-custom/react/history/history-panel.js +1 -1
  880. package/es-custom/react/history/history-search-item.d.ts +1 -1
  881. package/es-custom/react/history/history-search-item.js +2 -2
  882. package/es-custom/react/history/history-shell.d.ts +1 -1
  883. package/es-custom/react/history/history-shell.js +1 -1
  884. package/es-custom/react/history/history-toolbar.d.ts +1 -1
  885. package/es-custom/react/history/history-toolbar.js +3 -3
  886. package/es-custom/react/history/index.d.ts +12 -12
  887. package/es-custom/react/hooks/useChatAutocomplete.d.ts +9 -4
  888. package/es-custom/react/hooks/useChatAutocomplete.js +50 -19
  889. package/es-custom/react/hooks/useChatAutocomplete.js.map +1 -1
  890. package/es-custom/react/input-send-control.d.ts +1 -1
  891. package/es-custom/react/input-send-control.js +3 -3
  892. package/es-custom/react/launcher.d.ts +11 -0
  893. package/es-custom/react/launcher.js +31 -0
  894. package/es-custom/react/launcher.js.map +1 -0
  895. package/es-custom/react/markdown.d.ts +7 -7
  896. package/es-custom/react/markdown.js +13 -13
  897. package/es-custom/react/markdown.js.map +1 -1
  898. package/es-custom/react/panel.d.ts +1 -1
  899. package/es-custom/react/panel.js +7 -7
  900. package/es-custom/react/processing.d.ts +1 -1
  901. package/es-custom/react/processing.js +2 -2
  902. package/es-custom/react/prompt-line-shell.d.ts +1 -1
  903. package/es-custom/react/prompt-line-shell.js +1 -1
  904. package/es-custom/react/prompt-line.d.ts +1 -1
  905. package/es-custom/react/prompt-line.js +9 -9
  906. package/es-custom/react/reasoning-step.d.ts +1 -1
  907. package/es-custom/react/reasoning-step.js +4 -4
  908. package/es-custom/react/reasoning-steps-toggle.d.ts +2 -2
  909. package/es-custom/react/reasoning-steps-toggle.js +3 -3
  910. package/es-custom/react/reasoning-steps.d.ts +1 -1
  911. package/es-custom/react/reasoning-steps.js +2 -2
  912. package/es-custom/react/stop-streaming-button.d.ts +1 -1
  913. package/es-custom/react/stop-streaming-button.js +1 -1
  914. package/es-custom/react/table.d.ts +2 -2
  915. package/es-custom/react/table.js +1 -1
  916. package/es-custom/react/tool-call-data.d.ts +1 -1
  917. package/es-custom/react/tool-call-data.js +2 -2
  918. package/es-custom/react/toolbar.d.ts +4 -4
  919. package/es-custom/react/toolbar.js +2 -2
  920. package/es-custom/react/transcript.d.ts +1 -1
  921. package/es-custom/react/transcript.js +3 -3
  922. package/es-custom/react/utils/transformSuggestionConfig.d.ts +3 -3
  923. package/es-custom/react/utils/transformSuggestionConfig.js +3 -3
  924. package/es-custom/react/utils/transformSuggestionConfig.js.map +1 -1
  925. package/es-custom/react/utils/withWebComponentBridge.d.ts +1 -1
  926. package/es-custom/react/utils/withWebComponentBridge.js +22 -22
  927. package/es-custom/react/video-player.d.ts +1 -1
  928. package/es-custom/react/video-player.js +5 -5
  929. package/es-custom/react/workspace-shell.d.ts +1 -1
  930. package/es-custom/react/workspace-shell.js +6 -6
  931. package/es-custom/testing/load-all-lazy-deps.d.ts +2 -2
  932. package/es-custom/testing/load-all-lazy-deps.js +1 -1
  933. package/es-custom/typings/overflow-menu.d.ts +2 -2
  934. package/package.json +4 -5
  935. package/scss/_custom-properties.scss +15 -15
  936. package/scss/_modifiers.scss +8 -8
  937. package/scss/_tokens-component.scss +1 -1
  938. package/scss/_tokens-layout.scss +1 -1
  939. package/scss/_utilities.scss +2 -2
  940. package/scss/common.scss +3 -3
  941. package/scss/grid.scss +2 -2
  942. package/scss/themes.scss +7 -7
  943. package/scss/vars.scss +3 -3
  944. package/telemetry.yml +64 -5
  945. package/es/components/autocomplete/index.d.ts +0 -15
  946. package/es/components/autocomplete/index.js +0 -11
  947. package/es/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  948. package/es/components/autocomplete/src/autocomplete-item-group.js +0 -139
  949. package/es/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  950. package/es/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  951. package/es/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  952. package/es/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  953. package/es/components/autocomplete/src/autocomplete-item.js +0 -197
  954. package/es/components/autocomplete/src/autocomplete-item.js.map +0 -1
  955. package/es/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  956. package/es/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  957. package/es/components/autocomplete/src/autocomplete.d.ts +0 -97
  958. package/es/components/autocomplete/src/autocomplete.js +0 -321
  959. package/es/components/autocomplete/src/autocomplete.js.map +0 -1
  960. package/es-custom/components/autocomplete/index.d.ts +0 -15
  961. package/es-custom/components/autocomplete/index.js +0 -11
  962. package/es-custom/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  963. package/es-custom/components/autocomplete/src/autocomplete-item-group.js +0 -139
  964. package/es-custom/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  965. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  966. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  967. package/es-custom/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  968. package/es-custom/components/autocomplete/src/autocomplete-item.js +0 -197
  969. package/es-custom/components/autocomplete/src/autocomplete-item.js.map +0 -1
  970. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  971. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  972. package/es-custom/components/autocomplete/src/autocomplete.d.ts +0 -97
  973. package/es-custom/components/autocomplete/src/autocomplete.js +0 -321
  974. package/es-custom/components/autocomplete/src/autocomplete.js.map +0 -1
  975. /package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
  976. /package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
@@ -11,6 +11,7 @@ import { property, state } from 'lit/decorators.js';
11
11
  import { carbonElement } from '../../../globals/decorators/carbon-element.js';
12
12
  import { tableSkeletonTemplate } from './table-skeleton.template.js';
13
13
  import { loadTableRuntime } from './table-loader.js';
14
+ import { stringifyCSV } from '../../../globals/utils/csv.js';
14
15
  import commonStyles from '../../../globals/scss/common.scss.js';
15
16
  import styles from './table.scss.js';
16
17
  import prefix from '../../../globals/settings.js';
@@ -47,27 +48,27 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
47
48
  /**
48
49
  * The text used for the filter placeholder.
49
50
  */
50
- this.filterPlaceholderText = "Filter table...";
51
+ this.filterPlaceholderText = 'Filter table...';
51
52
  /**
52
53
  * The text used for the pagination's previous button tooltip.
53
54
  */
54
- this.previousPageText = "Previous page";
55
+ this.previousPageText = 'Previous page';
55
56
  /**
56
57
  * The text used for the pagination's next button tooltip.
57
58
  */
58
- this.nextPageText = "Next page";
59
+ this.nextPageText = 'Next page';
59
60
  /**
60
61
  * The text used for the pagination's item pre page text.
61
62
  */
62
- this.itemsPerPageText = "Items per page:";
63
+ this.itemsPerPageText = 'Items per page:';
63
64
  /**
64
65
  * The text used for the download button's accessible label.
65
66
  */
66
- this.downloadLabelText = "Download table data";
67
+ this.downloadLabelText = 'Download table data';
67
68
  /**
68
69
  * The locale. Used by the carbon table component to change the collator for sorting.
69
70
  */
70
- this.locale = "en";
71
+ this.locale = 'en';
71
72
  /**
72
73
  * The calculated default page size based on component width.
73
74
  * 10 for width > PAGE_SIZE_WIDTH_THRESHOLD, 5 for width <= PAGE_SIZE_WIDTH_THRESHOLD.
@@ -231,7 +232,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
231
232
  * mutate rows/headers rapidly, so skip subsequent updates until loading ends.
232
233
  */
233
234
  shouldUpdate(changedProperties) {
234
- if (changedProperties.has("loading")) {
235
+ if (changedProperties.has('loading')) {
235
236
  if (this.loading) {
236
237
  this.hasRenderedLoadingFrame = false;
237
238
  }
@@ -279,20 +280,20 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
279
280
  // Calculate default page size on first render to ensure correct page size is set.
280
281
  // For streaming tables: happens when loading=true (before skeleton renders)
281
282
  // For non-streaming tables: happens when rows are first set
282
- if ((changedProperties.has("loading") && this.loading) ||
283
- (changedProperties.has("rows") &&
283
+ if ((changedProperties.has('loading') && this.loading) ||
284
+ (changedProperties.has('rows') &&
284
285
  this.rows !== undefined &&
285
286
  !this.loading)) {
286
287
  this._updateDefaultPageSize();
287
288
  }
288
- const loadingJustFinished = changedProperties.has("loading") &&
289
- changedProperties.get("loading") === true &&
289
+ const loadingJustFinished = changedProperties.has('loading') &&
290
+ changedProperties.get('loading') === true &&
290
291
  this.loading === false;
291
292
  // If the headers or rows has recently updated and both are defined than we should validate the table
292
293
  // data. This will likely only happen on the web components first render cycle when the props go from undefined to
293
294
  // defined.
294
- if ((changedProperties.has("headers") ||
295
- changedProperties.has("rows") ||
295
+ if ((changedProperties.has('headers') ||
296
+ changedProperties.has('rows') ||
296
297
  loadingJustFinished) &&
297
298
  !this.loading &&
298
299
  this.headers !== undefined &&
@@ -300,7 +301,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
300
301
  this._calcIsTableValid();
301
302
  }
302
303
  // If the value of tableRows updated then initialize the internal rows arrays.
303
- if ((changedProperties.has("rows") || loadingJustFinished) &&
304
+ if ((changedProperties.has('rows') || loadingJustFinished) &&
304
305
  !this.loading &&
305
306
  this.rows !== undefined) {
306
307
  this._initializeRowsArrays();
@@ -402,7 +403,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
402
403
  if (this.tableRuntime) {
403
404
  return this.tableRuntime;
404
405
  }
405
- if (typeof window === "undefined") {
406
+ if (typeof window === 'undefined') {
406
407
  return null;
407
408
  }
408
409
  if (!this.tableRuntimePromise) {
@@ -420,7 +421,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
420
421
  return runtime;
421
422
  }
422
423
  catch (error) {
423
- console.error("Failed to load table runtime", error);
424
+ console.error('Failed to load table runtime', error);
424
425
  this.tableRuntimePromise = null;
425
426
  return null;
426
427
  }
@@ -444,7 +445,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
444
445
  this._currentPageNumber = page;
445
446
  // Grab all the rows that have been rendered. It's necessary to grab them from the page because the cds-table puts
446
447
  // the rows in a specific order when sorting and we want to preserve that order.
447
- const rows = Array.from(this.renderRoot.querySelectorAll("cds-table-row"));
448
+ const rows = Array.from(this.renderRoot.querySelectorAll('cds-table-row'));
448
449
  // This is similar to the carbon example here https://stackblitz.com/edit/github-kbd9xw-s3y3s6?file=index.html. I
449
450
  // originally tried creating and passing an array of the specific rows the template should render for the current
450
451
  // page. Unfortunately doing that doesn't work with the combination of the is-sortable prop for the table and
@@ -455,7 +456,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
455
456
  // Hide all the rows to start. Using a data attribute (not inline style)
456
457
  // so a strict CSP can drop style-src-attr 'unsafe-inline'; the matching
457
458
  // rule lives in table.scss.
458
- rows.forEach((row) => row.toggleAttribute("data-hidden", true));
459
+ rows.forEach((row) => row.toggleAttribute('data-hidden', true));
459
460
  // Now filter the rows down to what is visible according to the filter.
460
461
  const filterVisibleRows = rows.filter((row) => this._filterVisibleRowIDs.has(row.id));
461
462
  // Now show all the rows that are within the current page.
@@ -464,7 +465,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
464
465
  for (let index = pageStart; index <= pageEnd; index++) {
465
466
  // If there is a row at that index then show it. If there aren't enough rows to fill the page then there won't be
466
467
  // a row at that index.
467
- filterVisibleRows[index]?.removeAttribute("data-hidden");
468
+ filterVisibleRows[index]?.removeAttribute('data-hidden');
468
469
  }
469
470
  }
470
471
  /**
@@ -475,8 +476,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
475
476
  * - Only exports as JSON (we want CSV format)
476
477
  * - Doesn't include all the data we need
477
478
  *
478
- * The method dynamically imports the CSV stringify library to avoid bundle bloat,
479
- * creates a data URL to comply with CSP policies, and triggers a download.
479
+ * The method creates a data URL to comply with CSP policies, and triggers a download.
480
480
  *
481
481
  * @public
482
482
  */
@@ -488,19 +488,16 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
488
488
  ...this.rows.map((row) => row.cells.map((cell) => cell.text)),
489
489
  ];
490
490
  try {
491
- // Lazy load the CSV stringify function only when needed
492
- const { stringify } = await import('csv-stringify/browser/esm/sync');
493
- // Convert table data to CSV format
494
- const csvContent = stringify(tableArray);
491
+ const csvContent = stringifyCSV(tableArray);
495
492
  // Use data URL instead of Blob to avoid CSP issues with object-src
496
493
  const dataUrl = `data:text/csv;charset=utf-8,${encodeURIComponent(csvContent)}`;
497
494
  // Create and trigger download using anchor element. The native `hidden`
498
495
  // attribute is used (not an inline style) so a strict CSP can drop
499
496
  // style-src-attr 'unsafe-inline'; the link is removed synchronously
500
497
  // after click() so no flash is observed.
501
- const link = document.createElement("a");
502
- link.setAttribute("href", dataUrl);
503
- link.setAttribute("download", "table-data.csv");
498
+ const link = document.createElement('a');
499
+ link.setAttribute('href', dataUrl);
500
+ link.setAttribute('download', 'table-data.csv');
504
501
  link.hidden = true;
505
502
  document.body.appendChild(link);
506
503
  // Trigger download and cleanup
@@ -508,7 +505,7 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
508
505
  document.body.removeChild(link);
509
506
  }
510
507
  catch (error) {
511
- console.error("Failed to download table data:", error);
508
+ console.error('Failed to download table data:', error);
512
509
  // Fallback: could show user notification or use alternative method
513
510
  }
514
511
  }
@@ -569,10 +566,10 @@ let CDSAIChatTable = class CDSAIChatTable extends LitElement {
569
566
  };
570
567
  CDSAIChatTable.styles = [commonStyles, styles];
571
568
  __decorate([
572
- property({ type: String, attribute: "table-title" })
569
+ property({ type: String, attribute: 'table-title' })
573
570
  ], CDSAIChatTable.prototype, "tableTitle", void 0);
574
571
  __decorate([
575
- property({ type: String, attribute: "table-description" })
572
+ property({ type: String, attribute: 'table-description' })
576
573
  ], CDSAIChatTable.prototype, "tableDescription", void 0);
577
574
  __decorate([
578
575
  property({ type: Array, attribute: false })
@@ -581,31 +578,31 @@ __decorate([
581
578
  property({ type: Array, attribute: false })
582
579
  ], CDSAIChatTable.prototype, "rows", void 0);
583
580
  __decorate([
584
- property({ type: Boolean, attribute: "loading" })
581
+ property({ type: Boolean, attribute: 'loading' })
585
582
  ], CDSAIChatTable.prototype, "loading", void 0);
586
583
  __decorate([
587
- property({ type: String, attribute: "filter-placeholder-text" })
584
+ property({ type: String, attribute: 'filter-placeholder-text' })
588
585
  ], CDSAIChatTable.prototype, "filterPlaceholderText", void 0);
589
586
  __decorate([
590
- property({ type: String, attribute: "previous-page-text" })
587
+ property({ type: String, attribute: 'previous-page-text' })
591
588
  ], CDSAIChatTable.prototype, "previousPageText", void 0);
592
589
  __decorate([
593
- property({ type: String, attribute: "next-page-text" })
590
+ property({ type: String, attribute: 'next-page-text' })
594
591
  ], CDSAIChatTable.prototype, "nextPageText", void 0);
595
592
  __decorate([
596
- property({ type: String, attribute: "items-per-page-text" })
593
+ property({ type: String, attribute: 'items-per-page-text' })
597
594
  ], CDSAIChatTable.prototype, "itemsPerPageText", void 0);
598
595
  __decorate([
599
- property({ type: String, attribute: "download-label-text" })
596
+ property({ type: String, attribute: 'download-label-text' })
600
597
  ], CDSAIChatTable.prototype, "downloadLabelText", void 0);
601
598
  __decorate([
602
- property({ type: String, attribute: "locale" })
599
+ property({ type: String, attribute: 'locale' })
603
600
  ], CDSAIChatTable.prototype, "locale", void 0);
604
601
  __decorate([
605
602
  state()
606
603
  ], CDSAIChatTable.prototype, "_defaultPageSize", void 0);
607
604
  __decorate([
608
- property({ type: Number, attribute: "default-page-size" })
605
+ property({ type: Number, attribute: 'default-page-size' })
609
606
  ], CDSAIChatTable.prototype, "defaultPageSize", null);
610
607
  __decorate([
611
608
  property({ type: Function, attribute: false })
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sources":["../../../../src/components/table/src/table.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAwCH;AACA,MAAM,yBAAyB,GAAG,GAAG;AAErC;;;AAGG;AAEH,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU,CAAA;AAAvC,IAAA,WAAA,GAAA;;AAaE;;AAEG;QAEH,IAAA,CAAA,OAAO,GAAuB,EAAE;AAEhC;;AAEG;QAEH,IAAA,CAAA,IAAI,GAAsB,EAAE;AAE5B;;AAEG;QAEH,IAAA,CAAA,OAAO,GAAG,KAAK;AAEf;;AAEG;QAEH,IAAA,CAAA,qBAAqB,GAAG,iBAAiB;AAEzC;;AAEG;QAEH,IAAA,CAAA,gBAAgB,GAAG,eAAe;AAElC;;AAEG;QAEH,IAAA,CAAA,YAAY,GAAG,WAAW;AAE1B;;AAEG;QAEH,IAAA,CAAA,gBAAgB,GAAG,iBAAiB;AAEpC;;AAEG;QAEH,IAAA,CAAA,iBAAiB,GAAG,qBAAqB;AAEzC;;AAEG;QAEH,IAAA,CAAA,MAAM,GAAG,IAAI;AAEb;;;;;AAKG;Q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AAA,EAAA,iBAAA,EAAA,MAAA,CAAA;AAlL1B,cAAc,GAAA,UAAA,CAAA;AADnB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAQ;AAC1B,CAAA,EAAA,cAAc,CAqpBnB;AASD,uBAAe,cAAc;;;;"}
@@ -1,8 +1,8 @@
1
- import "@carbon/web-components/es/components/data-table/index.js";
2
- import "@carbon/web-components/es/components/checkbox/index.js";
3
- import "@carbon/web-components/es/components/icon-button/index.js";
4
- import "@carbon/web-components/es/components/layer/index.js";
5
- import type { CDSAIChatTable } from "./table.js";
1
+ import '@carbon/web-components/es/components/data-table/index.js';
2
+ import '@carbon/web-components/es/components/checkbox/index.js';
3
+ import '@carbon/web-components/es/components/icon-button/index.js';
4
+ import '@carbon/web-components/es/components/layer/index.js';
5
+ import type { CDSAIChatTable } from './table.js';
6
6
  /**
7
7
  * Table view logic.
8
8
  */
@@ -31,22 +31,20 @@ function tableTemplate(tableElement) {
31
31
  function toolbarElement() {
32
32
  // Check if RTL direction is set
33
33
  const isRTL = isDirectionRTL();
34
- const tooltipPosition = isRTL ? "right-start" : "left-start";
34
+ const tooltipPosition = isRTL ? 'right-start' : 'left-start';
35
35
  return html `<cds-table-toolbar slot="toolbar">
36
36
  <cds-table-toolbar-content>
37
37
  ${allowTableFiltering
38
38
  ? html `<cds-table-toolbar-search
39
39
  persistent
40
40
  placeholder=${filterPlaceholderText}
41
- aria-label=${filterPlaceholderText}
42
- ></cds-table-toolbar-search>`
43
- : ""}
41
+ aria-label=${filterPlaceholderText}></cds-table-toolbar-search>`
42
+ : ''}
44
43
  <cds-icon-button
45
44
  @click=${handleDownload}
46
45
  align=${tooltipPosition}
47
- kind="ghost"
48
- >
49
- ${iconLoader(Download16, { slot: "icon" })}
46
+ kind="ghost">
47
+ ${iconLoader(Download16, { slot: 'icon' })}
50
48
  <span slot="tooltip-content">${downloadLabelText}</span>
51
49
  </cds-icon-button>
52
50
  </cds-table-toolbar-content>
@@ -81,8 +79,7 @@ function tableTemplate(tableElement) {
81
79
  locale=${locale}
82
80
  is-sortable
83
81
  use-zebra-styles
84
- @cds-table-filtered=${handleFilterEvent}
85
- >
82
+ @cds-table-filtered=${handleFilterEvent}>
86
83
  ${tableTitle &&
87
84
  html `<cds-table-header-title slot="title"
88
85
  >${tableTitle}</cds-table-header-title
@@ -1 +1 @@
1
- {"version":3,"file":"table.template.js","sources":["../../../../src/components/table/src/table.template.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAeH;;AAEG;AACH,SAAS,aAAa,CAAC,YAA4B,EAAA;AACjD,IAAA,MAAM,EACJ,UAAU,EACV,gBAAgB,EAChB,OAAO,EACP,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,EACN,eAAe,EAAE,cAAc,EAC/B,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,mBAAmB,EACpC,kBAAkB,EAAE,iBAAiB,GACtC,GAAG,YAAY;AAEhB,IAAA,SAAS,cAAc,GAAA;;AAErB,QAAA,MAAM,KAAK,GAAG,cAAc,EAAE;QAC9B,MAAM,eAAe,GAAG,KAAK,GAAG,aAAa,GAAG,YAAY;AAE5D,QAAA,OAAO,IAAI,CAAA,CAAA;;UAGL;cACI,IAAI,CAAA,CAAA;;8BAEY,qBAAqB;6BACtB,qBAAqB;AACP,0CAAA;AAC/B,cAAE,EACN;;mBAEW,cAAc;kBACf,eAAe;;;YAGrB,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yCACX,iBAAiB,CAAA;;;yBAGjC;IACvB;AAEA,IAAA,SAAS,cAAc,GAAA;AACrB,QAAA,OAAO,IAAI,CAAA,CAAA;;UAEL,OAAO,CAAC,GAAG,CACX,CAAC,MAAM,KACL,IAAI,CAAA,CAAA;AACC,eAAA,EAAA,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAA;cACjC,CACL;;sBAEa;IACpB;AAEA,IAAA,SAAS,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAA,CAAA;QACP,MAAM,CACN,gBAAgB,EAChB,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,EACf,CAAC,GAAG,KACF,IAAI,CAAA,CAAA,kBAAA,EAAqB,GAAG,CAAC,EAAE;eAC1B,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;AACxB,YAAA,OAAO,IAAI,CAAA,CAAA;AACN,iBAAA,EAAA,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAA;gBAC7B;AACJ,QAAA,CAAC,CAAC,CAAA;YACF,CACL;sBACe;IACpB;;;;;AAOA,IAAA,OAAO,IAAI,CAAA,CAAA;;aAEA,MAAM;;;0BAGO,iBAAiB;;MAGrC,UAAU;AACV,QAAA,IAAI,CAAA,CAAA;WACC,UAAU,CAAA;AAEjB,OAAA,CAAA;MAEE,gBAAgB;AAChB,QAAA,IAAI,CAAA,CAAA;WACC,gBAAgB,CAAA;AAEvB,OAAA,CAAA;AACE,IAAA,EAAA,cAAc,EAAE,CAAA,CAAA,EAAI,cAAc,EAAE,CAAA,CAAA,EAAI,WAAW,EAAE;eAC5C;AACf;;;;"}
1
+ {"version":3,"file":"table.template.js","sources":["../../../../src/components/table/src/table.template.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAeH;;AAEG;AACH,SAAS,aAAa,CAAC,YAA4B,EAAA;AACjD,IAAA,MAAM,EACJ,UAAU,EACV,gBAAgB,EAChB,OAAO,EACP,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,EACN,eAAe,EAAE,cAAc,EAC/B,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,mBAAmB,EACpC,kBAAkB,EAAE,iBAAiB,GACtC,GAAG,YAAY;AAEhB,IAAA,SAAS,cAAc,GAAA;;AAErB,QAAA,MAAM,KAAK,GAAG,cAAc,EAAE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AAA,cAAc,EAAE,CAAA,CAAA,EAAI,cAAc,EAAE,CAAA,CAAA,EAAI,WAAW,EAAE;eAC5C;AACf;;;;"}
@@ -1 +1 @@
1
- import "./src/toolbar";
1
+ import './src/toolbar';
@@ -1,10 +1,10 @@
1
- import { LitElement } from "lit";
2
- import "@carbon/web-components/es/components/button/index.js";
3
- import "@carbon/web-components/es/components/overflow-menu/index.js";
4
- import { CarbonIcon } from "@carbon/web-components/es/globals/internal/icon-loader-utils.js";
5
- import "../../truncated-text/index.js";
6
- import { BaseOverflowMenuItem } from "../../../typings/overflow-menu.js";
7
- import { BUTTON_SIZE } from "@carbon/web-components/es/components/button/defs.js";
1
+ import { LitElement } from 'lit';
2
+ import '@carbon/web-components/es/components/button/index.js';
3
+ import '@carbon/web-components/es/components/overflow-menu/index.js';
4
+ import { CarbonIcon } from '@carbon/web-components/es/globals/internal/icon-loader-utils.js';
5
+ import '../../truncated-text/index.js';
6
+ import { BaseOverflowMenuItem } from '../../../typings/overflow-menu.js';
7
+ import { BUTTON_SIZE } from '@carbon/web-components/es/components/button/defs.js';
8
8
  /**
9
9
  * Actions that display in the toolbar.
10
10
  * Extends BaseOverflowMenuItem to support all overflow menu item properties
@@ -46,6 +46,8 @@ declare class CDSAIChatToolbar extends LitElement {
46
46
  titleText?: string;
47
47
  nameText?: string;
48
48
  private actionsContainer;
49
+ private decoratorContainer;
50
+ private fixedActions;
49
51
  private containerWidth;
50
52
  private resizeObserver?;
51
53
  private static readonly OVERFLOW_MENU_LABEL;
@@ -55,7 +55,7 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
55
55
  this.overflow = false;
56
56
  this.containerWidth = 0;
57
57
  this._handleToolbarKeydown = (event) => {
58
- if (event.key !== "ArrowUp" && event.key !== "ArrowDown") {
58
+ if (event.key !== 'ArrowUp' && event.key !== 'ArrowDown') {
59
59
  return;
60
60
  }
61
61
  let focusedMenuItem = null;
@@ -64,16 +64,16 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
64
64
  }
65
65
  if (focusedMenuItem) {
66
66
  event.preventDefault();
67
- const menuBody = focusedMenuItem.closest("cds-overflow-menu-body");
67
+ const menuBody = focusedMenuItem.closest('cds-overflow-menu-body');
68
68
  if (!menuBody) {
69
69
  return;
70
70
  }
71
- const items = Array.from(menuBody.querySelectorAll("cds-overflow-menu-item:not([disabled])"));
71
+ const items = Array.from(menuBody.querySelectorAll('cds-overflow-menu-item:not([disabled])'));
72
72
  const currentIndex = items.indexOf(focusedMenuItem);
73
73
  if (currentIndex === -1) {
74
74
  return;
75
75
  }
76
- const direction = event.key === "ArrowDown" ? 1 : -1;
76
+ const direction = event.key === 'ArrowDown' ? 1 : -1;
77
77
  const nextIndex = (currentIndex + direction + items.length) % items.length;
78
78
  items[nextIndex]?.focus();
79
79
  }
@@ -85,23 +85,22 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
85
85
  * - divider: Only applicable in menu context
86
86
  */
87
87
  this.renderIconButton = (action) => {
88
- const tooltipAlign = this.isRTL ? "bottom-start" : "bottom-end";
88
+ const tooltipAlign = this.isRTL ? 'bottom-start' : 'bottom-end';
89
89
  return html `
90
90
  <cds-icon-button
91
91
  ?data-fixed=${action.fixed}
92
92
  data-testid=${action.testId || nothing}
93
93
  @click=${action.onClick}
94
94
  href=${action.href || nothing}
95
- target=${action.href ? action.target || "_self" : nothing}
95
+ target=${action.href ? action.target || '_self' : nothing}
96
96
  size=${action.size || BUTTON_SIZE.MEDIUM}
97
97
  align=${tooltipAlign}
98
98
  kind="ghost"
99
99
  enter-delay-ms="0"
100
100
  leave-delay-ms="0"
101
- ?disabled=${action.disabled}
102
- >
101
+ ?disabled=${action.disabled}>
103
102
  ${iconLoader(action.icon, {
104
- slot: "icon",
103
+ slot: 'icon',
105
104
  })}
106
105
  <span slot="tooltip-content">${action.text}</span>
107
106
  </cds-icon-button>
@@ -110,12 +109,12 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
110
109
  }
111
110
  connectedCallback() {
112
111
  super.connectedCallback();
113
- this.addEventListener("keydown", this._handleToolbarKeydown);
112
+ this.addEventListener('keydown', this._handleToolbarKeydown);
114
113
  }
115
114
  disconnectedCallback() {
116
115
  this.resizeObserver?.disconnect();
117
116
  this.resizeObserver = undefined;
118
- this.removeEventListener("keydown", this._handleToolbarKeydown);
117
+ this.removeEventListener('keydown', this._handleToolbarKeydown);
119
118
  super.disconnectedCallback();
120
119
  }
121
120
  firstUpdated() {
@@ -151,7 +150,18 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
151
150
  hiddenActions: [],
152
151
  };
153
152
  }
154
- const containerWidth = this.actionsContainer.getBoundingClientRect().width - 40; // subtract 40 to account for size of overflow menu button
153
+ const actionsContainerWidth = this.actionsContainer.getBoundingClientRect().width;
154
+ const overflowMenuIconWidth = 40;
155
+ const fixedActionsWidth = this.fixedActions.getBoundingClientRect().width || 0;
156
+ const decoratorContainerWidth = this.decoratorContainer.getBoundingClientRect().width || 0;
157
+ /**
158
+ * to properly gauge the container width we need to account for some additional variables
159
+ * 1. the size of the overflow menu icon, which should always be a constant
160
+ * 2. the size of any optional fixed width items
161
+ * 3. the size of any optional decorator items
162
+ */
163
+ const containerWidth = actionsContainerWidth -
164
+ (overflowMenuIconWidth + fixedActionsWidth + decoratorContainerWidth);
155
165
  const children = this.actionsContainer.children;
156
166
  let currentWidth = 0;
157
167
  const visibleChildren = [];
@@ -177,7 +187,7 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
177
187
  * Returns the focused overflow menu item (if exists) by traversing shadow DOM
178
188
  */
179
189
  findFocusedOverflowMenuItem(activeElem) {
180
- if (activeElem.tagName.toLowerCase() === "cds-overflow-menu-item") {
190
+ if (activeElem.tagName.toLowerCase() === 'cds-overflow-menu-item') {
181
191
  return activeElem;
182
192
  }
183
193
  if (activeElem?.shadowRoot?.activeElement) {
@@ -190,9 +200,13 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
190
200
  OVERFLOW_MENU_SIZE.MEDIUM);
191
201
  }
192
202
  render() {
193
- const { hiddenActions, visibleActions } = this.getActions();
194
- const showOverflowMenu = hiddenActions.length > 0;
195
- const showInitialActions = visibleActions.length === 0 && hiddenActions.length === 0;
203
+ const { hiddenActions: rawHiddenActions, visibleActions: rawVisibleActions, } = this.getActions();
204
+ const showOverflowMenu = rawHiddenActions.length > 1;
205
+ const visibleActions = showOverflowMenu
206
+ ? rawVisibleActions
207
+ : [...rawVisibleActions, ...rawHiddenActions];
208
+ const hiddenActions = showOverflowMenu ? rawHiddenActions : [];
209
+ const showInitialActions = rawVisibleActions.length === 0 && rawHiddenActions.length === 0;
196
210
  return html `
197
211
  <div data-rounded="top" class=${blockClass}>
198
212
  <div data-fixed class="${blockClass}__start">
@@ -207,11 +221,10 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
207
221
  <cds-aichat-truncated-text
208
222
  lines="1"
209
223
  type="tooltip"
210
- align=${this.isRTL ? "bottom-end" : "bottom-start"}
224
+ align=${this.isRTL ? 'bottom-end' : 'bottom-start'}
211
225
  value="${[this.titleText, this.nameText]
212
226
  .filter(Boolean)
213
- .join(" ")}"
214
- >
227
+ .join(' ')}">
215
228
  ${this.titleText
216
229
  ? html `<span
217
230
  data-testid=${PageObjectId.HEADER_TITLE}
@@ -235,25 +248,26 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
235
248
  <div
236
249
  class="${blockClass}__end"
237
250
  data-rounded="top-right"
238
- data-floating-menu-container
239
- >
251
+ data-floating-menu-container>
240
252
  <div class="${blockClass}__actions-container">
253
+ <div class="${blockClass}__decorator-container">
254
+ <slot name="decorator"></slot>
255
+ </div>
241
256
  ${repeat(showInitialActions ? this.actions : visibleActions, (action) => action.text, this.renderIconButton)}
242
257
  ${showOverflowMenu
243
258
  ? html `
244
259
  <cds-overflow-menu
245
260
  size=${this.getOverflowMenuSize()}
246
- align=${this.isRTL ? "bottom-start" : "bottom-end"}
261
+ align=${this.isRTL ? 'bottom-start' : 'bottom-end'}
247
262
  data-offset
248
263
  ?data-hidden=${hiddenActions.length === 0}
249
264
  kind="ghost"
250
265
  close-on-activation
251
266
  enter-delay-ms="0"
252
- leave-delay-ms="0"
253
- >
267
+ leave-delay-ms="0">
254
268
  ${iconLoader(OverflowMenuVertical16, {
255
269
  class: `${blockClass}-overflow-icon`,
256
- slot: "icon",
270
+ slot: 'icon',
257
271
  })}
258
272
  <span slot="tooltip-content"
259
273
  >${CDSAIChatToolbar_1.OVERFLOW_MENU_LABEL}</span
@@ -263,13 +277,12 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
263
277
  <cds-overflow-menu-item
264
278
  @click=${item.onClick}
265
279
  href=${item.href || nothing}
266
- target=${item.href ? item.target || "_self" : nothing}
280
+ target=${item.href ? item.target || '_self' : nothing}
267
281
  ?disabled=${item.disabled}
268
282
  ?danger=${item.danger}
269
283
  danger-description=${item.dangerDescription || nothing}
270
284
  ?divider=${item.divider}
271
- data-testid=${item.testId || nothing}
272
- >
285
+ data-testid=${item.testId || nothing}>
273
286
  ${item.text}
274
287
  </cds-overflow-menu-item>
275
288
  `)}
@@ -277,19 +290,16 @@ let CDSAIChatToolbar = CDSAIChatToolbar_1 = class CDSAIChatToolbar extends LitEl
277
290
  </cds-overflow-menu>
278
291
  `
279
292
  : nothing}
280
- </div>
281
- <div data-fixed class="${blockClass}__fixed-actions">
282
- <slot name="fixed-actions"></slot>
283
- </div>
284
- <div class="${blockClass}__decorator-container">
285
- <slot name="decorator"></slot>
293
+ <div data-fixed class="${blockClass}__fixed-actions">
294
+ <slot name="fixed-actions"></slot>
295
+ </div>
286
296
  </div>
287
297
  </div>
288
298
  </div>
289
299
  `;
290
300
  }
291
301
  };
292
- CDSAIChatToolbar.OVERFLOW_MENU_LABEL = "Options";
302
+ CDSAIChatToolbar.OVERFLOW_MENU_LABEL = 'Options';
293
303
  CDSAIChatToolbar.styles = [commonStyles, styles];
294
304
  __decorate([
295
305
  state()
@@ -298,7 +308,7 @@ __decorate([
298
308
  property({ type: Array, attribute: false, reflect: false })
299
309
  ], CDSAIChatToolbar.prototype, "actions", void 0);
300
310
  __decorate([
301
- property({ type: Boolean, attribute: "overflow", reflect: true })
311
+ property({ type: Boolean, attribute: 'overflow', reflect: true })
302
312
  ], CDSAIChatToolbar.prototype, "overflow", void 0);
303
313
  __decorate([
304
314
  property({ type: String })
@@ -312,6 +322,12 @@ __decorate([
312
322
  __decorate([
313
323
  query(`.${blockClass}__actions-container`)
314
324
  ], CDSAIChatToolbar.prototype, "actionsContainer", void 0);
325
+ __decorate([
326
+ query(`.${blockClass}__decorator-container`)
327
+ ], CDSAIChatToolbar.prototype, "decoratorContainer", void 0);
328
+ __decorate([
329
+ query(`.${blockClass}__fixed-actions`)
330
+ ], CDSAIChatToolbar.prototype, "fixedActions", void 0);
315
331
  __decorate([
316
332
  state()
317
333
  ], CDSAIChatToolbar.prototype, "containerWidth", void 0);