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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (966) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -5
  3. package/custom-elements.json +3838 -3356
  4. package/es/components/audio-player/index.d.ts +4 -4
  5. package/es/components/audio-player/src/audio-player.d.ts +1 -1
  6. package/es/components/audio-player/src/audio-player.js +33 -38
  7. package/es/components/audio-player/src/audio-player.js.map +1 -1
  8. package/es/components/audio-player/src/providers/base-provider.d.ts +2 -2
  9. package/es/components/audio-player/src/providers/base-provider.js +9 -9
  10. package/es/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
  11. package/es/components/audio-player/src/providers/native-audio-provider.js +18 -18
  12. package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
  13. package/es/components/audio-player/src/providers/soundcloud-provider.js +14 -14
  14. package/es/components/audio-player/src/transcript.d.ts +2 -2
  15. package/es/components/audio-player/src/transcript.js +13 -16
  16. package/es/components/audio-player/src/transcript.js.map +1 -1
  17. package/es/components/audio-player/src/utils/url-detector.js +1 -1
  18. package/es/components/card/index.d.ts +4 -4
  19. package/es/components/card/src/card-footer.d.ts +5 -5
  20. package/es/components/card/src/card-footer.js +12 -16
  21. package/es/components/card/src/card-footer.js.map +1 -1
  22. package/es/components/card/src/card-footer.scss.js +1 -1
  23. package/es/components/card/src/card-steps.d.ts +4 -4
  24. package/es/components/card/src/card-steps.js +3 -5
  25. package/es/components/card/src/card-steps.js.map +1 -1
  26. package/es/components/card/src/card-steps.scss.js +1 -1
  27. package/es/components/card/src/card.d.ts +2 -2
  28. package/es/components/card/src/card.js +3 -3
  29. package/es/components/card/src/card.scss.js +1 -1
  30. package/es/components/carousel/index.d.ts +1 -1
  31. package/es/components/carousel/src/carousel.d.ts +2 -2
  32. package/es/components/carousel/src/carousel.js +4 -6
  33. package/es/components/carousel/src/carousel.js.map +1 -1
  34. package/es/components/carousel/src/carousel.scss.js +1 -1
  35. package/es/components/chain-of-thought/defs.js +1 -1
  36. package/es/components/chain-of-thought/index.d.ts +10 -10
  37. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
  38. package/es/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
  39. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  40. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
  41. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
  42. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  43. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
  44. package/es/components/chain-of-thought/src/chain-of-thought.js +16 -17
  45. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  46. package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
  47. package/es/components/chain-of-thought/src/tool-call-data.js +17 -23
  48. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  49. package/es/components/chat-button/defs.d.ts +1 -1
  50. package/es/components/chat-button/defs.js +1 -1
  51. package/es/components/chat-button/index.d.ts +2 -2
  52. package/es/components/chat-button/src/chat-button.d.ts +5 -5
  53. package/es/components/chat-button/src/chat-button.js +6 -6
  54. package/es/components/chat-button/src/chat-button.scss.js +1 -1
  55. package/es/components/chat-history/index.d.ts +11 -11
  56. package/es/components/chat-history/src/history-content.d.ts +1 -1
  57. package/es/components/chat-history/src/history-content.js +6 -6
  58. package/es/components/chat-history/src/history-delete-panel.d.ts +2 -2
  59. package/es/components/chat-history/src/history-delete-panel.js +11 -11
  60. package/es/components/chat-history/src/history-header.d.ts +2 -2
  61. package/es/components/chat-history/src/history-header.js +9 -10
  62. package/es/components/chat-history/src/history-header.js.map +1 -1
  63. package/es/components/chat-history/src/history-loading.d.ts +2 -2
  64. package/es/components/chat-history/src/history-loading.js +1 -1
  65. package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -2
  66. package/es/components/chat-history/src/history-panel-item-input.js +21 -22
  67. package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
  68. package/es/components/chat-history/src/history-panel-item.d.ts +5 -5
  69. package/es/components/chat-history/src/history-panel-item.js +39 -41
  70. package/es/components/chat-history/src/history-panel-item.js.map +1 -1
  71. package/es/components/chat-history/src/history-panel-items.d.ts +1 -1
  72. package/es/components/chat-history/src/history-panel-items.js +1 -1
  73. package/es/components/chat-history/src/history-panel-menu.d.ts +1 -1
  74. package/es/components/chat-history/src/history-panel.d.ts +1 -1
  75. package/es/components/chat-history/src/history-panel.js +3 -3
  76. package/es/components/chat-history/src/history-search-item.d.ts +1 -1
  77. package/es/components/chat-history/src/history-search-item.js +4 -4
  78. package/es/components/chat-history/src/history-shell.d.ts +1 -1
  79. package/es/components/chat-history/src/history-shell.js +3 -3
  80. package/es/components/chat-history/src/history-toolbar.d.ts +9 -5
  81. package/es/components/chat-history/src/history-toolbar.js +13 -10
  82. package/es/components/chat-history/src/history-toolbar.js.map +1 -1
  83. package/es/components/chat-shell/index.d.ts +5 -5
  84. package/es/components/chat-shell/src/chat-header.d.ts +8 -8
  85. package/es/components/chat-shell/src/chat-header.js +37 -44
  86. package/es/components/chat-shell/src/chat-header.js.map +1 -1
  87. package/es/components/chat-shell/src/corner-manager.d.ts +1 -1
  88. package/es/components/chat-shell/src/corner-manager.js +30 -30
  89. package/es/components/chat-shell/src/initialization-manager.d.ts +1 -1
  90. package/es/components/chat-shell/src/panel-manager.d.ts +1 -1
  91. package/es/components/chat-shell/src/panel-manager.js +12 -12
  92. package/es/components/chat-shell/src/panel.d.ts +2 -2
  93. package/es/components/chat-shell/src/panel.js +99 -100
  94. package/es/components/chat-shell/src/panel.js.map +1 -1
  95. package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
  96. package/es/components/chat-shell/src/resize-observer-manager.js +10 -10
  97. package/es/components/chat-shell/src/shell.d.ts +8 -8
  98. package/es/components/chat-shell/src/shell.js +128 -135
  99. package/es/components/chat-shell/src/shell.js.map +1 -1
  100. package/es/components/chat-shell/src/slot-observer.d.ts +1 -1
  101. package/es/components/chat-shell/src/slot-observer.js +4 -7
  102. package/es/components/chat-shell/src/slot-observer.js.map +1 -1
  103. package/es/components/chat-shell/src/types.d.ts +4 -4
  104. package/es/components/chat-shell/src/workspace-manager-utils.js +4 -4
  105. package/es/components/chat-shell/src/workspace-manager.d.ts +1 -1
  106. package/es/components/chat-shell/src/workspace-manager.js +32 -32
  107. package/es/components/code-snippet/index.d.ts +4 -4
  108. package/es/components/code-snippet/src/code-snippet.d.ts +8 -8
  109. package/es/components/code-snippet/src/code-snippet.js +87 -93
  110. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  111. package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
  112. package/es/components/code-snippet/src/codemirror/base-setup.js +1 -1
  113. package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
  114. package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
  115. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
  116. package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
  117. package/es/components/code-snippet/src/codemirror/content-sync.js +2 -2
  118. package/es/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
  119. package/es/components/code-snippet/src/codemirror/detect-language.js +77 -0
  120. package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
  121. package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
  122. package/es/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
  123. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
  124. package/es/components/code-snippet/src/codemirror/editor-manager.js +4 -4
  125. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
  126. package/es/components/code-snippet/src/codemirror/language-controller.js +3 -3
  127. package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
  128. package/es/components/code-snippet/src/codemirror/language-data.js +299 -299
  129. package/es/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
  130. package/es/components/code-snippet/src/codemirror/language-utils.js +60 -66
  131. package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  132. package/es/components/code-snippet/src/codemirror/marker-utils.js +15 -15
  133. package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -1
  134. package/es/components/code-snippet/src/codemirror/theme.js +163 -163
  135. package/es/components/code-snippet/src/dom-utils.js +6 -6
  136. package/es/components/code-snippet/src/layout-utils.d.ts +2 -2
  137. package/es/components/code-snippet/src/layout-utils.js +9 -9
  138. package/es/components/code-snippet/src/streaming-manager.js +5 -5
  139. package/es/components/feedback/index.d.ts +4 -4
  140. package/es/components/feedback/src/feedback-buttons.d.ts +3 -3
  141. package/es/components/feedback/src/feedback-buttons.js +17 -19
  142. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  143. package/es/components/feedback/src/feedback.d.ts +9 -9
  144. package/es/components/feedback/src/feedback.js +38 -45
  145. package/es/components/feedback/src/feedback.js.map +1 -1
  146. package/es/components/file-uploads/index.d.ts +5 -4
  147. package/es/components/file-uploads/src/file-type-icon.d.ts +18 -0
  148. package/es/components/file-uploads/src/file-type-icon.js +87 -0
  149. package/es/components/file-uploads/src/file-type-icon.js.map +1 -0
  150. package/es/components/file-uploads/src/file-upload-item.d.ts +69 -8
  151. package/es/components/file-uploads/src/file-upload-item.js +210 -111
  152. package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
  153. package/es/components/file-uploads/src/file-uploads.d.ts +8 -4
  154. package/es/components/file-uploads/src/file-uploads.js +54 -29
  155. package/es/components/file-uploads/src/file-uploads.js.map +1 -1
  156. package/es/components/file-uploads/src/file-uploads.scss.js +1 -1
  157. package/es/components/file-uploads/src/types.d.ts +39 -0
  158. package/es/components/file-uploads/src/types.js +8 -0
  159. package/es/components/file-uploads/src/types.js.map +1 -0
  160. package/es/components/launcher/index.d.ts +9 -0
  161. package/es/components/launcher/index.js +9 -0
  162. package/es/components/launcher/index.js.map +1 -0
  163. package/es/components/launcher/src/launcher.d.ts +68 -0
  164. package/es/components/launcher/src/launcher.js +152 -0
  165. package/es/components/launcher/src/launcher.js.map +1 -0
  166. package/es/components/launcher/src/launcher.scss.js +13 -0
  167. package/es/components/launcher/src/launcher.scss.js.map +1 -0
  168. package/es/components/markdown/index.d.ts +5 -5
  169. package/es/components/markdown/src/markdown-renderer-types.d.ts +10 -3
  170. package/es/components/markdown/src/markdown-renderer.d.ts +9 -9
  171. package/es/components/markdown/src/markdown-renderer.js +85 -80
  172. package/es/components/markdown/src/markdown-renderer.js.map +1 -1
  173. package/es/components/markdown/src/markdown-token-tree.d.ts +1 -1
  174. package/es/components/markdown/src/markdown-token-tree.js +20 -20
  175. package/es/components/markdown/src/markdown.d.ts +4 -7
  176. package/es/components/markdown/src/markdown.js +96 -82
  177. package/es/components/markdown/src/markdown.js.map +1 -1
  178. package/es/components/markdown/src/markdown.template.js +1 -1
  179. package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
  180. package/es/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
  181. package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
  182. package/es/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
  183. package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
  184. package/es/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
  185. package/es/components/markdown/src/utils/html-helpers.d.ts +1 -1
  186. package/es/components/markdown/src/utils/html-helpers.js +72 -72
  187. package/es/components/markdown/src/utils/lit-directives.d.ts +2 -2
  188. package/es/components/markdown/src/utils/lit-directives.js +5 -5
  189. package/es/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
  190. package/es/components/markdown/src/utils/plugin-fallback.js +61 -61
  191. package/es/components/markdown/src/utils/streaming-table.d.ts +1 -1
  192. package/es/components/markdown/src/utils/streaming-table.js +6 -6
  193. package/es/components/markdown/src/utils/table-helpers.d.ts +4 -4
  194. package/es/components/markdown/src/utils/table-helpers.js +17 -18
  195. package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
  196. package/es/components/processing/index.d.ts +1 -1
  197. package/es/components/processing/src/processing.d.ts +2 -2
  198. package/es/components/processing/src/processing.js +2 -2
  199. package/es/components/prompt-line/autocomplete/index.d.ts +12 -0
  200. package/es/components/prompt-line/autocomplete/index.js +9 -0
  201. package/es/components/prompt-line/autocomplete/index.js.map +1 -0
  202. package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
  203. package/es/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
  204. package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  205. package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  206. package/es/components/prompt-line/index.d.ts +18 -18
  207. package/es/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
  208. package/es/components/prompt-line/src/autocomplete-controller.js +107 -47
  209. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  210. package/es/components/prompt-line/src/error-message.d.ts +3 -7
  211. package/es/components/prompt-line/src/error-message.js +13 -23
  212. package/es/components/prompt-line/src/error-message.js.map +1 -1
  213. package/es/components/prompt-line/src/error-message.scss.js +1 -1
  214. package/es/components/prompt-line/src/prompt-line-constants.js +1 -1
  215. package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  216. package/es/components/prompt-line/src/prompt-line-controller.js +83 -83
  217. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  218. package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  219. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  220. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  221. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  222. package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  223. package/es/components/prompt-line/src/prompt-line-shell.js +11 -13
  224. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  225. package/es/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  226. package/es/components/prompt-line/src/prompt-line.d.ts +5 -5
  227. package/es/components/prompt-line/src/prompt-line.js +35 -35
  228. package/es/components/prompt-line/src/prompt-line.js.map +1 -1
  229. package/es/components/prompt-line/src/send-control.d.ts +4 -4
  230. package/es/components/prompt-line/src/send-control.js +18 -20
  231. package/es/components/prompt-line/src/send-control.js.map +1 -1
  232. package/es/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  233. package/es/components/prompt-line/src/stop-streaming-button.js +7 -8
  234. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  235. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  236. package/es/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  237. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  238. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  239. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  240. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  241. package/es/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  242. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  243. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
  244. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  245. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  246. package/es/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  247. package/es/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  248. package/es/components/prompt-line/src/tiptap/index.d.ts +24 -24
  249. package/es/components/prompt-line/src/tiptap/index.js.map +1 -1
  250. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  251. package/es/components/prompt-line/src/tiptap/json-utils.js +17 -17
  252. package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  253. package/es/components/prompt-line/src/tiptap/keymap.js +3 -3
  254. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  255. package/es/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  256. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  257. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  258. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  259. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  260. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  261. package/es/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  262. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  263. package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  264. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  265. package/es/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  266. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  267. package/es/components/prompt-line/src/tiptap/types.d.ts +24 -3
  268. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  269. package/es/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  270. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  271. package/es/components/prompt-line/src/tiptap/value-sync.js +2 -2
  272. package/es/components/prompt-line/src/types.d.ts +2 -2
  273. package/es/components/prompt-line/src/types.js.map +1 -1
  274. package/es/components/reasoning-steps/index.d.ts +4 -4
  275. package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  276. package/es/components/reasoning-steps/src/reasoning-step.js +27 -31
  277. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  278. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  279. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  280. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  281. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  282. package/es/components/reasoning-steps/src/reasoning-steps.js +19 -20
  283. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  284. package/es/components/shared/dynamic-css-var-sheet.js +7 -7
  285. package/es/components/shared/media-utils/script-loader.js +1 -1
  286. package/es/components/table/index.d.ts +3 -3
  287. package/es/components/table/src/table-loader.d.ts +1 -1
  288. package/es/components/table/src/table-loader.js +1 -1
  289. package/es/components/table/src/table-pagination.template.d.ts +3 -3
  290. package/es/components/table/src/table-pagination.template.js +4 -5
  291. package/es/components/table/src/table-pagination.template.js.map +1 -1
  292. package/es/components/table/src/table-runtime.d.ts +2 -2
  293. package/es/components/table/src/table-skeleton.template.d.ts +1 -1
  294. package/es/components/table/src/table-skeleton.template.js +2 -3
  295. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  296. package/es/components/table/src/table.d.ts +3 -4
  297. package/es/components/table/src/table.js +36 -39
  298. package/es/components/table/src/table.js.map +1 -1
  299. package/es/components/table/src/table.template.d.ts +5 -5
  300. package/es/components/table/src/table.template.js +6 -9
  301. package/es/components/table/src/table.template.js.map +1 -1
  302. package/es/components/toolbar/index.d.ts +1 -1
  303. package/es/components/toolbar/src/toolbar.d.ts +9 -7
  304. package/es/components/toolbar/src/toolbar.js +45 -33
  305. package/es/components/toolbar/src/toolbar.js.map +1 -1
  306. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  307. package/es/components/truncated-text/index.d.ts +1 -1
  308. package/es/components/truncated-text/src/truncated-text.d.ts +5 -5
  309. package/es/components/truncated-text/src/truncated-text.js +26 -28
  310. package/es/components/truncated-text/src/truncated-text.js.map +1 -1
  311. package/es/components/truncated-text/src/truncated-text.scss.js +1 -1
  312. package/es/components/video-player/index.d.ts +2 -2
  313. package/es/components/video-player/src/providers/base-provider.d.ts +3 -3
  314. package/es/components/video-player/src/providers/base-provider.js +5 -5
  315. package/es/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  316. package/es/components/video-player/src/providers/kaltura-provider.js +23 -23
  317. package/es/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  318. package/es/components/video-player/src/providers/native-video-provider.js +20 -20
  319. package/es/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  320. package/es/components/video-player/src/providers/vimeo-provider.js +23 -23
  321. package/es/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  322. package/es/components/video-player/src/providers/youtube-provider.js +15 -15
  323. package/es/components/video-player/src/utils/url-detector.js +1 -1
  324. package/es/components/video-player/src/video-player.d.ts +2 -2
  325. package/es/components/video-player/src/video-player.js +37 -41
  326. package/es/components/video-player/src/video-player.js.map +1 -1
  327. package/es/components/workspace-shell/index.d.ts +4 -4
  328. package/es/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  329. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  330. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -2
  331. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  332. package/es/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  333. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  334. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  335. package/es/components/workspace-shell/src/workspace-shell-header.js +10 -13
  336. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  337. package/es/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  338. package/es/components/workspace-shell/src/workspace-shell.js +3 -3
  339. package/es/globals/decorators/carbon-element.d.ts +4 -4
  340. package/es/globals/decorators/carbon-element.js +2 -2
  341. package/es/globals/decorators/index.d.ts +1 -1
  342. package/es/globals/scss/common.scss.js +1 -1
  343. package/es/globals/settings.js +2 -2
  344. package/es/globals/utils/aria-announcer-manager.d.ts +1 -1
  345. package/es/globals/utils/aria-announcer-manager.js +6 -6
  346. package/es/globals/utils/browser-utils.js +1 -1
  347. package/es/globals/utils/csv.d.ts +8 -0
  348. package/es/globals/utils/csv.js +37 -0
  349. package/es/globals/utils/csv.js.map +1 -0
  350. package/es/globals/utils/dom-utils.js +1 -1
  351. package/es/globals/utils/focus-utils.js +4 -4
  352. package/es/globals/utils/iconTransform.d.ts +2 -2
  353. package/es/globals/utils/iconTransform.js +21 -21
  354. package/es/globals/utils/rtl-utils.js +1 -1
  355. package/es/globals/utils/uuid.js +5 -5
  356. package/es/react/__tests__/jest.setup.js +12 -12
  357. package/es/react/ai-label-action-button.d.ts +1 -1
  358. package/es/react/ai-label-action-button.js +1 -1
  359. package/es/react/audio-player.d.ts +1 -1
  360. package/es/react/audio-player.js +5 -5
  361. package/es/react/autocomplete.d.ts +1 -1
  362. package/es/react/autocomplete.js +5 -5
  363. package/es/react/card.d.ts +1 -1
  364. package/es/react/card.js +5 -5
  365. package/es/react/carousel.d.ts +1 -1
  366. package/es/react/carousel.js +2 -2
  367. package/es/react/chain-of-thought-step.d.ts +1 -1
  368. package/es/react/chain-of-thought-step.js +4 -4
  369. package/es/react/chain-of-thought-toggle.d.ts +2 -2
  370. package/es/react/chain-of-thought-toggle.js +3 -3
  371. package/es/react/chain-of-thought.d.ts +2 -2
  372. package/es/react/chain-of-thought.js +4 -4
  373. package/es/react/chat-button.d.ts +3 -3
  374. package/es/react/chat-button.js +2 -2
  375. package/es/react/chat-header.d.ts +3 -3
  376. package/es/react/chat-header.js +2 -2
  377. package/es/react/chat-shell.d.ts +2 -2
  378. package/es/react/chat-shell.js +2 -2
  379. package/es/react/code-snippet.d.ts +4 -4
  380. package/es/react/code-snippet.js +3 -3
  381. package/es/react/error-message.d.ts +1 -1
  382. package/es/react/error-message.js +1 -1
  383. package/es/react/feedback-buttons.d.ts +1 -1
  384. package/es/react/feedback-buttons.js +3 -3
  385. package/es/react/feedback.d.ts +2 -2
  386. package/es/react/feedback.js +4 -4
  387. package/es/react/file-upload-item.d.ts +11 -0
  388. package/es/react/file-upload-item.js +31 -0
  389. package/es/react/file-upload-item.js.map +1 -0
  390. package/es/react/file-uploads.d.ts +1 -1
  391. package/es/react/file-uploads.js +2 -2
  392. package/es/react/history/history-content.d.ts +1 -1
  393. package/es/react/history/history-content.js +1 -1
  394. package/es/react/history/history-delete-panel.d.ts +1 -1
  395. package/es/react/history/history-delete-panel.js +3 -3
  396. package/es/react/history/history-header.d.ts +1 -1
  397. package/es/react/history/history-header.js +2 -2
  398. package/es/react/history/history-loading.d.ts +1 -1
  399. package/es/react/history/history-loading.js +1 -1
  400. package/es/react/history/history-panel-item-input.d.ts +1 -1
  401. package/es/react/history/history-panel-item-input.js +4 -4
  402. package/es/react/history/history-panel-item.d.ts +1 -1
  403. package/es/react/history/history-panel-item.js +6 -6
  404. package/es/react/history/history-panel-items.d.ts +1 -1
  405. package/es/react/history/history-panel-items.js +1 -1
  406. package/es/react/history/history-panel-menu.d.ts +1 -1
  407. package/es/react/history/history-panel-menu.js +1 -1
  408. package/es/react/history/history-panel.d.ts +1 -1
  409. package/es/react/history/history-panel.js +1 -1
  410. package/es/react/history/history-search-item.d.ts +1 -1
  411. package/es/react/history/history-search-item.js +2 -2
  412. package/es/react/history/history-shell.d.ts +1 -1
  413. package/es/react/history/history-shell.js +1 -1
  414. package/es/react/history/history-toolbar.d.ts +1 -1
  415. package/es/react/history/history-toolbar.js +3 -3
  416. package/es/react/history/index.d.ts +12 -12
  417. package/es/react/hooks/useChatAutocomplete.d.ts +4 -4
  418. package/es/react/hooks/useChatAutocomplete.js +38 -12
  419. package/es/react/hooks/useChatAutocomplete.js.map +1 -1
  420. package/es/react/input-send-control.d.ts +1 -1
  421. package/es/react/input-send-control.js +3 -3
  422. package/es/react/launcher.d.ts +11 -0
  423. package/es/react/launcher.js +31 -0
  424. package/es/react/launcher.js.map +1 -0
  425. package/es/react/markdown.d.ts +7 -7
  426. package/es/react/markdown.js +13 -13
  427. package/es/react/markdown.js.map +1 -1
  428. package/es/react/panel.d.ts +1 -1
  429. package/es/react/panel.js +7 -7
  430. package/es/react/processing.d.ts +1 -1
  431. package/es/react/processing.js +2 -2
  432. package/es/react/prompt-line-shell.d.ts +1 -1
  433. package/es/react/prompt-line-shell.js +1 -1
  434. package/es/react/prompt-line.d.ts +1 -1
  435. package/es/react/prompt-line.js +9 -9
  436. package/es/react/reasoning-step.d.ts +1 -1
  437. package/es/react/reasoning-step.js +4 -4
  438. package/es/react/reasoning-steps-toggle.d.ts +2 -2
  439. package/es/react/reasoning-steps-toggle.js +3 -3
  440. package/es/react/reasoning-steps.d.ts +1 -1
  441. package/es/react/reasoning-steps.js +2 -2
  442. package/es/react/stop-streaming-button.d.ts +1 -1
  443. package/es/react/stop-streaming-button.js +1 -1
  444. package/es/react/table.d.ts +2 -2
  445. package/es/react/table.js +1 -1
  446. package/es/react/tool-call-data.d.ts +1 -1
  447. package/es/react/tool-call-data.js +2 -2
  448. package/es/react/toolbar.d.ts +4 -4
  449. package/es/react/toolbar.js +2 -2
  450. package/es/react/transcript.d.ts +1 -1
  451. package/es/react/transcript.js +3 -3
  452. package/es/react/utils/transformSuggestionConfig.d.ts +3 -3
  453. package/es/react/utils/transformSuggestionConfig.js +3 -3
  454. package/es/react/utils/transformSuggestionConfig.js.map +1 -1
  455. package/es/react/utils/withWebComponentBridge.d.ts +1 -1
  456. package/es/react/utils/withWebComponentBridge.js +22 -22
  457. package/es/react/video-player.d.ts +1 -1
  458. package/es/react/video-player.js +5 -5
  459. package/es/react/workspace-shell.d.ts +1 -1
  460. package/es/react/workspace-shell.js +6 -6
  461. package/es/testing/load-all-lazy-deps.d.ts +2 -2
  462. package/es/testing/load-all-lazy-deps.js +1 -1
  463. package/es/typings/overflow-menu.d.ts +2 -2
  464. package/es-custom/components/audio-player/index.d.ts +4 -4
  465. package/es-custom/components/audio-player/src/audio-player.d.ts +1 -1
  466. package/es-custom/components/audio-player/src/audio-player.js +33 -38
  467. package/es-custom/components/audio-player/src/audio-player.js.map +1 -1
  468. package/es-custom/components/audio-player/src/providers/base-provider.d.ts +2 -2
  469. package/es-custom/components/audio-player/src/providers/base-provider.js +9 -9
  470. package/es-custom/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
  471. package/es-custom/components/audio-player/src/providers/native-audio-provider.js +18 -18
  472. package/es-custom/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
  473. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +14 -14
  474. package/es-custom/components/audio-player/src/transcript.d.ts +2 -2
  475. package/es-custom/components/audio-player/src/transcript.js +13 -16
  476. package/es-custom/components/audio-player/src/transcript.js.map +1 -1
  477. package/es-custom/components/audio-player/src/utils/url-detector.js +1 -1
  478. package/es-custom/components/card/index.d.ts +4 -4
  479. package/es-custom/components/card/src/card-footer.d.ts +5 -5
  480. package/es-custom/components/card/src/card-footer.js +12 -16
  481. package/es-custom/components/card/src/card-footer.js.map +1 -1
  482. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  483. package/es-custom/components/card/src/card-steps.d.ts +4 -4
  484. package/es-custom/components/card/src/card-steps.js +3 -5
  485. package/es-custom/components/card/src/card-steps.js.map +1 -1
  486. package/es-custom/components/card/src/card-steps.scss.js +1 -1
  487. package/es-custom/components/card/src/card.d.ts +2 -2
  488. package/es-custom/components/card/src/card.js +3 -3
  489. package/es-custom/components/card/src/card.scss.js +1 -1
  490. package/es-custom/components/carousel/index.d.ts +1 -1
  491. package/es-custom/components/carousel/src/carousel.d.ts +2 -2
  492. package/es-custom/components/carousel/src/carousel.js +4 -6
  493. package/es-custom/components/carousel/src/carousel.js.map +1 -1
  494. package/es-custom/components/carousel/src/carousel.scss.js +1 -1
  495. package/es-custom/components/chain-of-thought/defs.js +1 -1
  496. package/es-custom/components/chain-of-thought/index.d.ts +10 -10
  497. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
  498. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
  499. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  500. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
  501. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
  502. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  503. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
  504. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +16 -17
  505. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  506. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
  507. package/es-custom/components/chain-of-thought/src/tool-call-data.js +17 -23
  508. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  509. package/es-custom/components/chat-button/defs.d.ts +1 -1
  510. package/es-custom/components/chat-button/defs.js +1 -1
  511. package/es-custom/components/chat-button/index.d.ts +2 -2
  512. package/es-custom/components/chat-button/src/chat-button.d.ts +5 -5
  513. package/es-custom/components/chat-button/src/chat-button.js +6 -6
  514. package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
  515. package/es-custom/components/chat-history/index.d.ts +11 -11
  516. package/es-custom/components/chat-history/src/history-content.d.ts +1 -1
  517. package/es-custom/components/chat-history/src/history-content.js +6 -6
  518. package/es-custom/components/chat-history/src/history-delete-panel.d.ts +2 -2
  519. package/es-custom/components/chat-history/src/history-delete-panel.js +11 -11
  520. package/es-custom/components/chat-history/src/history-header.d.ts +2 -2
  521. package/es-custom/components/chat-history/src/history-header.js +9 -10
  522. package/es-custom/components/chat-history/src/history-header.js.map +1 -1
  523. package/es-custom/components/chat-history/src/history-loading.d.ts +2 -2
  524. package/es-custom/components/chat-history/src/history-loading.js +1 -1
  525. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +2 -2
  526. package/es-custom/components/chat-history/src/history-panel-item-input.js +21 -22
  527. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +1 -1
  528. package/es-custom/components/chat-history/src/history-panel-item.d.ts +5 -5
  529. package/es-custom/components/chat-history/src/history-panel-item.js +39 -41
  530. package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
  531. package/es-custom/components/chat-history/src/history-panel-items.d.ts +1 -1
  532. package/es-custom/components/chat-history/src/history-panel-items.js +1 -1
  533. package/es-custom/components/chat-history/src/history-panel-menu.d.ts +1 -1
  534. package/es-custom/components/chat-history/src/history-panel.d.ts +1 -1
  535. package/es-custom/components/chat-history/src/history-panel.js +3 -3
  536. package/es-custom/components/chat-history/src/history-search-item.d.ts +1 -1
  537. package/es-custom/components/chat-history/src/history-search-item.js +4 -4
  538. package/es-custom/components/chat-history/src/history-shell.d.ts +1 -1
  539. package/es-custom/components/chat-history/src/history-shell.js +3 -3
  540. package/es-custom/components/chat-history/src/history-toolbar.d.ts +9 -5
  541. package/es-custom/components/chat-history/src/history-toolbar.js +13 -10
  542. package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
  543. package/es-custom/components/chat-shell/index.d.ts +5 -5
  544. package/es-custom/components/chat-shell/src/chat-header.d.ts +8 -8
  545. package/es-custom/components/chat-shell/src/chat-header.js +37 -44
  546. package/es-custom/components/chat-shell/src/chat-header.js.map +1 -1
  547. package/es-custom/components/chat-shell/src/corner-manager.d.ts +1 -1
  548. package/es-custom/components/chat-shell/src/corner-manager.js +30 -30
  549. package/es-custom/components/chat-shell/src/initialization-manager.d.ts +1 -1
  550. package/es-custom/components/chat-shell/src/panel-manager.d.ts +1 -1
  551. package/es-custom/components/chat-shell/src/panel-manager.js +12 -12
  552. package/es-custom/components/chat-shell/src/panel.d.ts +2 -2
  553. package/es-custom/components/chat-shell/src/panel.js +99 -100
  554. package/es-custom/components/chat-shell/src/panel.js.map +1 -1
  555. package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
  556. package/es-custom/components/chat-shell/src/resize-observer-manager.js +10 -10
  557. package/es-custom/components/chat-shell/src/shell.d.ts +8 -8
  558. package/es-custom/components/chat-shell/src/shell.js +128 -135
  559. package/es-custom/components/chat-shell/src/shell.js.map +1 -1
  560. package/es-custom/components/chat-shell/src/slot-observer.d.ts +1 -1
  561. package/es-custom/components/chat-shell/src/slot-observer.js +4 -7
  562. package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
  563. package/es-custom/components/chat-shell/src/types.d.ts +4 -4
  564. package/es-custom/components/chat-shell/src/workspace-manager-utils.js +4 -4
  565. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
  566. package/es-custom/components/chat-shell/src/workspace-manager.js +32 -32
  567. package/es-custom/components/code-snippet/index.d.ts +4 -4
  568. package/es-custom/components/code-snippet/src/code-snippet.d.ts +8 -8
  569. package/es-custom/components/code-snippet/src/code-snippet.js +87 -93
  570. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  571. package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
  572. package/es-custom/components/code-snippet/src/codemirror/base-setup.js +1 -1
  573. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
  574. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
  575. package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
  576. package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
  577. package/es-custom/components/code-snippet/src/codemirror/content-sync.js +2 -2
  578. package/es-custom/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
  579. package/es-custom/components/code-snippet/src/codemirror/detect-language.js +77 -0
  580. package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
  581. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
  582. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
  583. package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
  584. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +4 -4
  585. package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
  586. package/es-custom/components/code-snippet/src/codemirror/language-controller.js +3 -3
  587. package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
  588. package/es-custom/components/code-snippet/src/codemirror/language-data.js +299 -299
  589. package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
  590. package/es-custom/components/code-snippet/src/codemirror/language-utils.js +60 -66
  591. package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  592. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +15 -15
  593. package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +1 -1
  594. package/es-custom/components/code-snippet/src/codemirror/theme.js +163 -163
  595. package/es-custom/components/code-snippet/src/dom-utils.js +6 -6
  596. package/es-custom/components/code-snippet/src/layout-utils.d.ts +2 -2
  597. package/es-custom/components/code-snippet/src/layout-utils.js +9 -9
  598. package/es-custom/components/code-snippet/src/streaming-manager.js +5 -5
  599. package/es-custom/components/feedback/index.d.ts +4 -4
  600. package/es-custom/components/feedback/src/feedback-buttons.d.ts +3 -3
  601. package/es-custom/components/feedback/src/feedback-buttons.js +17 -19
  602. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  603. package/es-custom/components/feedback/src/feedback.d.ts +9 -9
  604. package/es-custom/components/feedback/src/feedback.js +38 -45
  605. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  606. package/es-custom/components/file-uploads/index.d.ts +5 -4
  607. package/es-custom/components/file-uploads/src/file-type-icon.d.ts +18 -0
  608. package/es-custom/components/file-uploads/src/file-type-icon.js +87 -0
  609. package/es-custom/components/file-uploads/src/file-type-icon.js.map +1 -0
  610. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +69 -8
  611. package/es-custom/components/file-uploads/src/file-upload-item.js +210 -111
  612. package/es-custom/components/file-uploads/src/file-upload-item.js.map +1 -1
  613. package/es-custom/components/file-uploads/src/file-uploads.d.ts +8 -4
  614. package/es-custom/components/file-uploads/src/file-uploads.js +54 -29
  615. package/es-custom/components/file-uploads/src/file-uploads.js.map +1 -1
  616. package/es-custom/components/file-uploads/src/file-uploads.scss.js +1 -1
  617. package/es-custom/components/file-uploads/src/types.d.ts +39 -0
  618. package/es-custom/components/file-uploads/src/types.js +8 -0
  619. package/es-custom/components/file-uploads/src/types.js.map +1 -0
  620. package/es-custom/components/launcher/index.d.ts +9 -0
  621. package/es-custom/components/launcher/index.js +9 -0
  622. package/{es/components/autocomplete → es-custom/components/launcher}/index.js.map +1 -1
  623. package/es-custom/components/launcher/src/launcher.d.ts +68 -0
  624. package/es-custom/components/launcher/src/launcher.js +152 -0
  625. package/es-custom/components/launcher/src/launcher.js.map +1 -0
  626. package/es-custom/components/launcher/src/launcher.scss.js +13 -0
  627. package/es-custom/components/launcher/src/launcher.scss.js.map +1 -0
  628. package/es-custom/components/markdown/index.d.ts +5 -5
  629. package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +10 -3
  630. package/es-custom/components/markdown/src/markdown-renderer.d.ts +9 -9
  631. package/es-custom/components/markdown/src/markdown-renderer.js +85 -80
  632. package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
  633. package/es-custom/components/markdown/src/markdown-token-tree.d.ts +1 -1
  634. package/es-custom/components/markdown/src/markdown-token-tree.js +20 -20
  635. package/es-custom/components/markdown/src/markdown.d.ts +4 -7
  636. package/es-custom/components/markdown/src/markdown.js +96 -82
  637. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  638. package/es-custom/components/markdown/src/markdown.template.js +1 -1
  639. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
  640. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
  641. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
  642. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
  643. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
  644. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
  645. package/es-custom/components/markdown/src/utils/html-helpers.d.ts +1 -1
  646. package/es-custom/components/markdown/src/utils/html-helpers.js +72 -72
  647. package/es-custom/components/markdown/src/utils/lit-directives.d.ts +2 -2
  648. package/es-custom/components/markdown/src/utils/lit-directives.js +5 -5
  649. package/es-custom/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
  650. package/es-custom/components/markdown/src/utils/plugin-fallback.js +61 -61
  651. package/es-custom/components/markdown/src/utils/streaming-table.d.ts +1 -1
  652. package/es-custom/components/markdown/src/utils/streaming-table.js +6 -6
  653. package/es-custom/components/markdown/src/utils/table-helpers.d.ts +4 -4
  654. package/es-custom/components/markdown/src/utils/table-helpers.js +17 -18
  655. package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -1
  656. package/es-custom/components/processing/index.d.ts +1 -1
  657. package/es-custom/components/processing/src/processing.d.ts +2 -2
  658. package/es-custom/components/processing/src/processing.js +2 -2
  659. package/es-custom/components/prompt-line/autocomplete/index.d.ts +12 -0
  660. package/es-custom/components/prompt-line/autocomplete/index.js +9 -0
  661. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/index.js.map +1 -1
  662. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
  663. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
  664. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  665. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  666. package/es-custom/components/prompt-line/index.d.ts +18 -18
  667. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
  668. package/es-custom/components/prompt-line/src/autocomplete-controller.js +107 -47
  669. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  670. package/es-custom/components/prompt-line/src/error-message.d.ts +3 -7
  671. package/es-custom/components/prompt-line/src/error-message.js +13 -23
  672. package/es-custom/components/prompt-line/src/error-message.js.map +1 -1
  673. package/es-custom/components/prompt-line/src/error-message.scss.js +1 -1
  674. package/es-custom/components/prompt-line/src/prompt-line-constants.js +1 -1
  675. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  676. package/es-custom/components/prompt-line/src/prompt-line-controller.js +83 -83
  677. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  678. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  679. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  680. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  681. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  682. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  683. package/es-custom/components/prompt-line/src/prompt-line-shell.js +11 -13
  684. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  685. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  686. package/es-custom/components/prompt-line/src/prompt-line.d.ts +5 -5
  687. package/es-custom/components/prompt-line/src/prompt-line.js +35 -35
  688. package/es-custom/components/prompt-line/src/prompt-line.js.map +1 -1
  689. package/es-custom/components/prompt-line/src/send-control.d.ts +4 -4
  690. package/es-custom/components/prompt-line/src/send-control.js +18 -20
  691. package/es-custom/components/prompt-line/src/send-control.js.map +1 -1
  692. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  693. package/es-custom/components/prompt-line/src/stop-streaming-button.js +7 -8
  694. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  695. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  696. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  697. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  698. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  699. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  700. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  701. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  702. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  703. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
  704. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  705. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  706. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  707. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  708. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +24 -24
  709. package/es-custom/components/prompt-line/src/tiptap/index.js.map +1 -1
  710. package/es-custom/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  711. package/es-custom/components/prompt-line/src/tiptap/json-utils.js +17 -17
  712. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  713. package/es-custom/components/prompt-line/src/tiptap/keymap.js +3 -3
  714. package/es-custom/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  715. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  716. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  717. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  718. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  719. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  720. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  721. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  722. package/es-custom/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  723. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  724. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  725. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  726. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  727. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +24 -3
  728. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  729. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  730. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  731. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +2 -2
  732. package/es-custom/components/prompt-line/src/types.d.ts +2 -2
  733. package/es-custom/components/prompt-line/src/types.js.map +1 -1
  734. package/es-custom/components/reasoning-steps/index.d.ts +4 -4
  735. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  736. package/es-custom/components/reasoning-steps/src/reasoning-step.js +27 -31
  737. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  738. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  739. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  740. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  741. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  742. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +19 -20
  743. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  744. package/es-custom/components/shared/dynamic-css-var-sheet.js +7 -7
  745. package/es-custom/components/shared/media-utils/script-loader.js +1 -1
  746. package/es-custom/components/table/index.d.ts +3 -3
  747. package/es-custom/components/table/src/table-loader.d.ts +1 -1
  748. package/es-custom/components/table/src/table-loader.js +1 -1
  749. package/es-custom/components/table/src/table-pagination.template.d.ts +3 -3
  750. package/es-custom/components/table/src/table-pagination.template.js +4 -5
  751. package/es-custom/components/table/src/table-pagination.template.js.map +1 -1
  752. package/es-custom/components/table/src/table-runtime.d.ts +2 -2
  753. package/es-custom/components/table/src/table-skeleton.template.d.ts +1 -1
  754. package/es-custom/components/table/src/table-skeleton.template.js +2 -3
  755. package/es-custom/components/table/src/table-skeleton.template.js.map +1 -1
  756. package/es-custom/components/table/src/table.d.ts +3 -4
  757. package/es-custom/components/table/src/table.js +36 -39
  758. package/es-custom/components/table/src/table.js.map +1 -1
  759. package/es-custom/components/table/src/table.template.d.ts +5 -5
  760. package/es-custom/components/table/src/table.template.js +6 -9
  761. package/es-custom/components/table/src/table.template.js.map +1 -1
  762. package/es-custom/components/toolbar/index.d.ts +1 -1
  763. package/es-custom/components/toolbar/src/toolbar.d.ts +9 -7
  764. package/es-custom/components/toolbar/src/toolbar.js +45 -33
  765. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  766. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  767. package/es-custom/components/truncated-text/index.d.ts +1 -1
  768. package/es-custom/components/truncated-text/src/truncated-text.d.ts +5 -5
  769. package/es-custom/components/truncated-text/src/truncated-text.js +26 -28
  770. package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -1
  771. package/es-custom/components/truncated-text/src/truncated-text.scss.js +1 -1
  772. package/es-custom/components/video-player/index.d.ts +2 -2
  773. package/es-custom/components/video-player/src/providers/base-provider.d.ts +3 -3
  774. package/es-custom/components/video-player/src/providers/base-provider.js +5 -5
  775. package/es-custom/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  776. package/es-custom/components/video-player/src/providers/kaltura-provider.js +23 -23
  777. package/es-custom/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  778. package/es-custom/components/video-player/src/providers/native-video-provider.js +20 -20
  779. package/es-custom/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  780. package/es-custom/components/video-player/src/providers/vimeo-provider.js +23 -23
  781. package/es-custom/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  782. package/es-custom/components/video-player/src/providers/youtube-provider.js +15 -15
  783. package/es-custom/components/video-player/src/utils/url-detector.js +1 -1
  784. package/es-custom/components/video-player/src/video-player.d.ts +2 -2
  785. package/es-custom/components/video-player/src/video-player.js +37 -41
  786. package/es-custom/components/video-player/src/video-player.js.map +1 -1
  787. package/es-custom/components/workspace-shell/index.d.ts +4 -4
  788. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  789. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  790. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -2
  791. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  792. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  793. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  794. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  795. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +10 -13
  796. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  797. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  798. package/es-custom/components/workspace-shell/src/workspace-shell.js +3 -3
  799. package/es-custom/globals/decorators/carbon-element.d.ts +4 -4
  800. package/es-custom/globals/decorators/carbon-element.js +2 -2
  801. package/es-custom/globals/decorators/index.d.ts +1 -1
  802. package/es-custom/globals/scss/common.scss.js +1 -1
  803. package/es-custom/globals/settings.js +2 -2
  804. package/es-custom/globals/utils/aria-announcer-manager.d.ts +1 -1
  805. package/es-custom/globals/utils/aria-announcer-manager.js +6 -6
  806. package/es-custom/globals/utils/browser-utils.js +1 -1
  807. package/es-custom/globals/utils/csv.d.ts +8 -0
  808. package/es-custom/globals/utils/csv.js +37 -0
  809. package/es-custom/globals/utils/csv.js.map +1 -0
  810. package/es-custom/globals/utils/dom-utils.js +1 -1
  811. package/es-custom/globals/utils/focus-utils.js +4 -4
  812. package/es-custom/globals/utils/iconTransform.d.ts +2 -2
  813. package/es-custom/globals/utils/iconTransform.js +21 -21
  814. package/es-custom/globals/utils/rtl-utils.js +1 -1
  815. package/es-custom/globals/utils/uuid.js +5 -5
  816. package/es-custom/react/__tests__/jest.setup.js +12 -12
  817. package/es-custom/react/ai-label-action-button.d.ts +1 -1
  818. package/es-custom/react/ai-label-action-button.js +1 -1
  819. package/es-custom/react/audio-player.d.ts +1 -1
  820. package/es-custom/react/audio-player.js +5 -5
  821. package/es-custom/react/autocomplete.d.ts +1 -1
  822. package/es-custom/react/autocomplete.js +5 -5
  823. package/es-custom/react/card.d.ts +1 -1
  824. package/es-custom/react/card.js +5 -5
  825. package/es-custom/react/carousel.d.ts +1 -1
  826. package/es-custom/react/carousel.js +2 -2
  827. package/es-custom/react/chain-of-thought-step.d.ts +1 -1
  828. package/es-custom/react/chain-of-thought-step.js +4 -4
  829. package/es-custom/react/chain-of-thought-toggle.d.ts +2 -2
  830. package/es-custom/react/chain-of-thought-toggle.js +3 -3
  831. package/es-custom/react/chain-of-thought.d.ts +2 -2
  832. package/es-custom/react/chain-of-thought.js +4 -4
  833. package/es-custom/react/chat-button.d.ts +3 -3
  834. package/es-custom/react/chat-button.js +2 -2
  835. package/es-custom/react/chat-header.d.ts +3 -3
  836. package/es-custom/react/chat-header.js +2 -2
  837. package/es-custom/react/chat-shell.d.ts +2 -2
  838. package/es-custom/react/chat-shell.js +2 -2
  839. package/es-custom/react/code-snippet.d.ts +4 -4
  840. package/es-custom/react/code-snippet.js +3 -3
  841. package/es-custom/react/error-message.d.ts +1 -1
  842. package/es-custom/react/error-message.js +1 -1
  843. package/es-custom/react/feedback-buttons.d.ts +1 -1
  844. package/es-custom/react/feedback-buttons.js +3 -3
  845. package/es-custom/react/feedback.d.ts +2 -2
  846. package/es-custom/react/feedback.js +4 -4
  847. package/es-custom/react/file-upload-item.d.ts +11 -0
  848. package/es-custom/react/file-upload-item.js +31 -0
  849. package/es-custom/react/file-upload-item.js.map +1 -0
  850. package/es-custom/react/file-uploads.d.ts +1 -1
  851. package/es-custom/react/file-uploads.js +2 -2
  852. package/es-custom/react/history/history-content.d.ts +1 -1
  853. package/es-custom/react/history/history-content.js +1 -1
  854. package/es-custom/react/history/history-delete-panel.d.ts +1 -1
  855. package/es-custom/react/history/history-delete-panel.js +3 -3
  856. package/es-custom/react/history/history-header.d.ts +1 -1
  857. package/es-custom/react/history/history-header.js +2 -2
  858. package/es-custom/react/history/history-loading.d.ts +1 -1
  859. package/es-custom/react/history/history-loading.js +1 -1
  860. package/es-custom/react/history/history-panel-item-input.d.ts +1 -1
  861. package/es-custom/react/history/history-panel-item-input.js +4 -4
  862. package/es-custom/react/history/history-panel-item.d.ts +1 -1
  863. package/es-custom/react/history/history-panel-item.js +6 -6
  864. package/es-custom/react/history/history-panel-items.d.ts +1 -1
  865. package/es-custom/react/history/history-panel-items.js +1 -1
  866. package/es-custom/react/history/history-panel-menu.d.ts +1 -1
  867. package/es-custom/react/history/history-panel-menu.js +1 -1
  868. package/es-custom/react/history/history-panel.d.ts +1 -1
  869. package/es-custom/react/history/history-panel.js +1 -1
  870. package/es-custom/react/history/history-search-item.d.ts +1 -1
  871. package/es-custom/react/history/history-search-item.js +2 -2
  872. package/es-custom/react/history/history-shell.d.ts +1 -1
  873. package/es-custom/react/history/history-shell.js +1 -1
  874. package/es-custom/react/history/history-toolbar.d.ts +1 -1
  875. package/es-custom/react/history/history-toolbar.js +3 -3
  876. package/es-custom/react/history/index.d.ts +12 -12
  877. package/es-custom/react/hooks/useChatAutocomplete.d.ts +4 -4
  878. package/es-custom/react/hooks/useChatAutocomplete.js +38 -12
  879. package/es-custom/react/hooks/useChatAutocomplete.js.map +1 -1
  880. package/es-custom/react/input-send-control.d.ts +1 -1
  881. package/es-custom/react/input-send-control.js +3 -3
  882. package/es-custom/react/launcher.d.ts +11 -0
  883. package/es-custom/react/launcher.js +31 -0
  884. package/es-custom/react/launcher.js.map +1 -0
  885. package/es-custom/react/markdown.d.ts +7 -7
  886. package/es-custom/react/markdown.js +13 -13
  887. package/es-custom/react/markdown.js.map +1 -1
  888. package/es-custom/react/panel.d.ts +1 -1
  889. package/es-custom/react/panel.js +7 -7
  890. package/es-custom/react/processing.d.ts +1 -1
  891. package/es-custom/react/processing.js +2 -2
  892. package/es-custom/react/prompt-line-shell.d.ts +1 -1
  893. package/es-custom/react/prompt-line-shell.js +1 -1
  894. package/es-custom/react/prompt-line.d.ts +1 -1
  895. package/es-custom/react/prompt-line.js +9 -9
  896. package/es-custom/react/reasoning-step.d.ts +1 -1
  897. package/es-custom/react/reasoning-step.js +4 -4
  898. package/es-custom/react/reasoning-steps-toggle.d.ts +2 -2
  899. package/es-custom/react/reasoning-steps-toggle.js +3 -3
  900. package/es-custom/react/reasoning-steps.d.ts +1 -1
  901. package/es-custom/react/reasoning-steps.js +2 -2
  902. package/es-custom/react/stop-streaming-button.d.ts +1 -1
  903. package/es-custom/react/stop-streaming-button.js +1 -1
  904. package/es-custom/react/table.d.ts +2 -2
  905. package/es-custom/react/table.js +1 -1
  906. package/es-custom/react/tool-call-data.d.ts +1 -1
  907. package/es-custom/react/tool-call-data.js +2 -2
  908. package/es-custom/react/toolbar.d.ts +4 -4
  909. package/es-custom/react/toolbar.js +2 -2
  910. package/es-custom/react/transcript.d.ts +1 -1
  911. package/es-custom/react/transcript.js +3 -3
  912. package/es-custom/react/utils/transformSuggestionConfig.d.ts +3 -3
  913. package/es-custom/react/utils/transformSuggestionConfig.js +3 -3
  914. package/es-custom/react/utils/transformSuggestionConfig.js.map +1 -1
  915. package/es-custom/react/utils/withWebComponentBridge.d.ts +1 -1
  916. package/es-custom/react/utils/withWebComponentBridge.js +22 -22
  917. package/es-custom/react/video-player.d.ts +1 -1
  918. package/es-custom/react/video-player.js +5 -5
  919. package/es-custom/react/workspace-shell.d.ts +1 -1
  920. package/es-custom/react/workspace-shell.js +6 -6
  921. package/es-custom/testing/load-all-lazy-deps.d.ts +2 -2
  922. package/es-custom/testing/load-all-lazy-deps.js +1 -1
  923. package/es-custom/typings/overflow-menu.d.ts +2 -2
  924. package/package.json +4 -5
  925. package/scss/_custom-properties.scss +15 -15
  926. package/scss/_modifiers.scss +8 -8
  927. package/scss/_tokens-component.scss +1 -1
  928. package/scss/_tokens-layout.scss +1 -1
  929. package/scss/_utilities.scss +2 -2
  930. package/scss/common.scss +3 -3
  931. package/scss/grid.scss +2 -2
  932. package/scss/themes.scss +7 -7
  933. package/scss/vars.scss +3 -3
  934. package/telemetry.yml +64 -5
  935. package/es/components/autocomplete/index.d.ts +0 -15
  936. package/es/components/autocomplete/index.js +0 -11
  937. package/es/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  938. package/es/components/autocomplete/src/autocomplete-item-group.js +0 -139
  939. package/es/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  940. package/es/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  941. package/es/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  942. package/es/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  943. package/es/components/autocomplete/src/autocomplete-item.js +0 -197
  944. package/es/components/autocomplete/src/autocomplete-item.js.map +0 -1
  945. package/es/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  946. package/es/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  947. package/es/components/autocomplete/src/autocomplete.d.ts +0 -97
  948. package/es/components/autocomplete/src/autocomplete.js +0 -321
  949. package/es/components/autocomplete/src/autocomplete.js.map +0 -1
  950. package/es-custom/components/autocomplete/index.d.ts +0 -15
  951. package/es-custom/components/autocomplete/index.js +0 -11
  952. package/es-custom/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  953. package/es-custom/components/autocomplete/src/autocomplete-item-group.js +0 -139
  954. package/es-custom/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  955. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  956. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  957. package/es-custom/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  958. package/es-custom/components/autocomplete/src/autocomplete-item.js +0 -197
  959. package/es-custom/components/autocomplete/src/autocomplete-item.js.map +0 -1
  960. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  961. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  962. package/es-custom/components/autocomplete/src/autocomplete.d.ts +0 -97
  963. package/es-custom/components/autocomplete/src/autocomplete.js +0 -321
  964. package/es-custom/components/autocomplete/src/autocomplete.js.map +0 -1
  965. /package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
  966. /package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
@@ -25,11 +25,11 @@ import { setVarsForSelector, clearSelector, adoptOnRoot } from '../../shared/dyn
25
25
  * This source code is licensed under the Apache-2.0 license found in the
26
26
  * LICENSE file in the root directory of this source tree.
27
27
  */
28
- const componentName = "truncated-text";
28
+ const componentName = 'truncated-text';
29
29
  const blockClass = `${prefix}--${componentName}`;
30
30
  const elementName = `${prefix}-${componentName}`; // cds-custom-aichat-truncated-text
31
- const carbonPrefix = "cds-custom";
32
- const TRUNCATED_INSTANCE_ATTR = "data-cds-aichat-truncated-text-id";
31
+ const carbonPrefix = 'cds-custom';
32
+ const TRUNCATED_INSTANCE_ATTR = 'data-cds-aichat-truncated-text-id';
33
33
  let truncatedInstanceCounter = 0;
34
34
  /**
35
35
  * TruncatedText.
@@ -43,7 +43,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
43
43
  /**
44
44
  * Specify how the tooltip should align with the content.
45
45
  */
46
- this.align = "top";
46
+ this.align = 'top';
47
47
  /**
48
48
  * Specify whether a auto align functionality should be applied
49
49
  */
@@ -51,15 +51,15 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
51
51
  /**
52
52
  * The label on the collapse button.
53
53
  */
54
- this.collapseLabel = "";
54
+ this.collapseLabel = '';
55
55
  /**
56
56
  * The label on expand button.
57
57
  */
58
- this.expandLabel = "";
58
+ this.expandLabel = '';
59
59
  /**
60
60
  * Unique identifier for the element.
61
61
  */
62
- this.id = "";
62
+ this.id = '';
63
63
  /**
64
64
  * The maximum number of lines to display before truncation.
65
65
  */
@@ -67,14 +67,14 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
67
67
  /**
68
68
  * The method to display the full text when truncated. Options are "tooltip" or "expand". if not passed, the text would just be truncated with ellipsis.
69
69
  */
70
- this.type = "tooltip";
70
+ this.type = 'tooltip';
71
71
  /**
72
72
  * The string value to be truncated.
73
73
  */
74
- this.value = "";
74
+ this.value = '';
75
75
  this._isOverflowing = false;
76
76
  this._isExpanded = false;
77
- this._maxHeight = "none";
77
+ this._maxHeight = 'none';
78
78
  this._lineHeight = 0;
79
79
  this._isLayered = false;
80
80
  this._truncatedInstanceId = `tt-${++truncatedInstanceCounter}`;
@@ -84,14 +84,14 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
84
84
  }
85
85
  _syncTruncatedVars() {
86
86
  setVarsForSelector(this._truncatedSelector, {
87
- "--line-clamp-value": this.lines === 0 ? "none" : String(this.lines),
88
- "--max-height-value": this._maxHeight || "none",
87
+ '--line-clamp-value': this.lines === 0 ? 'none' : String(this.lines),
88
+ '--max-height-value': this._maxHeight || 'none',
89
89
  });
90
90
  }
91
91
  connectedCallback() {
92
92
  super.connectedCallback();
93
93
  this._isLayered = !!this.closest(`${carbonPrefix}-layer`);
94
- this.type = this.type || "tooltip";
94
+ this.type = this.type || 'tooltip';
95
95
  }
96
96
  disconnectedCallback() {
97
97
  this._resizeObserver?.disconnect();
@@ -113,7 +113,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
113
113
  });
114
114
  }
115
115
  updated(changed) {
116
- if (changed.has("lines") || changed.has("value")) {
116
+ if (changed.has('lines') || changed.has('value')) {
117
117
  // Use requestAnimationFrame to ensure DOM is updated before checking overflow
118
118
  requestAnimationFrame(() => {
119
119
  this._updateOverflowStatus();
@@ -125,7 +125,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
125
125
  }
126
126
  }
127
127
  _updateMaxHeight() {
128
- if (this.type !== "expand") {
128
+ if (this.type !== 'expand') {
129
129
  return;
130
130
  }
131
131
  requestAnimationFrame(() => {
@@ -164,7 +164,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
164
164
  }
165
165
  _handleKeydown(evt) {
166
166
  const { key } = evt;
167
- if (key === "Enter" || key === " ") {
167
+ if (key === 'Enter' || key === ' ') {
168
168
  this._toggleExpansion();
169
169
  }
170
170
  }
@@ -173,10 +173,10 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
173
173
  this._updateMaxHeight();
174
174
  this._textElement?.classList.add(`${blockClass}_transition`);
175
175
  const onTransitionEnd = () => {
176
- this._textElement?.querySelector("button")?.focus();
177
- this._textElement?.removeEventListener("transitionend", onTransitionEnd);
176
+ this._textElement?.querySelector('button')?.focus();
177
+ this._textElement?.removeEventListener('transitionend', onTransitionEnd);
178
178
  };
179
- this._textElement?.addEventListener("transitionend", onTransitionEnd);
179
+ this._textElement?.addEventListener('transitionend', onTransitionEnd);
180
180
  /**
181
181
  * currently you cannot animate line-clamping
182
182
  * you can however animate max-height
@@ -205,8 +205,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
205
205
  @click=${this._toggleExpansion}
206
206
  @keydown=${this._handleKeydown}
207
207
  role="button"
208
- tabIndex="0"
209
- >
208
+ tabIndex="0">
210
209
  ${label}
211
210
  </span>
212
211
  `;
@@ -228,7 +227,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
228
227
  const contentClasses = classMap({
229
228
  [`${blockClass}_content`]: true,
230
229
  [`${blockClass}_content--expanded`]: this._isExpanded,
231
- [`${blockClass}_content--expand-type`]: this.type === "expand",
230
+ [`${blockClass}_content--expand-type`]: this.type === 'expand',
232
231
  });
233
232
  const valueBody = html `
234
233
  <div id=${this.id} class=${contentClasses}>${content}</div>
@@ -239,14 +238,13 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
239
238
  align=${this.align}
240
239
  autoalign=${this.autoalign}
241
240
  enter-delay-ms="0"
242
- leave-delay-ms="0"
243
- >
241
+ leave-delay-ms="0">
244
242
  ${valueBody}
245
243
  <cds-custom-tooltip-content>${tooltipContent}</cds-custom-tooltip-content>
246
244
  </cds-custom-tooltip>
247
245
  `;
248
246
  const expandVariant = html `${valueBody} ${this._renderToggleButton()}`;
249
- return this.type === "tooltip" && this._isOverflowing
247
+ return this.type === 'tooltip' && this._isOverflowing
250
248
  ? tooltipVariant
251
249
  : expandVariant;
252
250
  }
@@ -259,10 +257,10 @@ __decorate([
259
257
  property({ type: Boolean, reflect: true })
260
258
  ], CDSAIChatTruncatedText.prototype, "autoalign", void 0);
261
259
  __decorate([
262
- property({ attribute: "collapse-label", type: String, reflect: true })
260
+ property({ attribute: 'collapse-label', type: String, reflect: true })
263
261
  ], CDSAIChatTruncatedText.prototype, "collapseLabel", void 0);
264
262
  __decorate([
265
- property({ attribute: "expand-label", type: String, reflect: true })
263
+ property({ attribute: 'expand-label', type: String, reflect: true })
266
264
  ], CDSAIChatTruncatedText.prototype, "expandLabel", void 0);
267
265
  __decorate([
268
266
  property({ type: String, reflect: true })
@@ -274,7 +272,7 @@ __decorate([
274
272
  property({ type: String, reflect: true })
275
273
  ], CDSAIChatTruncatedText.prototype, "type", void 0);
276
274
  __decorate([
277
- property({ type: String, attribute: "value", reflect: true })
275
+ property({ type: String, attribute: 'value', reflect: true })
278
276
  ], CDSAIChatTruncatedText.prototype, "value", void 0);
279
277
  __decorate([
280
278
  state()
@@ -1 +1 @@
1
- {"version":3,"file":"truncated-text.js","sources":["../../../../src/components/truncated-text/src/truncated-text.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAkBH,MAAM,aAAa,GAAG,gBAAgB;MACzB,UAAU,GAAG,GAAG,MAAM,CAAA,EAAA,EAAK,aAAa,CAAA;AACrD,MAAM,WAAW,GAAG,CAAA,EAAG,MAAM,IAAI,aAAa,CAAA,CAAE,CAAC;AACjD,MAAM,YAAY,GAAG,KAAK;AAE1B,MAAM,uBAAuB,GAAG,mCAAmC;AACnE,IAAI,wBAAwB,GAAG,CAAC;AAEhC;;;;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AAA,EAAA,sBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAMV,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AACF,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAMvC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;AAClD,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAEM,UAAA,CAAA;AAAhB,IAAA,KAAK;AAAkC,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AACvB,UAAA,CAAA;AAAhB,IAAA,KAAK;AAA+B,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AACpB,UAAA,CAAA;AAAhB,IAAA,KAAK;AAA+B,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAEI,UAAA,CAAA;AAAxC,IAAA,KAAK,CAAC,CAAA,CAAA,EAAI,UAAU,CAAA,QAAA,CAAU;AAAqC,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;AArDhE,sBAAsB,GAAA,UAAA,CAAA;IAD3BA,aAAa,CAAC,WAAW;AACpB,CAAA,EAAA,sBAAsB,CAoQ3B;AASD,qCAAe,sBAAsB;;;;"}
1
+ {"version":3,"file":"truncated-text.js","sources":["../../../../src/components/truncated-text/src/truncated-text.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAkBH,MAAM,aAAa,GAAG,gBAAgB;MACzB,UAAU,GAAG,GAAG,MAAM,CAAA,EAAA,EAAK,aAAa,CAAA;A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
10
- var styles = css(["@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds-custom--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds-custom--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds-custom--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds-custom--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds-custom--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds-custom--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds-custom--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds-custom--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds-custom--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}.cds-custom--assistive-text,.cds-custom--visually-hidden{clip:rect(0,0,0,0);block-size:1px;border:0;inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;visibility:inherit;white-space:nowrap}.cds-custom-aichat--truncated-text_button-collapse,.cds-custom-aichat--truncated-text_button-expand{border:none;cursor:pointer;font:inherit;line-height:inherit}:host(cds-custom-aichat-truncated-text){display:block;inline-size:100%}@media (prefers-reduced-motion:no-preference){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_transition{transition:max-height .11s cubic-bezier(.2,0,.38,.9)}}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content{-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-value,1);display:-webkit-box;overflow:hidden;text-overflow:clip;white-space:normal}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content:focus{outline-style:dotted}}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content.cds-custom-aichat--truncated-text_content--expanded{-webkit-line-clamp:none}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content.cds-custom-aichat--truncated-text_content--expand-type{max-block-size:var(--max-height-value,none)}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content ::slotted(*){display:inline}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content--closing{-webkit-line-clamp:none}:host(cds-custom-aichat-truncated-text) cds-custom-tooltip{display:inline-flex}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-collapse:focus,:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-expand:focus,:host(cds-custom-aichat-truncated-text) button:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-collapse:focus,:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-expand:focus,:host(cds-custom-aichat-truncated-text) button:focus{outline-style:dotted}}.cds-custom-aichat--truncated-text_button-collapse,.cds-custom-aichat--truncated-text_button-expand{color:var(--cds-link-primary,#0f62fe);padding:0 .125rem}.cds-custom-aichat--truncated-text_button-collapse.cds-custom-aichat--truncated-text_button-hide,.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-hide{display:none}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered{background-color:var(--cds-layer)}.cds-custom-aichat--truncated-text_button-expand:dir(ltr):before{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--cds-background,#fff) 0)}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered:dir(ltr):before{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--cds-layer) 0)}.cds-custom-aichat--truncated-text_button-expand:dir(rtl):before{background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,var(--cds-background,#fff) 0)}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered:dir(rtl):before{background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,var(--cds-layer) 0)}.cds-custom-aichat--truncated-text_button-collapse{background-color:transparent}"]);
10
+ var styles = css(["@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--assistive-text,.cds-custom--visually-hidden{clip:rect(0,0,0,0);block-size:1px;border:0;inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;visibility:inherit;white-space:nowrap}.cds-custom-aichat--truncated-text_button-collapse,.cds-custom-aichat--truncated-text_button-expand{border:none;cursor:pointer;font:inherit;line-height:inherit}:host(cds-custom-aichat-truncated-text){display:block;inline-size:100%}@media (prefers-reduced-motion:no-preference){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_transition{transition:max-height .11s cubic-bezier(.2,0,.38,.9)}}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content{-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-value,1);display:-webkit-box;overflow:hidden;text-overflow:clip;white-space:normal}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content:focus{outline-style:dotted}}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content.cds-custom-aichat--truncated-text_content--expanded{-webkit-line-clamp:none}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content.cds-custom-aichat--truncated-text_content--expand-type{max-block-size:var(--max-height-value,none)}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content ::slotted(*){display:inline}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_content--closing{-webkit-line-clamp:none}:host(cds-custom-aichat-truncated-text) cds-custom-tooltip{display:inline-flex}:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-collapse:focus,:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-expand:focus,:host(cds-custom-aichat-truncated-text) button:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-collapse:focus,:host(cds-custom-aichat-truncated-text) .cds-custom-aichat--truncated-text_button-expand:focus,:host(cds-custom-aichat-truncated-text) button:focus{outline-style:dotted}}.cds-custom-aichat--truncated-text_button-collapse,.cds-custom-aichat--truncated-text_button-expand{color:var(--cds-link-primary,#0f62fe);padding:0 .125rem}.cds-custom-aichat--truncated-text_button-collapse.cds-custom-aichat--truncated-text_button-hide,.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-hide{display:none}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered{background-color:var(--cds-layer)}.cds-custom-aichat--truncated-text_button-expand:dir(ltr):before{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--cds-background,#fff) 0)}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered:dir(ltr):before{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--cds-layer) 0)}.cds-custom-aichat--truncated-text_button-expand:dir(rtl):before{background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,var(--cds-background,#fff) 0)}.cds-custom-aichat--truncated-text_button-expand.cds-custom-aichat--truncated-text_button-layered:dir(rtl):before{background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,var(--cds-layer) 0)}.cds-custom-aichat--truncated-text_button-collapse{background-color:transparent}"]);
11
11
 
12
12
  export { styles as default };
13
13
  //# sourceMappingURL=truncated-text.scss.js.map
@@ -6,5 +6,5 @@
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import "./src/video-player.js";
10
- export { default as VideoPlayer } from "./src/video-player.js";
9
+ import './src/video-player.js';
10
+ export { default as VideoPlayer } from './src/video-player.js';
@@ -25,7 +25,7 @@ export interface ProviderConfig {
25
25
  src: string;
26
26
  language: string;
27
27
  label: string;
28
- kind?: "subtitles" | "captions" | "descriptions";
28
+ kind?: 'subtitles' | 'captions' | 'descriptions';
29
29
  default?: boolean;
30
30
  }>;
31
31
  /**
@@ -108,14 +108,14 @@ export declare abstract class BaseProvider {
108
108
  * @param element - The element to update
109
109
  * @param state - The current state (loading, ready, or error)
110
110
  */
111
- protected abstract updateAriaAttributes(element: HTMLElement, state: "loading" | "ready" | "error"): void;
111
+ protected abstract updateAriaAttributes(element: HTMLElement, state: 'loading' | 'ready' | 'error'): void;
112
112
  /**
113
113
  * Get the appropriate aria-label for a given state
114
114
  *
115
115
  * @param state - The current state
116
116
  * @returns The aria-label string
117
117
  */
118
- protected getStateLabel(state: "loading" | "ready" | "error"): string;
118
+ protected getStateLabel(state: 'loading' | 'ready' | 'error'): string;
119
119
  /**
120
120
  * Clean up the provider and remove any DOM elements or event listeners
121
121
  */
@@ -75,11 +75,11 @@ class BaseProvider {
75
75
  * @returns The aria-label string
76
76
  */
77
77
  getStateLabel(state) {
78
- const baseLabel = this.config.ariaLabel || "Video player";
78
+ const baseLabel = this.config.ariaLabel || 'Video player';
79
79
  const stateLabels = {
80
- loading: this.config.loadingLabel || "Loading",
81
- ready: this.config.readyLabel || "Ready",
82
- error: this.config.errorLabel || "Error",
80
+ loading: this.config.loadingLabel || 'Loading',
81
+ ready: this.config.readyLabel || 'Ready',
82
+ error: this.config.errorLabel || 'Error',
83
83
  };
84
84
  return `${baseLabel} - ${stateLabels[state]}`;
85
85
  }
@@ -88,7 +88,7 @@ class BaseProvider {
88
88
  */
89
89
  destroy() {
90
90
  if (this.container) {
91
- this.container.innerHTML = "";
91
+ this.container.innerHTML = '';
92
92
  this.container = null;
93
93
  }
94
94
  this.readyCallback = null;
@@ -15,7 +15,7 @@
15
15
  * Kaltura player implementation adapted from:
16
16
  * https://github.com/cookpete/react-player/blob/v2.15.1/src/players/Kaltura.js
17
17
  */
18
- import { BaseProvider, ProviderConfig } from "./base-provider.js";
18
+ import { BaseProvider, ProviderConfig } from './base-provider.js';
19
19
  declare global {
20
20
  interface Window {
21
21
  playerjs: any;
@@ -32,7 +32,7 @@ export declare class KalturaProvider extends BaseProvider {
32
32
  /**
33
33
  * Update aria attributes based on state
34
34
  */
35
- protected updateAriaAttributes(element: HTMLElement, state: "loading" | "ready" | "error"): void;
35
+ protected updateAriaAttributes(element: HTMLElement, state: 'loading' | 'ready' | 'error'): void;
36
36
  /**
37
37
  * Initialize the provider and create the iframe
38
38
  */
@@ -25,7 +25,7 @@ import { ScriptLoader } from '../../../shared/media-utils/script-loader.js';
25
25
  * Kaltura player implementation adapted from:
26
26
  * https://github.com/cookpete/react-player/blob/v2.15.1/src/players/Kaltura.js
27
27
  */
28
- const SDK_URL = "https://cdn.embed.ly/player-0.1.0.min.js";
28
+ const SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
29
29
  /**
30
30
  * Provider for Kaltura videos using the player.js API
31
31
  * Kaltura uses the player.js standard for iframe communication
@@ -41,8 +41,8 @@ class KalturaProvider extends BaseProvider {
41
41
  * Update aria attributes based on state
42
42
  */
43
43
  updateAriaAttributes(element, state) {
44
- element.setAttribute("aria-label", this.getStateLabel(state));
45
- element.setAttribute("aria-busy", state === "loading" ? "true" : "false");
44
+ element.setAttribute('aria-label', this.getStateLabel(state));
45
+ element.setAttribute('aria-busy', state === 'loading' ? 'true' : 'false');
46
46
  }
47
47
  /**
48
48
  * Initialize the provider and create the iframe
@@ -50,20 +50,20 @@ class KalturaProvider extends BaseProvider {
50
50
  async init(container, config) {
51
51
  await super.init(container, config);
52
52
  if (!this.container) {
53
- throw new Error("Container element is required");
53
+ throw new Error('Container element is required');
54
54
  }
55
55
  // Create iframe for Kaltura player. Sizing/positioning is handled by the
56
56
  // .cds-custom-aichat--video-player__provider iframe SCSS rule.
57
- this.iframe = document.createElement("iframe");
58
- this.iframe.setAttribute("frameborder", "0");
59
- this.iframe.setAttribute("scrolling", "no");
60
- this.iframe.setAttribute("allow", "encrypted-media; autoplay; fullscreen;");
61
- this.iframe.setAttribute("sandbox", "allow-scripts allow-downloads allow-forms allow-popups allow-same-origin");
62
- this.iframe.setAttribute("referrer-policy", "origin");
63
- this.iframe.setAttribute("role", "application");
57
+ this.iframe = document.createElement('iframe');
58
+ this.iframe.setAttribute('frameborder', '0');
59
+ this.iframe.setAttribute('scrolling', 'no');
60
+ this.iframe.setAttribute('allow', 'encrypted-media; autoplay; fullscreen;');
61
+ this.iframe.setAttribute('sandbox', 'allow-scripts allow-downloads allow-forms allow-popups allow-same-origin');
62
+ this.iframe.setAttribute('referrer-policy', 'origin');
63
+ this.iframe.setAttribute('role', 'application');
64
64
  // Set initial ARIA attributes for loading state
65
65
  if (config.ariaLabel) {
66
- this.updateAriaAttributes(this.iframe, "loading");
66
+ this.updateAriaAttributes(this.iframe, 'loading');
67
67
  }
68
68
  this.container.appendChild(this.iframe);
69
69
  // Load player.js API
@@ -91,7 +91,7 @@ class KalturaProvider extends BaseProvider {
91
91
  // Timeout after 5 seconds
92
92
  setTimeout(() => {
93
93
  if (!window.playerjs || !window.playerjs.Player) {
94
- reject(new Error("player.js API failed to load"));
94
+ reject(new Error('player.js API failed to load'));
95
95
  }
96
96
  }, 5000);
97
97
  });
@@ -101,7 +101,7 @@ class KalturaProvider extends BaseProvider {
101
101
  */
102
102
  async load(url) {
103
103
  if (!this.iframe) {
104
- throw new Error("Iframe not initialized");
104
+ throw new Error('Iframe not initialized');
105
105
  }
106
106
  // Wait for API to be ready
107
107
  if (!window.playerjs || !window.playerjs.Player) {
@@ -118,11 +118,11 @@ class KalturaProvider extends BaseProvider {
118
118
  // Create player.js instance
119
119
  this.player = new window.playerjs.Player(this.iframe);
120
120
  // Set up ready handler
121
- this.player.on("ready", () => {
121
+ this.player.on('ready', () => {
122
122
  // Arbitrary timeout required for event listeners to work
123
123
  setTimeout(() => {
124
124
  if (this.iframe) {
125
- this.updateAriaAttributes(this.iframe, "ready");
125
+ this.updateAriaAttributes(this.iframe, 'ready');
126
126
  }
127
127
  this.isReady = true;
128
128
  this.addListeners();
@@ -137,23 +137,23 @@ class KalturaProvider extends BaseProvider {
137
137
  if (!this.player) {
138
138
  return;
139
139
  }
140
- this.player.on("play", () => {
140
+ this.player.on('play', () => {
141
141
  this.triggerPlay();
142
142
  });
143
- this.player.on("pause", () => {
143
+ this.player.on('pause', () => {
144
144
  this.triggerPause();
145
145
  });
146
- this.player.on("ended", () => {
146
+ this.player.on('ended', () => {
147
147
  this.triggerPause();
148
148
  });
149
- this.player.on("error", (_error) => {
149
+ this.player.on('error', (_error) => {
150
150
  if (this.iframe) {
151
- this.updateAriaAttributes(this.iframe, "error");
151
+ this.updateAriaAttributes(this.iframe, 'error');
152
152
  }
153
153
  // Use the generic error message from config
154
- this.triggerError(new Error(this.config.errorMessage || "Failed to load video"));
154
+ this.triggerError(new Error(this.config.errorMessage || 'Failed to load video'));
155
155
  });
156
- this.player.on("timeupdate", (_data) => {
156
+ this.player.on('timeupdate', (_data) => {
157
157
  // Track time updates if needed in the future
158
158
  });
159
159
  }
@@ -15,7 +15,7 @@
15
15
  * Native file player implementation adapted from:
16
16
  * https://github.com/cookpete/react-player/blob/v2.15.1/src/players/FilePlayer.js
17
17
  */
18
- import { BaseProvider, ProviderConfig } from "./base-provider.js";
18
+ import { BaseProvider, ProviderConfig } from './base-provider.js';
19
19
  /**
20
20
  * Provider for native HTML5 video files
21
21
  * Supports: mp4, webm, ogv, mov, m4v, m3u8 (HLS), mpd (DASH)
@@ -25,7 +25,7 @@ export declare class NativeVideoProvider extends BaseProvider {
25
25
  /**
26
26
  * Update aria attributes based on state
27
27
  */
28
- protected updateAriaAttributes(element: HTMLElement, state: "loading" | "ready" | "error"): void;
28
+ protected updateAriaAttributes(element: HTMLElement, state: 'loading' | 'ready' | 'error'): void;
29
29
  /**
30
30
  * Initialize the provider and create the video element
31
31
  */
@@ -37,8 +37,8 @@ class NativeVideoProvider extends BaseProvider {
37
37
  * Update aria attributes based on state
38
38
  */
39
39
  updateAriaAttributes(element, state) {
40
- element.setAttribute("aria-label", this.getStateLabel(state));
41
- element.setAttribute("aria-busy", state === "loading" ? "true" : "false");
40
+ element.setAttribute('aria-label', this.getStateLabel(state));
41
+ element.setAttribute('aria-busy', state === 'loading' ? 'true' : 'false');
42
42
  }
43
43
  /**
44
44
  * Initialize the provider and create the video element
@@ -46,25 +46,25 @@ class NativeVideoProvider extends BaseProvider {
46
46
  async init(container, config) {
47
47
  await super.init(container, config);
48
48
  if (!this.container) {
49
- throw new Error("Container element is required");
49
+ throw new Error('Container element is required');
50
50
  }
51
51
  // Create video element. Sizing/positioning is handled by the
52
52
  // .cds-custom-aichat--video-player__provider video SCSS rule.
53
- this.videoElement = document.createElement("video");
53
+ this.videoElement = document.createElement('video');
54
54
  this.videoElement.controls = true;
55
- this.videoElement.setAttribute("controlsList", "nodownload");
55
+ this.videoElement.setAttribute('controlsList', 'nodownload');
56
56
  this.videoElement.playsInline = true;
57
- this.videoElement.crossOrigin = "anonymous";
57
+ this.videoElement.crossOrigin = 'anonymous';
58
58
  // Set initial ARIA attributes for loading state
59
59
  if (config.ariaLabel) {
60
- this.updateAriaAttributes(this.videoElement, "loading");
60
+ this.updateAriaAttributes(this.videoElement, 'loading');
61
61
  }
62
62
  // Add subtitle tracks if provided
63
63
  const videoElement = this.videoElement;
64
64
  if (config.subtitleTracks && config.subtitleTracks.length > 0) {
65
65
  config.subtitleTracks.forEach((track) => {
66
- const trackElement = document.createElement("track");
67
- trackElement.kind = track.kind || "subtitles";
66
+ const trackElement = document.createElement('track');
67
+ trackElement.kind = track.kind || 'subtitles';
68
68
  trackElement.src = track.src;
69
69
  trackElement.srclang = track.language;
70
70
  trackElement.label = track.label;
@@ -75,24 +75,24 @@ class NativeVideoProvider extends BaseProvider {
75
75
  });
76
76
  }
77
77
  // Set up event listeners
78
- this.videoElement.addEventListener("loadedmetadata", () => {
78
+ this.videoElement.addEventListener('loadedmetadata', () => {
79
79
  if (this.videoElement) {
80
- this.updateAriaAttributes(this.videoElement, "ready");
80
+ this.updateAriaAttributes(this.videoElement, 'ready');
81
81
  }
82
82
  this.triggerReady();
83
83
  });
84
- this.videoElement.addEventListener("play", () => {
84
+ this.videoElement.addEventListener('play', () => {
85
85
  this.triggerPlay();
86
86
  });
87
- this.videoElement.addEventListener("pause", () => {
87
+ this.videoElement.addEventListener('pause', () => {
88
88
  this.triggerPause();
89
89
  });
90
- this.videoElement.addEventListener("error", () => {
90
+ this.videoElement.addEventListener('error', () => {
91
91
  if (this.videoElement) {
92
- this.updateAriaAttributes(this.videoElement, "error");
92
+ this.updateAriaAttributes(this.videoElement, 'error');
93
93
  }
94
94
  // Use the generic error message from config
95
- this.triggerError(new Error(this.config.errorMessage || "Failed to load video"));
95
+ this.triggerError(new Error(this.config.errorMessage || 'Failed to load video'));
96
96
  });
97
97
  // Append to container
98
98
  this.container.appendChild(this.videoElement);
@@ -102,7 +102,7 @@ class NativeVideoProvider extends BaseProvider {
102
102
  */
103
103
  async load(url) {
104
104
  if (!this.videoElement) {
105
- throw new Error("Video element not initialized");
105
+ throw new Error('Video element not initialized');
106
106
  }
107
107
  this.videoElement.src = url;
108
108
  this.videoElement.load();
@@ -113,7 +113,7 @@ class NativeVideoProvider extends BaseProvider {
113
113
  }
114
114
  catch (error) {
115
115
  // Auto-play might be blocked by browser
116
- console.warn("Auto-play was prevented:", error);
116
+ console.warn('Auto-play was prevented:', error);
117
117
  }
118
118
  }
119
119
  }
@@ -123,7 +123,7 @@ class NativeVideoProvider extends BaseProvider {
123
123
  play() {
124
124
  if (this.videoElement) {
125
125
  this.videoElement.play().catch((error) => {
126
- console.warn("Play was prevented:", error);
126
+ console.warn('Play was prevented:', error);
127
127
  });
128
128
  }
129
129
  }
@@ -141,7 +141,7 @@ class NativeVideoProvider extends BaseProvider {
141
141
  destroy() {
142
142
  if (this.videoElement) {
143
143
  this.videoElement.pause();
144
- this.videoElement.removeAttribute("src");
144
+ this.videoElement.removeAttribute('src');
145
145
  this.videoElement.load();
146
146
  // Remove from DOM before calling super.destroy()
147
147
  if (this.videoElement.parentElement) {
@@ -15,7 +15,7 @@
15
15
  * Vimeo player implementation adapted from:
16
16
  * https://github.com/cookpete/react-player/blob/v2.15.1/src/players/Vimeo.js
17
17
  */
18
- import { BaseProvider, ProviderConfig } from "./base-provider.js";
18
+ import { BaseProvider, ProviderConfig } from './base-provider.js';
19
19
  declare global {
20
20
  interface Window {
21
21
  Vimeo: any;
@@ -32,7 +32,7 @@ export declare class VimeoProvider extends BaseProvider {
32
32
  /**
33
33
  * Update aria attributes based on state
34
34
  */
35
- protected updateAriaAttributes(element: HTMLElement, state: "loading" | "ready" | "error"): void;
35
+ protected updateAriaAttributes(element: HTMLElement, state: 'loading' | 'ready' | 'error'): void;
36
36
  /**
37
37
  * Initialize the provider and load Vimeo Player API
38
38
  */