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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2235) hide show
  1. package/bin/create-ai-chat-components-prefixed-build.js +18 -0
  2. package/bin/prefix-build.js +193 -0
  3. package/bin/prefix-dependencies.js +155 -0
  4. package/bin/prefix-layout.js +372 -0
  5. package/bin/prefix-modules.js +255 -0
  6. package/custom-elements.json +19635 -15376
  7. package/es/components/aichat-audio-player/aichat-audio-player.d.ts +138 -0
  8. package/es/components/aichat-audio-player/aichat-audio-player.js +391 -0
  9. package/es/components/aichat-audio-player/aichat-audio-player.js.map +1 -0
  10. package/es/components/aichat-audio-player/aichat-audio-player.scss.js +13 -0
  11. package/es/components/aichat-audio-player/aichat-audio-player.scss.js.map +1 -0
  12. package/es/components/aichat-audio-player/aichat-transcript.d.ts +63 -0
  13. package/es/components/aichat-audio-player/aichat-transcript.js +146 -0
  14. package/es/components/aichat-audio-player/aichat-transcript.js.map +1 -0
  15. package/es/components/aichat-audio-player/aichat-transcript.scss.js +13 -0
  16. package/es/components/aichat-audio-player/aichat-transcript.scss.js.map +1 -0
  17. package/es/components/aichat-audio-player/index.d.ts +13 -0
  18. package/es/components/aichat-audio-player/index.js +25 -0
  19. package/es/components/aichat-audio-player/index.js.map +1 -0
  20. package/es/components/aichat-audio-player/providers/base-provider.js.map +1 -0
  21. package/es/components/aichat-audio-player/providers/native-audio-provider.js.map +1 -0
  22. package/es/components/aichat-audio-player/providers/soundcloud-provider.js +200 -0
  23. package/es/components/aichat-audio-player/providers/soundcloud-provider.js.map +1 -0
  24. package/es/components/aichat-audio-player/utils/url-detector.js.map +1 -0
  25. package/es/components/aichat-autocomplete/aichat-autocomplete.d.ts +214 -0
  26. package/es/components/aichat-autocomplete/aichat-autocomplete.js +620 -0
  27. package/es/components/aichat-autocomplete/aichat-autocomplete.js.map +1 -0
  28. package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js +13 -0
  29. package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js.map +1 -0
  30. package/es/components/aichat-autocomplete/index.d.ts +11 -0
  31. package/es/components/aichat-autocomplete/index.js +23 -0
  32. package/es/components/aichat-autocomplete/index.js.map +1 -0
  33. package/es/components/aichat-button/aichat-button-skeleton.d.ts +34 -0
  34. package/es/components/aichat-button/aichat-button-skeleton.js +39 -0
  35. package/es/components/aichat-button/aichat-button-skeleton.js.map +1 -0
  36. package/es/components/aichat-button/aichat-button.d.ts +44 -0
  37. package/es/components/aichat-button/aichat-button.js +111 -0
  38. package/es/components/aichat-button/aichat-button.js.map +1 -0
  39. package/es/components/aichat-button/aichat-button.scss.js +13 -0
  40. package/es/components/aichat-button/aichat-button.scss.js.map +1 -0
  41. package/es/components/aichat-button/defs.js.map +1 -0
  42. package/es/components/aichat-button/index.d.ts +11 -0
  43. package/es/components/aichat-button/index.js +24 -0
  44. package/es/components/aichat-button/index.js.map +1 -0
  45. package/es/components/aichat-card/aichat-card-footer.d.ts +48 -0
  46. package/es/components/aichat-card/aichat-card-footer.js +141 -0
  47. package/es/components/aichat-card/aichat-card-footer.js.map +1 -0
  48. package/es/components/aichat-card/aichat-card-footer.scss.js +13 -0
  49. package/es/components/aichat-card/aichat-card-footer.scss.js.map +1 -0
  50. package/es/components/aichat-card/aichat-card-steps.d.ts +30 -0
  51. package/es/components/aichat-card/aichat-card-steps.js +93 -0
  52. package/es/components/aichat-card/aichat-card-steps.js.map +1 -0
  53. package/es/components/aichat-card/aichat-card-steps.scss.js +13 -0
  54. package/es/components/aichat-card/aichat-card-steps.scss.js.map +1 -0
  55. package/es/components/aichat-card/aichat-card.d.ts +34 -0
  56. package/es/components/aichat-card/aichat-card.js +69 -0
  57. package/es/components/aichat-card/aichat-card.js.map +1 -0
  58. package/es/components/aichat-card/aichat-card.scss.js +13 -0
  59. package/es/components/aichat-card/aichat-card.scss.js.map +1 -0
  60. package/es/components/aichat-card/index.d.ts +13 -0
  61. package/es/components/aichat-card/index.js +26 -0
  62. package/es/components/aichat-card/index.js.map +1 -0
  63. package/es/components/aichat-carousel/aichat-carousel.d.ts +53 -0
  64. package/es/components/aichat-carousel/aichat-carousel.js +189 -0
  65. package/es/components/aichat-carousel/aichat-carousel.js.map +1 -0
  66. package/es/components/aichat-carousel/aichat-carousel.scss.js +13 -0
  67. package/es/components/aichat-carousel/aichat-carousel.scss.js.map +1 -0
  68. package/es/components/aichat-carousel/index.d.ts +11 -0
  69. package/es/components/aichat-carousel/index.js +22 -0
  70. package/es/components/aichat-carousel/index.js.map +1 -0
  71. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.d.ts +60 -0
  72. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js +358 -0
  73. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js.map +1 -0
  74. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js +13 -0
  75. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js.map +1 -0
  76. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.d.ts +39 -0
  77. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js +107 -0
  78. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js.map +1 -0
  79. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js +13 -0
  80. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js.map +1 -0
  81. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.d.ts +52 -0
  82. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js +140 -0
  83. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js.map +1 -0
  84. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js +13 -0
  85. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js.map +1 -0
  86. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.d.ts +41 -0
  87. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js +179 -0
  88. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js.map +1 -0
  89. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js +13 -0
  90. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js.map +1 -0
  91. package/es/components/aichat-chain-of-thought/defs.js.map +1 -0
  92. package/es/components/aichat-chain-of-thought/index.d.ts +6 -0
  93. package/es/components/aichat-chain-of-thought/index.js +29 -0
  94. package/es/components/aichat-chain-of-thought/index.js.map +1 -0
  95. package/es/components/aichat-code-snippet/aichat-code-snippet.d.ts +218 -0
  96. package/es/components/aichat-code-snippet/aichat-code-snippet.js +998 -0
  97. package/es/components/aichat-code-snippet/aichat-code-snippet.js.map +1 -0
  98. package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js +13 -0
  99. package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js.map +1 -0
  100. package/es/components/aichat-code-snippet/codemirror/base-setup.js.map +1 -0
  101. package/es/components/aichat-code-snippet/codemirror/codemirror-loader.js.map +1 -0
  102. package/es/components/aichat-code-snippet/codemirror/content-sync.js.map +1 -0
  103. package/es/components/aichat-code-snippet/codemirror/detect-language.js.map +1 -0
  104. package/es/components/aichat-code-snippet/codemirror/diff-decorator.d.ts +30 -0
  105. package/es/components/aichat-code-snippet/codemirror/diff-decorator.js +80 -0
  106. package/es/components/aichat-code-snippet/codemirror/diff-decorator.js.map +1 -0
  107. package/es/components/aichat-code-snippet/codemirror/editor-manager.js.map +1 -0
  108. package/es/components/aichat-code-snippet/codemirror/language-controller.js.map +1 -0
  109. package/es/components/aichat-code-snippet/codemirror/language-data.js.map +1 -0
  110. package/es/components/aichat-code-snippet/codemirror/language-utils.js.map +1 -0
  111. package/es/components/aichat-code-snippet/codemirror/marker-utils.js.map +1 -0
  112. package/es/components/aichat-code-snippet/codemirror/theme.js.map +1 -0
  113. package/es/components/aichat-code-snippet/dom-utils.js.map +1 -0
  114. package/es/components/aichat-code-snippet/formatters.js +19 -0
  115. package/es/components/aichat-code-snippet/formatters.js.map +1 -0
  116. package/es/components/aichat-code-snippet/index.d.ts +7 -0
  117. package/es/components/aichat-code-snippet/index.js +24 -0
  118. package/es/components/aichat-code-snippet/index.js.map +1 -0
  119. package/es/components/aichat-code-snippet/layout-utils.js.map +1 -0
  120. package/es/components/aichat-code-snippet/streaming-manager.js.map +1 -0
  121. package/es/components/aichat-conversational-search/aichat-citation-card.d.ts +63 -0
  122. package/es/components/aichat-conversational-search/aichat-citation-card.js +207 -0
  123. package/es/components/aichat-conversational-search/aichat-citation-card.js.map +1 -0
  124. package/es/components/aichat-conversational-search/aichat-citation-card.scss.js +13 -0
  125. package/es/components/aichat-conversational-search/aichat-citation-card.scss.js.map +1 -0
  126. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.d.ts +66 -0
  127. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js +179 -0
  128. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js.map +1 -0
  129. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js +13 -0
  130. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js.map +1 -0
  131. package/es/components/aichat-conversational-search/citation-utils.d.ts +32 -0
  132. package/es/components/aichat-conversational-search/citation-utils.js +78 -0
  133. package/es/components/aichat-conversational-search/citation-utils.js.map +1 -0
  134. package/es/components/aichat-conversational-search/index.d.ts +14 -0
  135. package/es/components/aichat-conversational-search/index.js +25 -0
  136. package/es/components/aichat-conversational-search/index.js.map +1 -0
  137. package/es/components/aichat-feedback/aichat-feedback-buttons.d.ts +70 -0
  138. package/es/components/aichat-feedback/aichat-feedback-buttons.js +188 -0
  139. package/es/components/aichat-feedback/aichat-feedback-buttons.js.map +1 -0
  140. package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js +13 -0
  141. package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js.map +1 -0
  142. package/es/components/aichat-feedback/aichat-feedback.d.ts +143 -0
  143. package/es/components/aichat-feedback/aichat-feedback.js +324 -0
  144. package/es/components/aichat-feedback/aichat-feedback.js.map +1 -0
  145. package/es/components/aichat-feedback/aichat-feedback.scss.js +13 -0
  146. package/es/components/aichat-feedback/aichat-feedback.scss.js.map +1 -0
  147. package/es/components/aichat-feedback/index.d.ts +3 -0
  148. package/es/components/aichat-feedback/index.js +25 -0
  149. package/es/components/aichat-feedback/index.js.map +1 -0
  150. package/es/components/aichat-file-uploads/aichat-file-upload-item.d.ts +117 -0
  151. package/es/components/aichat-file-uploads/aichat-file-upload-item.js +482 -0
  152. package/es/components/aichat-file-uploads/aichat-file-upload-item.js.map +1 -0
  153. package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js +13 -0
  154. package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js.map +1 -0
  155. package/es/components/aichat-file-uploads/aichat-file-uploads.d.ts +136 -0
  156. package/es/components/aichat-file-uploads/aichat-file-uploads.js +346 -0
  157. package/es/components/aichat-file-uploads/aichat-file-uploads.js.map +1 -0
  158. package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js +13 -0
  159. package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js.map +1 -0
  160. package/es/components/aichat-file-uploads/file-type-icon.js.map +1 -0
  161. package/es/components/aichat-file-uploads/index.d.ts +12 -0
  162. package/es/components/aichat-file-uploads/index.js +24 -0
  163. package/es/components/aichat-file-uploads/index.js.map +1 -0
  164. package/es/components/aichat-history/aichat-history-content.d.ts +26 -0
  165. package/es/components/aichat-history/aichat-history-content.js +77 -0
  166. package/es/components/aichat-history/aichat-history-content.js.map +1 -0
  167. package/es/components/aichat-history/aichat-history-delete-panel.d.ts +51 -0
  168. package/es/components/aichat-history/aichat-history-delete-panel.js +147 -0
  169. package/es/components/aichat-history/aichat-history-delete-panel.js.map +1 -0
  170. package/es/components/aichat-history/aichat-history-header.d.ts +36 -0
  171. package/es/components/aichat-history/aichat-history-header.js +99 -0
  172. package/es/components/aichat-history/aichat-history-header.js.map +1 -0
  173. package/es/components/aichat-history/aichat-history-loading.d.ts +19 -0
  174. package/es/components/aichat-history/aichat-history-loading.js +60 -0
  175. package/es/components/aichat-history/aichat-history-loading.js.map +1 -0
  176. package/es/components/aichat-history/aichat-history-panel-item-input.d.ts +144 -0
  177. package/es/components/aichat-history/aichat-history-panel-item-input.js +278 -0
  178. package/es/components/aichat-history/aichat-history-panel-item-input.js.map +1 -0
  179. package/es/components/aichat-history/aichat-history-panel-item.d.ts +149 -0
  180. package/es/components/aichat-history/aichat-history-panel-item.js +338 -0
  181. package/es/components/aichat-history/aichat-history-panel-item.js.map +1 -0
  182. package/es/components/aichat-history/aichat-history-panel-items.d.ts +14 -0
  183. package/es/components/aichat-history/aichat-history-panel-items.js +38 -0
  184. package/es/components/aichat-history/aichat-history-panel-items.js.map +1 -0
  185. package/es/components/aichat-history/aichat-history-panel-menu.d.ts +13 -0
  186. package/es/components/aichat-history/aichat-history-panel-menu.js +34 -0
  187. package/es/components/aichat-history/aichat-history-panel-menu.js.map +1 -0
  188. package/es/components/aichat-history/aichat-history-panel.d.ts +28 -0
  189. package/es/components/aichat-history/aichat-history-panel.js +66 -0
  190. package/es/components/aichat-history/aichat-history-panel.js.map +1 -0
  191. package/es/components/aichat-history/aichat-history-search-item.d.ts +45 -0
  192. package/es/components/aichat-history/aichat-history-search-item.js +96 -0
  193. package/es/components/aichat-history/aichat-history-search-item.js.map +1 -0
  194. package/es/components/aichat-history/aichat-history-shell.d.ts +26 -0
  195. package/es/components/aichat-history/aichat-history-shell.js +88 -0
  196. package/es/components/aichat-history/aichat-history-shell.js.map +1 -0
  197. package/es/components/aichat-history/aichat-history-toolbar.d.ts +101 -0
  198. package/es/components/aichat-history/aichat-history-toolbar.js +112 -0
  199. package/es/components/aichat-history/aichat-history-toolbar.js.map +1 -0
  200. package/es/components/aichat-history/chat-history.scss.js +13 -0
  201. package/es/components/aichat-history/index.d.ts +20 -0
  202. package/es/components/aichat-history/index.js +45 -0
  203. package/es/components/aichat-history/index.js.map +1 -0
  204. package/es/components/aichat-launcher/aichat-launcher.d.ts +68 -0
  205. package/es/components/aichat-launcher/aichat-launcher.js +149 -0
  206. package/es/components/aichat-launcher/aichat-launcher.js.map +1 -0
  207. package/es/components/aichat-launcher/aichat-launcher.scss.js +13 -0
  208. package/es/components/aichat-launcher/aichat-launcher.scss.js.map +1 -0
  209. package/es/components/aichat-launcher/index.d.ts +11 -0
  210. package/es/components/aichat-launcher/index.js +23 -0
  211. package/es/components/aichat-launcher/index.js.map +1 -0
  212. package/es/components/aichat-markdown/aichat-markdown.d.ts +147 -0
  213. package/es/components/aichat-markdown/aichat-markdown.js +885 -0
  214. package/es/components/aichat-markdown/aichat-markdown.js.map +1 -0
  215. package/es/components/aichat-markdown/aichat-markdown.scss.js +13 -0
  216. package/es/components/aichat-markdown/aichat-markdown.scss.js.map +1 -0
  217. package/es/components/aichat-markdown/index.d.ts +11 -0
  218. package/es/components/aichat-markdown/index.js +28 -0
  219. package/es/components/aichat-markdown/index.js.map +1 -0
  220. package/es/components/aichat-markdown/inline-markdown.js +104 -0
  221. package/es/components/aichat-markdown/inline-markdown.js.map +1 -0
  222. package/es/components/aichat-markdown/inline-markdown.scss.js +13 -0
  223. package/es/components/aichat-markdown/inline-run-projection.scss.js +13 -0
  224. package/es/components/aichat-markdown/markdown-renderer-types.d.ts +397 -0
  225. package/es/components/aichat-markdown/markdown-renderer.d.ts +23 -0
  226. package/es/components/aichat-markdown/markdown-renderer.js +639 -0
  227. package/es/components/aichat-markdown/markdown-renderer.js.map +1 -0
  228. package/es/components/aichat-markdown/markdown-token-tree.js +357 -0
  229. package/es/components/aichat-markdown/markdown-token-tree.js.map +1 -0
  230. package/es/components/aichat-markdown/plugins/markdown-it-attrs.js.map +1 -0
  231. package/es/components/aichat-markdown/plugins/markdown-it-highlight.js.map +1 -0
  232. package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js +76 -0
  233. package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js.map +1 -0
  234. package/es/components/aichat-markdown/utils/html-helpers.d.ts +5 -0
  235. package/es/components/aichat-markdown/utils/html-helpers.js.map +1 -0
  236. package/es/components/aichat-markdown/utils/inline-run-projection.d.ts +28 -0
  237. package/es/components/aichat-markdown/utils/inline-run-projection.js +192 -0
  238. package/es/components/aichat-markdown/utils/inline-run-projection.js.map +1 -0
  239. package/es/components/aichat-markdown/utils/inline-validation.js.map +1 -0
  240. package/es/components/aichat-markdown/utils/lit-directives.js.map +1 -0
  241. package/es/components/aichat-markdown/utils/plugin-fallback.js +239 -0
  242. package/es/components/aichat-markdown/utils/plugin-fallback.js.map +1 -0
  243. package/es/components/aichat-markdown/utils/plugin-host-container.d.ts +181 -0
  244. package/es/components/aichat-markdown/utils/plugin-host-container.js +165 -0
  245. package/es/components/aichat-markdown/utils/plugin-host-container.js.map +1 -0
  246. package/es/components/aichat-markdown/utils/slot-names.js +81 -0
  247. package/es/components/aichat-markdown/utils/slot-names.js.map +1 -0
  248. package/es/components/aichat-markdown/utils/streaming-table.js.map +1 -0
  249. package/es/components/aichat-markdown/utils/table-helpers.d.ts +32 -0
  250. package/es/components/aichat-markdown/utils/table-helpers.js +203 -0
  251. package/es/components/aichat-markdown/utils/table-helpers.js.map +1 -0
  252. package/es/components/aichat-message-byline/aichat-message-byline.d.ts +49 -0
  253. package/es/components/aichat-message-byline/aichat-message-byline.js +121 -0
  254. package/es/components/aichat-message-byline/aichat-message-byline.js.map +1 -0
  255. package/es/components/aichat-message-byline/aichat-message-byline.scss.js +13 -0
  256. package/es/components/aichat-message-byline/aichat-message-byline.scss.js.map +1 -0
  257. package/es/components/aichat-message-byline/index.d.ts +10 -0
  258. package/es/components/aichat-message-byline/index.js +22 -0
  259. package/es/components/aichat-message-byline/index.js.map +1 -0
  260. package/es/components/aichat-message-item-shell/aichat-message-item-shell.d.ts +68 -0
  261. package/es/components/aichat-message-item-shell/aichat-message-item-shell.js +147 -0
  262. package/es/components/aichat-message-item-shell/aichat-message-item-shell.js.map +1 -0
  263. package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js +13 -0
  264. package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js.map +1 -0
  265. package/es/components/aichat-message-item-shell/index.d.ts +11 -0
  266. package/es/components/aichat-message-item-shell/index.js +22 -0
  267. package/es/components/aichat-message-item-shell/index.js.map +1 -0
  268. package/es/components/aichat-messages-shell/aichat-messages-shell.d.ts +168 -0
  269. package/es/components/aichat-messages-shell/aichat-messages-shell.js +502 -0
  270. package/es/components/aichat-messages-shell/aichat-messages-shell.js.map +1 -0
  271. package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js +13 -0
  272. package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js.map +1 -0
  273. package/es/components/aichat-messages-shell/index.d.ts +13 -0
  274. package/es/components/aichat-messages-shell/index.js +23 -0
  275. package/es/components/aichat-messages-shell/index.js.map +1 -0
  276. package/es/components/aichat-messages-shell/messages-scroll-controller.d.ts +266 -0
  277. package/es/components/aichat-messages-shell/messages-scroll-controller.js +1319 -0
  278. package/es/components/aichat-messages-shell/messages-scroll-controller.js.map +1 -0
  279. package/es/components/aichat-processing/aichat-processing.d.ts +24 -0
  280. package/es/components/aichat-processing/aichat-processing.js +66 -0
  281. package/es/components/aichat-processing/aichat-processing.js.map +1 -0
  282. package/es/components/aichat-processing/aichat-processing.scss.js +13 -0
  283. package/es/components/aichat-processing/aichat-processing.scss.js.map +1 -0
  284. package/es/components/aichat-processing/index.d.ts +2 -0
  285. package/es/components/aichat-processing/index.js +22 -0
  286. package/es/components/aichat-processing/index.js.map +1 -0
  287. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.d.ts +86 -0
  288. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js +268 -0
  289. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js.map +1 -0
  290. package/es/components/aichat-prompt-line/aichat-error-message.d.ts +47 -0
  291. package/es/components/aichat-prompt-line/aichat-error-message.js +132 -0
  292. package/es/components/aichat-prompt-line/aichat-error-message.js.map +1 -0
  293. package/es/components/aichat-prompt-line/aichat-error-message.scss.js +13 -0
  294. package/es/components/aichat-prompt-line/aichat-error-message.scss.js.map +1 -0
  295. package/es/components/aichat-prompt-line/aichat-input-send-control.d.ts +53 -0
  296. package/es/components/aichat-prompt-line/aichat-input-send-control.js +181 -0
  297. package/es/components/aichat-prompt-line/aichat-input-send-control.js.map +1 -0
  298. package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js +13 -0
  299. package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js.map +1 -0
  300. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.d.ts +124 -0
  301. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js +272 -0
  302. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js.map +1 -0
  303. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js +13 -0
  304. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js.map +1 -0
  305. package/es/components/aichat-prompt-line/aichat-prompt-line.d.ts +213 -0
  306. package/es/components/aichat-prompt-line/aichat-prompt-line.js +592 -0
  307. package/es/components/aichat-prompt-line/aichat-prompt-line.js.map +1 -0
  308. package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js +13 -0
  309. package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js.map +1 -0
  310. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.d.ts +43 -0
  311. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js +90 -0
  312. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js.map +1 -0
  313. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js +13 -0
  314. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js.map +1 -0
  315. package/es/components/aichat-prompt-line/autocomplete-controller.d.ts +148 -0
  316. package/es/components/aichat-prompt-line/autocomplete-controller.js +503 -0
  317. package/es/components/aichat-prompt-line/autocomplete-controller.js.map +1 -0
  318. package/es/components/aichat-prompt-line/index.d.ts +25 -0
  319. package/es/components/aichat-prompt-line/index.js +50 -0
  320. package/es/components/aichat-prompt-line/index.js.map +1 -0
  321. package/es/components/aichat-prompt-line/prompt-line-constants.d.ts +35 -0
  322. package/es/components/aichat-prompt-line/prompt-line-constants.js +42 -0
  323. package/es/components/aichat-prompt-line/prompt-line-constants.js.map +1 -0
  324. package/es/components/aichat-prompt-line/prompt-line-controller.d.ts +122 -0
  325. package/es/components/aichat-prompt-line/prompt-line-mouse-focus.js.map +1 -0
  326. package/es/components/aichat-prompt-line/prompt-line-rich-loader.js.map +1 -0
  327. package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js +446 -0
  328. package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js.map +1 -0
  329. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.d.ts +68 -0
  330. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js +394 -0
  331. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js.map +1 -0
  332. package/es/components/aichat-prompt-line/tiptap/build-extensions.d.ts +47 -0
  333. package/es/components/aichat-prompt-line/tiptap/build-extensions.js.map +1 -0
  334. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.d.ts +36 -0
  335. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js +112 -0
  336. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js.map +1 -0
  337. package/es/components/aichat-prompt-line/tiptap/carbon-mention.js.map +1 -0
  338. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.d.ts +34 -0
  339. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js +99 -0
  340. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js.map +1 -0
  341. package/es/components/aichat-prompt-line/tiptap/chat-enter.d.ts +20 -0
  342. package/es/components/aichat-prompt-line/tiptap/chat-enter.js +49 -0
  343. package/es/components/aichat-prompt-line/tiptap/chat-enter.js.map +1 -0
  344. package/es/components/aichat-prompt-line/tiptap/editor-styles.js +83 -0
  345. package/es/components/aichat-prompt-line/tiptap/editor-styles.js.map +1 -0
  346. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.d.ts +64 -0
  347. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js +80 -0
  348. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js.map +1 -0
  349. package/es/components/aichat-prompt-line/tiptap/index.d.ts +37 -0
  350. package/es/components/aichat-prompt-line/tiptap/json-utils.js.map +1 -0
  351. package/es/components/aichat-prompt-line/tiptap/keymap.d.ts +34 -0
  352. package/es/components/aichat-prompt-line/tiptap/keymap.js +61 -0
  353. package/es/components/aichat-prompt-line/tiptap/keymap.js.map +1 -0
  354. package/es/components/aichat-prompt-line/tiptap/origin-meta.js.map +1 -0
  355. package/es/components/aichat-prompt-line/tiptap/plain-text-paste.js.map +1 -0
  356. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.d.ts +89 -0
  357. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js +43 -0
  358. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js.map +1 -0
  359. package/es/components/aichat-prompt-line/tiptap/render-token-chip.js +92 -0
  360. package/es/components/aichat-prompt-line/tiptap/render-token-chip.js.map +1 -0
  361. package/es/components/aichat-prompt-line/tiptap/resolve-config-items.js.map +1 -0
  362. package/es/components/aichat-prompt-line/tiptap/strip-presentation-fields.js.map +1 -0
  363. package/es/components/aichat-prompt-line/tiptap/token-node-view.js.map +1 -0
  364. package/es/components/aichat-prompt-line/tiptap/trigger-utils.d.ts +42 -0
  365. package/es/components/aichat-prompt-line/tiptap/trigger-utils.js +69 -0
  366. package/es/components/aichat-prompt-line/tiptap/trigger-utils.js.map +1 -0
  367. package/es/components/aichat-prompt-line/tiptap/types.d.ts +228 -0
  368. package/es/components/aichat-prompt-line/tiptap/typing-indicator.d.ts +18 -0
  369. package/es/components/aichat-prompt-line/tiptap/typing-indicator.js +92 -0
  370. package/es/components/aichat-prompt-line/tiptap/typing-indicator.js.map +1 -0
  371. package/es/components/aichat-prompt-line/tiptap/value-sync.d.ts +17 -0
  372. package/es/components/aichat-prompt-line/tiptap/value-sync.js +57 -0
  373. package/es/components/aichat-prompt-line/tiptap/value-sync.js.map +1 -0
  374. package/es/components/aichat-prompt-line/types.d.ts +125 -0
  375. package/es/components/aichat-prompt-line/types.js.map +1 -0
  376. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.d.ts +63 -0
  377. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js +299 -0
  378. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js.map +1 -0
  379. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js +13 -0
  380. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js.map +1 -0
  381. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.d.ts +42 -0
  382. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js +106 -0
  383. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js.map +1 -0
  384. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js +13 -0
  385. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js.map +1 -0
  386. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.d.ts +52 -0
  387. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js +171 -0
  388. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js.map +1 -0
  389. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js +13 -0
  390. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js.map +1 -0
  391. package/es/components/aichat-reasoning-steps/index.d.ts +5 -0
  392. package/es/components/aichat-reasoning-steps/index.js +26 -0
  393. package/es/components/aichat-reasoning-steps/index.js.map +1 -0
  394. package/es/components/aichat-shell/aichat-chat-header.d.ts +183 -0
  395. package/es/components/aichat-shell/aichat-chat-header.js +412 -0
  396. package/es/components/aichat-shell/aichat-chat-header.js.map +1 -0
  397. package/es/components/aichat-shell/aichat-chat-header.scss.js +13 -0
  398. package/es/components/aichat-shell/aichat-chat-header.scss.js.map +1 -0
  399. package/es/components/aichat-shell/aichat-panel.d.ts +121 -0
  400. package/es/components/aichat-shell/aichat-panel.js +531 -0
  401. package/es/components/aichat-shell/aichat-panel.js.map +1 -0
  402. package/es/components/aichat-shell/aichat-panel.scss.js +13 -0
  403. package/es/components/aichat-shell/aichat-panel.scss.js.map +1 -0
  404. package/es/components/aichat-shell/aichat-shell.d.ts +143 -0
  405. package/es/components/aichat-shell/aichat-shell.js +878 -0
  406. package/es/components/aichat-shell/aichat-shell.js.map +1 -0
  407. package/es/components/aichat-shell/aichat-shell.scss.js +13 -0
  408. package/es/components/aichat-shell/aichat-shell.scss.js.map +1 -0
  409. package/es/components/aichat-shell/corner-manager.js +101 -0
  410. package/es/components/aichat-shell/corner-manager.js.map +1 -0
  411. package/es/components/aichat-shell/index.d.ts +15 -0
  412. package/es/components/aichat-shell/index.js +27 -0
  413. package/es/components/aichat-shell/index.js.map +1 -0
  414. package/es/components/aichat-shell/initialization-manager.js.map +1 -0
  415. package/es/components/aichat-shell/panel-manager.d.ts +42 -0
  416. package/es/components/aichat-shell/panel-manager.js +262 -0
  417. package/es/components/aichat-shell/panel-manager.js.map +1 -0
  418. package/es/components/aichat-shell/resize-observer-manager.js.map +1 -0
  419. package/es/components/aichat-shell/slot-observer.js.map +1 -0
  420. package/es/components/aichat-shell/workspace-manager-utils.js.map +1 -0
  421. package/es/components/aichat-shell/workspace-manager.d.ts +173 -0
  422. package/es/components/aichat-shell/workspace-manager.js +717 -0
  423. package/es/components/aichat-shell/workspace-manager.js.map +1 -0
  424. package/es/components/aichat-table/aichat-table.d.ts +212 -0
  425. package/es/components/aichat-table/aichat-table.js +640 -0
  426. package/es/components/aichat-table/aichat-table.js.map +1 -0
  427. package/es/components/aichat-table/aichat-table.scss.js +13 -0
  428. package/es/components/aichat-table/aichat-table.scss.js.map +1 -0
  429. package/es/components/aichat-table/index.d.ts +4 -0
  430. package/es/components/aichat-table/index.js +22 -0
  431. package/es/components/aichat-table/index.js.map +1 -0
  432. package/es/components/aichat-table/table-loader.js.map +1 -0
  433. package/es/components/aichat-table/table-pagination.template.d.ts +27 -0
  434. package/es/components/aichat-table/table-pagination.template.js +55 -0
  435. package/es/components/aichat-table/table-pagination.template.js.map +1 -0
  436. package/es/components/aichat-table/table-skeleton.template.d.ts +6 -0
  437. package/es/components/aichat-table/table-skeleton.template.js +35 -0
  438. package/es/components/aichat-table/table-skeleton.template.js.map +1 -0
  439. package/es/components/aichat-table/table.template.d.ts +10 -0
  440. package/es/components/aichat-table/table.template.js +96 -0
  441. package/es/components/aichat-table/table.template.js.map +1 -0
  442. package/es/components/aichat-toolbar/aichat-toolbar.d.ts +93 -0
  443. package/es/components/aichat-toolbar/aichat-toolbar.js +367 -0
  444. package/es/components/aichat-toolbar/aichat-toolbar.js.map +1 -0
  445. package/es/components/aichat-toolbar/aichat-toolbar.scss.js +13 -0
  446. package/es/components/aichat-toolbar/aichat-toolbar.scss.js.map +1 -0
  447. package/es/components/aichat-toolbar/index.d.ts +3 -0
  448. package/es/components/aichat-toolbar/index.js +23 -0
  449. package/es/components/aichat-toolbar/index.js.map +1 -0
  450. package/es/components/aichat-truncated-text/aichat-truncated-text.d.ts +83 -0
  451. package/es/components/aichat-truncated-text/aichat-truncated-text.js +291 -0
  452. package/es/components/aichat-truncated-text/aichat-truncated-text.js.map +1 -0
  453. package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js +13 -0
  454. package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js.map +1 -0
  455. package/es/components/aichat-truncated-text/index.d.ts +10 -0
  456. package/es/components/aichat-truncated-text/index.js +22 -0
  457. package/es/components/aichat-truncated-text/index.js.map +1 -0
  458. package/es/components/aichat-user-avatar/aichat-user-avatar.d.ts +47 -0
  459. package/es/components/aichat-user-avatar/aichat-user-avatar.js +151 -0
  460. package/es/components/aichat-user-avatar/aichat-user-avatar.js.map +1 -0
  461. package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js +13 -0
  462. package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js.map +1 -0
  463. package/es/components/aichat-user-avatar/index.d.ts +10 -0
  464. package/es/components/aichat-user-avatar/index.js +22 -0
  465. package/es/components/aichat-user-avatar/index.js.map +1 -0
  466. package/es/components/aichat-user-message-content/aichat-user-message-content.d.ts +76 -0
  467. package/es/components/aichat-user-message-content/aichat-user-message-content.js +231 -0
  468. package/es/components/aichat-user-message-content/aichat-user-message-content.js.map +1 -0
  469. package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js +13 -0
  470. package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js.map +1 -0
  471. package/es/components/aichat-user-message-content/index.d.ts +11 -0
  472. package/es/components/aichat-user-message-content/index.js +23 -0
  473. package/es/components/aichat-user-message-content/index.js.map +1 -0
  474. package/es/components/aichat-user-message-content/split-run-breaks.d.ts +21 -0
  475. package/es/components/aichat-user-message-content/split-run-breaks.js +36 -0
  476. package/es/components/aichat-user-message-content/split-run-breaks.js.map +1 -0
  477. package/es/components/aichat-video-player/aichat-video-player.d.ts +151 -0
  478. package/es/components/aichat-video-player/aichat-video-player.js +417 -0
  479. package/es/components/aichat-video-player/aichat-video-player.js.map +1 -0
  480. package/es/components/aichat-video-player/aichat-video-player.scss.js +13 -0
  481. package/es/components/aichat-video-player/aichat-video-player.scss.js.map +1 -0
  482. package/es/components/aichat-video-player/index.d.ts +10 -0
  483. package/es/components/aichat-video-player/index.js +22 -0
  484. package/es/components/aichat-video-player/index.js.map +1 -0
  485. package/es/components/aichat-video-player/providers/base-provider.js.map +1 -0
  486. package/es/components/aichat-video-player/providers/kaltura-provider.js +192 -0
  487. package/es/components/aichat-video-player/providers/kaltura-provider.js.map +1 -0
  488. package/es/components/aichat-video-player/providers/native-video-provider.js +158 -0
  489. package/es/components/aichat-video-player/providers/native-video-provider.js.map +1 -0
  490. package/es/components/aichat-video-player/providers/vimeo-provider.js +194 -0
  491. package/es/components/aichat-video-player/providers/vimeo-provider.js.map +1 -0
  492. package/es/components/aichat-video-player/providers/youtube-provider.js +215 -0
  493. package/es/components/aichat-video-player/providers/youtube-provider.js.map +1 -0
  494. package/es/components/aichat-video-player/utils/url-detector.js.map +1 -0
  495. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.d.ts +18 -0
  496. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js +50 -0
  497. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js.map +1 -0
  498. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.d.ts +40 -0
  499. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js +149 -0
  500. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js.map +1 -0
  501. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js +13 -0
  502. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js.map +1 -0
  503. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.d.ts +43 -0
  504. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js +147 -0
  505. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js.map +1 -0
  506. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js +13 -0
  507. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js.map +1 -0
  508. package/es/components/aichat-workspace-shell/aichat-workspace-shell.d.ts +31 -0
  509. package/es/components/aichat-workspace-shell/aichat-workspace-shell.js +131 -0
  510. package/es/components/aichat-workspace-shell/aichat-workspace-shell.js.map +1 -0
  511. package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js +13 -0
  512. package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js.map +1 -0
  513. package/es/components/aichat-workspace-shell/header-collapsible-manager.js.map +1 -0
  514. package/es/components/aichat-workspace-shell/index.d.ts +8 -0
  515. package/es/components/aichat-workspace-shell/index.js +29 -0
  516. package/es/components/aichat-workspace-shell/index.js.map +1 -0
  517. package/es/components/audio-player/index.d.ts +1 -12
  518. package/es/components/audio-player/index.js +3 -2
  519. package/es/components/audio-player/index.js.map +1 -1
  520. package/es/components/audio-player/src/audio-player.d.ts +2 -132
  521. package/es/components/audio-player/src/audio-player.js +1 -385
  522. package/es/components/audio-player/src/audio-player.js.map +1 -1
  523. package/es/components/audio-player/src/audio-player.scss.d.ts +3 -0
  524. package/es/components/audio-player/src/audio-player.scss.js +9 -3
  525. package/es/components/audio-player/src/audio-player.scss.js.map +1 -1
  526. package/es/components/audio-player/src/providers/base-provider.d.ts +1 -125
  527. package/es/components/audio-player/src/providers/base-provider.js +1 -132
  528. package/es/components/audio-player/src/providers/base-provider.js.map +1 -1
  529. package/es/components/audio-player/src/providers/native-audio-provider.d.ts +1 -49
  530. package/es/components/audio-player/src/providers/native-audio-provider.js +1 -143
  531. package/es/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
  532. package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +1 -61
  533. package/es/components/audio-player/src/providers/soundcloud-provider.js +1 -192
  534. package/es/components/audio-player/src/providers/soundcloud-provider.js.map +1 -1
  535. package/es/components/audio-player/src/transcript.d.ts +2 -58
  536. package/es/components/audio-player/src/transcript.js +1 -155
  537. package/es/components/audio-player/src/transcript.js.map +1 -1
  538. package/es/components/audio-player/src/transcript.scss.d.ts +3 -0
  539. package/es/components/audio-player/src/transcript.scss.js +9 -3
  540. package/es/components/audio-player/src/transcript.scss.js.map +1 -1
  541. package/es/components/audio-player/src/utils/url-detector.d.ts +1 -32
  542. package/es/components/audio-player/src/utils/url-detector.js +1 -55
  543. package/es/components/audio-player/src/utils/url-detector.js.map +1 -1
  544. package/es/components/card/index.d.ts +1 -11
  545. package/es/components/card/index.js +4 -3
  546. package/es/components/card/index.js.map +1 -1
  547. package/es/components/card/src/card-footer.d.ts +2 -44
  548. package/es/components/card/src/card-footer.js +1 -131
  549. package/es/components/card/src/card-footer.js.map +1 -1
  550. package/es/components/card/src/card-footer.scss.d.ts +3 -0
  551. package/es/components/card/src/card-footer.scss.js +9 -3
  552. package/es/components/card/src/card-footer.scss.js.map +1 -1
  553. package/es/components/card/src/card-steps.d.ts +2 -29
  554. package/es/components/card/src/card-steps.js +1 -83
  555. package/es/components/card/src/card-steps.js.map +1 -1
  556. package/es/components/card/src/card-steps.scss.d.ts +3 -0
  557. package/es/components/card/src/card-steps.scss.js +9 -3
  558. package/es/components/card/src/card-steps.scss.js.map +1 -1
  559. package/es/components/card/src/card.d.ts +2 -28
  560. package/es/components/card/src/card.js +1 -58
  561. package/es/components/card/src/card.js.map +1 -1
  562. package/es/components/card/src/card.scss.d.ts +3 -0
  563. package/es/components/card/src/card.scss.js +9 -3
  564. package/es/components/card/src/card.scss.js.map +1 -1
  565. package/es/components/carousel/index.d.ts +1 -9
  566. package/es/components/carousel/index.js +2 -1
  567. package/es/components/carousel/index.js.map +1 -1
  568. package/es/components/carousel/src/carousel.d.ts +2 -39
  569. package/es/components/carousel/src/carousel.js +1 -122
  570. package/es/components/carousel/src/carousel.js.map +1 -1
  571. package/es/components/carousel/src/carousel.scss.d.ts +3 -0
  572. package/es/components/carousel/src/carousel.scss.js +9 -3
  573. package/es/components/carousel/src/carousel.scss.js.map +1 -1
  574. package/es/components/chain-of-thought/defs.d.ts +1 -54
  575. package/es/components/chain-of-thought/defs.js +1 -30
  576. package/es/components/chain-of-thought/defs.js.map +1 -1
  577. package/es/components/chain-of-thought/index.d.ts +2 -10
  578. package/es/components/chain-of-thought/index.js +6 -5
  579. package/es/components/chain-of-thought/index.js.map +1 -1
  580. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +2 -47
  581. package/es/components/chain-of-thought/src/chain-of-thought-step.js +1 -340
  582. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  583. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.d.ts +3 -0
  584. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js +9 -3
  585. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +1 -1
  586. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -37
  587. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +1 -100
  588. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  589. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.d.ts +3 -0
  590. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +9 -3
  591. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +1 -1
  592. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +2 -45
  593. package/es/components/chain-of-thought/src/chain-of-thought.js +1 -128
  594. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  595. package/es/components/chain-of-thought/src/chain-of-thought.scss.d.ts +3 -0
  596. package/es/components/chain-of-thought/src/chain-of-thought.scss.js +9 -3
  597. package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -1
  598. package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -37
  599. package/es/components/chain-of-thought/src/tool-call-data.js +1 -170
  600. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  601. package/es/components/chain-of-thought/src/tool-call-data.scss.d.ts +3 -0
  602. package/es/components/chain-of-thought/src/tool-call-data.scss.js +9 -3
  603. package/es/components/chain-of-thought/src/tool-call-data.scss.js.map +1 -1
  604. package/es/components/chat-button/defs.d.ts +1 -25
  605. package/es/components/chat-button/defs.js +1 -28
  606. package/es/components/chat-button/defs.js.map +1 -1
  607. package/es/components/chat-button/index.d.ts +1 -10
  608. package/es/components/chat-button/index.js +3 -2
  609. package/es/components/chat-button/index.js.map +1 -1
  610. package/es/components/chat-button/src/chat-button-skeleton.d.ts +2 -30
  611. package/es/components/chat-button/src/chat-button-skeleton.js +1 -33
  612. package/es/components/chat-button/src/chat-button-skeleton.js.map +1 -1
  613. package/es/components/chat-button/src/chat-button.d.ts +2 -43
  614. package/es/components/chat-button/src/chat-button.js +2 -104
  615. package/es/components/chat-button/src/chat-button.js.map +1 -1
  616. package/es/components/chat-button/src/chat-button.scss.d.ts +3 -0
  617. package/es/components/chat-button/src/chat-button.scss.js +9 -3
  618. package/es/components/chat-button/src/chat-button.scss.js.map +1 -1
  619. package/es/components/chat-history/index.d.ts +1 -11
  620. package/es/components/chat-history/index.js +13 -11
  621. package/es/components/chat-history/index.js.map +1 -1
  622. package/es/components/chat-history/src/chat-history.scss.d.ts +3 -0
  623. package/es/components/chat-history/src/chat-history.scss.js +9 -3
  624. package/es/components/chat-history/src/chat-history.scss.js.map +1 -1
  625. package/es/components/chat-history/src/history-content.d.ts +2 -25
  626. package/es/components/chat-history/src/history-content.js +1 -68
  627. package/es/components/chat-history/src/history-content.js.map +1 -1
  628. package/es/components/chat-history/src/history-delete-panel.d.ts +2 -36
  629. package/es/components/chat-history/src/history-delete-panel.js +1 -135
  630. package/es/components/chat-history/src/history-delete-panel.js.map +1 -1
  631. package/es/components/chat-history/src/history-header.d.ts +2 -34
  632. package/es/components/chat-history/src/history-header.js +1 -90
  633. package/es/components/chat-history/src/history-header.js.map +1 -1
  634. package/es/components/chat-history/src/history-loading.d.ts +2 -18
  635. package/es/components/chat-history/src/history-loading.js +1 -54
  636. package/es/components/chat-history/src/history-loading.js.map +1 -1
  637. package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -130
  638. package/es/components/chat-history/src/history-panel-item-input.js +1 -273
  639. package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
  640. package/es/components/chat-history/src/history-panel-item.d.ts +2 -150
  641. package/es/components/chat-history/src/history-panel-item.js +1 -448
  642. package/es/components/chat-history/src/history-panel-item.js.map +1 -1
  643. package/es/components/chat-history/src/history-panel-items.d.ts +2 -13
  644. package/es/components/chat-history/src/history-panel-items.js +1 -33
  645. package/es/components/chat-history/src/history-panel-items.js.map +1 -1
  646. package/es/components/chat-history/src/history-panel-menu.d.ts +2 -12
  647. package/es/components/chat-history/src/history-panel-menu.js +1 -29
  648. package/es/components/chat-history/src/history-panel-menu.js.map +1 -1
  649. package/es/components/chat-history/src/history-panel.d.ts +2 -27
  650. package/es/components/chat-history/src/history-panel.js +1 -60
  651. package/es/components/chat-history/src/history-panel.js.map +1 -1
  652. package/es/components/chat-history/src/history-search-item.d.ts +2 -43
  653. package/es/components/chat-history/src/history-search-item.js +1 -87
  654. package/es/components/chat-history/src/history-search-item.js.map +1 -1
  655. package/es/components/chat-history/src/history-shell.d.ts +2 -23
  656. package/es/components/chat-history/src/history-shell.js +1 -81
  657. package/es/components/chat-history/src/history-shell.js.map +1 -1
  658. package/es/components/chat-history/src/history-toolbar.d.ts +2 -89
  659. package/es/components/chat-history/src/history-toolbar.js +1 -100
  660. package/es/components/chat-history/src/history-toolbar.js.map +1 -1
  661. package/es/components/chat-shell/index.d.ts +1 -12
  662. package/es/components/chat-shell/index.js +4 -3
  663. package/es/components/chat-shell/index.js.map +1 -1
  664. package/es/components/chat-shell/src/chat-header.d.ts +2 -177
  665. package/es/components/chat-shell/src/chat-header.js +1 -406
  666. package/es/components/chat-shell/src/chat-header.js.map +1 -1
  667. package/es/components/chat-shell/src/chat-header.scss.d.ts +3 -0
  668. package/es/components/chat-shell/src/chat-header.scss.js +9 -3
  669. package/es/components/chat-shell/src/chat-header.scss.js.map +1 -1
  670. package/es/components/chat-shell/src/corner-manager.d.ts +1 -39
  671. package/es/components/chat-shell/src/corner-manager.js +1 -93
  672. package/es/components/chat-shell/src/corner-manager.js.map +1 -1
  673. package/es/components/chat-shell/src/initialization-manager.d.ts +1 -44
  674. package/es/components/chat-shell/src/initialization-manager.js +1 -79
  675. package/es/components/chat-shell/src/initialization-manager.js.map +1 -1
  676. package/es/components/chat-shell/src/panel-manager.d.ts +1 -39
  677. package/es/components/chat-shell/src/panel-manager.js +1 -251
  678. package/es/components/chat-shell/src/panel-manager.js.map +1 -1
  679. package/es/components/chat-shell/src/panel.d.ts +2 -93
  680. package/es/components/chat-shell/src/panel.js +1 -519
  681. package/es/components/chat-shell/src/panel.js.map +1 -1
  682. package/es/components/chat-shell/src/panel.scss.d.ts +3 -0
  683. package/es/components/chat-shell/src/panel.scss.js +9 -3
  684. package/es/components/chat-shell/src/panel.scss.js.map +1 -1
  685. package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -55
  686. package/es/components/chat-shell/src/resize-observer-manager.js +1 -212
  687. package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -1
  688. package/es/components/chat-shell/src/shell.d.ts +2 -133
  689. package/es/components/chat-shell/src/shell.js +1 -864
  690. package/es/components/chat-shell/src/shell.js.map +1 -1
  691. package/es/components/chat-shell/src/shell.scss.d.ts +3 -0
  692. package/es/components/chat-shell/src/shell.scss.js +9 -3
  693. package/es/components/chat-shell/src/shell.scss.js.map +1 -1
  694. package/es/components/chat-shell/src/slot-observer.d.ts +1 -53
  695. package/es/components/chat-shell/src/slot-observer.js +1 -144
  696. package/es/components/chat-shell/src/slot-observer.js.map +1 -1
  697. package/es/components/chat-shell/src/types.d.ts +1 -66
  698. package/es/components/chat-shell/src/workspace-manager-utils.d.ts +1 -90
  699. package/es/components/chat-shell/src/workspace-manager-utils.js +1 -111
  700. package/es/components/chat-shell/src/workspace-manager-utils.js.map +1 -1
  701. package/es/components/chat-shell/src/workspace-manager.d.ts +1 -173
  702. package/es/components/chat-shell/src/workspace-manager.js +1 -709
  703. package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
  704. package/es/components/code-snippet/index.d.ts +2 -4
  705. package/es/components/code-snippet/index.js +2 -1
  706. package/es/components/code-snippet/index.js.map +1 -1
  707. package/es/components/code-snippet/src/code-snippet.d.ts +2 -211
  708. package/es/components/code-snippet/src/code-snippet.js +1 -986
  709. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  710. package/es/components/code-snippet/src/code-snippet.scss.d.ts +3 -0
  711. package/es/components/code-snippet/src/code-snippet.scss.js +9 -3
  712. package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -1
  713. package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -19
  714. package/es/components/code-snippet/src/codemirror/base-setup.js +1 -68
  715. package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
  716. package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -7
  717. package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -21
  718. package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -1
  719. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -8
  720. package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +4 -4
  721. package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -12
  722. package/es/components/code-snippet/src/codemirror/content-sync.js +1 -64
  723. package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -1
  724. package/es/components/code-snippet/src/codemirror/detect-language.d.ts +1 -6
  725. package/es/components/code-snippet/src/codemirror/detect-language.js +1 -69
  726. package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -1
  727. package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +1 -30
  728. package/es/components/code-snippet/src/codemirror/diff-decorator.js +1 -72
  729. package/es/components/code-snippet/src/codemirror/diff-decorator.js.map +1 -1
  730. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +1 -31
  731. package/es/components/code-snippet/src/codemirror/editor-manager.js +1 -87
  732. package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -1
  733. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -39
  734. package/es/components/code-snippet/src/codemirror/language-controller.js +1 -218
  735. package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -1
  736. package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -6
  737. package/es/components/code-snippet/src/codemirror/language-data.js +1 -1035
  738. package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -1
  739. package/es/components/code-snippet/src/codemirror/language-utils.d.ts +1 -79
  740. package/es/components/code-snippet/src/codemirror/language-utils.js +1 -205
  741. package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  742. package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +1 -123
  743. package/es/components/code-snippet/src/codemirror/marker-utils.js +1 -176
  744. package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -1
  745. package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -66
  746. package/es/components/code-snippet/src/codemirror/theme.js +1 -339
  747. package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
  748. package/es/components/code-snippet/src/dom-utils.d.ts +1 -25
  749. package/es/components/code-snippet/src/dom-utils.js +1 -66
  750. package/es/components/code-snippet/src/dom-utils.js.map +1 -1
  751. package/es/components/code-snippet/src/formatters.d.ts +1 -4
  752. package/es/components/code-snippet/src/formatters.js +1 -11
  753. package/es/components/code-snippet/src/formatters.js.map +1 -1
  754. package/es/components/code-snippet/src/layout-utils.d.ts +1 -30
  755. package/es/components/code-snippet/src/layout-utils.js +1 -73
  756. package/es/components/code-snippet/src/layout-utils.js.map +1 -1
  757. package/es/components/code-snippet/src/streaming-manager.d.ts +1 -24
  758. package/es/components/code-snippet/src/streaming-manager.js +1 -119
  759. package/es/components/code-snippet/src/streaming-manager.js.map +1 -1
  760. package/es/components/conversational-search/index.d.ts +1 -9
  761. package/es/components/conversational-search/index.js +3 -1
  762. package/es/components/conversational-search/index.js.map +1 -1
  763. package/es/components/conversational-search/src/citation-card.d.ts +2 -0
  764. package/es/components/conversational-search/src/citation-card.js +9 -0
  765. package/es/components/conversational-search/src/citation-card.js.map +1 -0
  766. package/es/components/conversational-search/src/citation-card.scss.d.ts +3 -0
  767. package/es/components/conversational-search/src/citation-card.scss.js +19 -0
  768. package/es/components/conversational-search/src/citation-card.scss.js.map +1 -0
  769. package/es/components/conversational-search/src/citation-utils.d.ts +1 -24
  770. package/es/components/conversational-search/src/citation-utils.js +1 -38
  771. package/es/components/conversational-search/src/citation-utils.js.map +1 -1
  772. package/es/components/conversational-search/src/conversational-search-shell.d.ts +2 -41
  773. package/es/components/conversational-search/src/conversational-search-shell.js +1 -108
  774. package/es/components/conversational-search/src/conversational-search-shell.js.map +1 -1
  775. package/es/components/conversational-search/src/conversational-search-shell.scss.d.ts +3 -0
  776. package/es/components/conversational-search/src/conversational-search-shell.scss.js +9 -3
  777. package/es/components/conversational-search/src/conversational-search-shell.scss.js.map +1 -1
  778. package/es/components/feedback/index.d.ts +1 -4
  779. package/es/components/feedback/index.js +3 -2
  780. package/es/components/feedback/index.js.map +1 -1
  781. package/es/components/feedback/src/feedback-buttons.d.ts +2 -68
  782. package/es/components/feedback/src/feedback-buttons.js +1 -181
  783. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  784. package/es/components/feedback/src/feedback-buttons.scss.d.ts +3 -0
  785. package/es/components/feedback/src/feedback-buttons.scss.js +9 -3
  786. package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -1
  787. package/es/components/feedback/src/feedback.d.ts +2 -141
  788. package/es/components/feedback/src/feedback.js +1 -332
  789. package/es/components/feedback/src/feedback.js.map +1 -1
  790. package/es/components/feedback/src/feedback.scss.d.ts +3 -0
  791. package/es/components/feedback/src/feedback.scss.js +9 -3
  792. package/es/components/feedback/src/feedback.scss.js.map +1 -1
  793. package/es/components/file-uploads/index.d.ts +1 -13
  794. package/es/components/file-uploads/index.js +3 -2
  795. package/es/components/file-uploads/index.js.map +1 -1
  796. package/es/components/file-uploads/src/file-type-icon.d.ts +1 -18
  797. package/es/components/file-uploads/src/file-type-icon.js +1 -79
  798. package/es/components/file-uploads/src/file-type-icon.js.map +1 -1
  799. package/es/components/file-uploads/src/file-upload-item.d.ts +2 -116
  800. package/es/components/file-uploads/src/file-upload-item.js +1 -474
  801. package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
  802. package/es/components/file-uploads/src/file-upload-item.scss.d.ts +3 -0
  803. package/es/components/file-uploads/src/file-upload-item.scss.js +9 -3
  804. package/es/components/file-uploads/src/file-upload-item.scss.js.map +1 -1
  805. package/es/components/file-uploads/src/file-uploads.d.ts +2 -136
  806. package/es/components/file-uploads/src/file-uploads.js +1 -337
  807. package/es/components/file-uploads/src/file-uploads.js.map +1 -1
  808. package/es/components/file-uploads/src/file-uploads.scss.d.ts +3 -0
  809. package/es/components/file-uploads/src/file-uploads.scss.js +9 -3
  810. package/es/components/file-uploads/src/file-uploads.scss.js.map +1 -1
  811. package/es/components/file-uploads/src/types.d.ts +1 -39
  812. package/es/components/launcher/index.d.ts +1 -9
  813. package/es/components/launcher/index.js +2 -1
  814. package/es/components/launcher/index.js.map +1 -1
  815. package/es/components/launcher/src/launcher.d.ts +2 -68
  816. package/es/components/launcher/src/launcher.js +1 -145
  817. package/es/components/launcher/src/launcher.js.map +1 -1
  818. package/es/components/launcher/src/launcher.scss.d.ts +3 -0
  819. package/es/components/launcher/src/launcher.scss.js +9 -3
  820. package/es/components/launcher/src/launcher.scss.js.map +1 -1
  821. package/es/components/markdown/index.d.ts +2 -8
  822. package/es/components/markdown/index.js +5 -4
  823. package/es/components/markdown/index.js.map +1 -1
  824. package/es/components/markdown/src/inline-markdown.d.ts +1 -41
  825. package/es/components/markdown/src/inline-markdown.js +2 -90
  826. package/es/components/markdown/src/inline-markdown.js.map +1 -1
  827. package/es/components/markdown/src/markdown-renderer-types.d.ts +1 -397
  828. package/es/components/markdown/src/markdown-renderer.d.ts +1 -26
  829. package/es/components/markdown/src/markdown-renderer.js +1 -634
  830. package/es/components/markdown/src/markdown-renderer.js.map +1 -1
  831. package/es/components/markdown/src/markdown-token-tree.d.ts +1 -83
  832. package/es/components/markdown/src/markdown-token-tree.js +1 -349
  833. package/es/components/markdown/src/markdown-token-tree.js.map +1 -1
  834. package/es/components/markdown/src/markdown.d.ts +2 -143
  835. package/es/components/markdown/src/markdown.js +1 -876
  836. package/es/components/markdown/src/markdown.js.map +1 -1
  837. package/es/components/markdown/src/markdown.scss.d.ts +3 -0
  838. package/es/components/markdown/src/markdown.scss.js +9 -3
  839. package/es/components/markdown/src/markdown.scss.js.map +1 -1
  840. package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -6
  841. package/es/components/markdown/src/plugins/markdown-it-attrs.js +1 -189
  842. package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -1
  843. package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -7
  844. package/es/components/markdown/src/plugins/markdown-it-highlight.js +1 -51
  845. package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -1
  846. package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -12
  847. package/es/components/markdown/src/plugins/markdown-it-task-lists.js +1 -68
  848. package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -1
  849. package/es/components/markdown/src/utils/html-helpers.d.ts +1 -5
  850. package/es/components/markdown/src/utils/html-helpers.js +1 -317
  851. package/es/components/markdown/src/utils/html-helpers.js.map +1 -1
  852. package/es/components/markdown/src/utils/inline-run-projection.d.ts +1 -15
  853. package/es/components/markdown/src/utils/inline-run-projection.js +1 -174
  854. package/es/components/markdown/src/utils/inline-run-projection.js.map +1 -1
  855. package/es/components/markdown/src/utils/inline-validation.d.ts +1 -13
  856. package/es/components/markdown/src/utils/inline-validation.js +1 -89
  857. package/es/components/markdown/src/utils/inline-validation.js.map +1 -1
  858. package/es/components/markdown/src/utils/lit-directives.d.ts +1 -17
  859. package/es/components/markdown/src/utils/lit-directives.js +1 -76
  860. package/es/components/markdown/src/utils/lit-directives.js.map +1 -1
  861. package/es/components/markdown/src/utils/plugin-fallback.d.ts +1 -36
  862. package/es/components/markdown/src/utils/plugin-fallback.js +1 -230
  863. package/es/components/markdown/src/utils/plugin-fallback.js.map +1 -1
  864. package/es/components/markdown/src/utils/plugin-host-container.d.ts +1 -159
  865. package/es/components/markdown/src/utils/plugin-host-container.js +1 -157
  866. package/es/components/markdown/src/utils/plugin-host-container.js.map +1 -1
  867. package/es/components/markdown/src/utils/slot-names.d.ts +1 -1
  868. package/es/components/markdown/src/utils/slot-names.js +1 -75
  869. package/es/components/markdown/src/utils/slot-names.js.map +1 -1
  870. package/es/components/markdown/src/utils/streaming-table.d.ts +1 -28
  871. package/es/components/markdown/src/utils/streaming-table.js +1 -78
  872. package/es/components/markdown/src/utils/streaming-table.js.map +1 -1
  873. package/es/components/markdown/src/utils/table-helpers.d.ts +1 -32
  874. package/es/components/markdown/src/utils/table-helpers.js +1 -195
  875. package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
  876. package/es/components/message-byline/index.d.ts +9 -0
  877. package/es/components/message-byline/index.js +10 -0
  878. package/es/components/message-byline/src/message-byline.d.ts +2 -0
  879. package/es/components/message-byline/src/message-byline.js +9 -0
  880. package/es/components/message-byline/src/message-byline.js.map +1 -0
  881. package/es/components/message-byline/src/message-byline.scss.d.ts +3 -0
  882. package/es/components/message-byline/src/message-byline.scss.js +19 -0
  883. package/es/components/message-byline/src/message-byline.scss.js.map +1 -0
  884. package/es/components/message-item-shell/index.d.ts +1 -3
  885. package/es/components/message-item-shell/index.js +2 -1
  886. package/es/components/message-item-shell/index.js.map +1 -1
  887. package/es/components/message-item-shell/src/message-item-shell.d.ts +2 -48
  888. package/es/components/message-item-shell/src/message-item-shell.js +1 -83
  889. package/es/components/message-item-shell/src/message-item-shell.js.map +1 -1
  890. package/es/components/message-item-shell/src/message-item-shell.scss.d.ts +3 -0
  891. package/es/components/message-item-shell/src/message-item-shell.scss.js +9 -3
  892. package/es/components/message-item-shell/src/message-item-shell.scss.js.map +1 -1
  893. package/es/components/messages-shell/index.d.ts +1 -3
  894. package/es/components/messages-shell/index.js +3 -1
  895. package/es/components/messages-shell/index.js.map +1 -1
  896. package/es/components/messages-shell/src/messages-scroll-controller.d.ts +1 -0
  897. package/es/components/messages-shell/src/messages-scroll-controller.js +9 -0
  898. package/es/components/messages-shell/src/messages-scroll-controller.js.map +1 -0
  899. package/es/components/messages-shell/src/messages-shell.d.ts +6 -53
  900. package/es/components/messages-shell/src/messages-shell.js +1 -133
  901. package/es/components/messages-shell/src/messages-shell.js.map +1 -1
  902. package/es/components/messages-shell/src/messages-shell.scss.d.ts +3 -0
  903. package/es/components/messages-shell/src/messages-shell.scss.js +9 -3
  904. package/es/components/messages-shell/src/messages-shell.scss.js.map +1 -1
  905. package/es/components/processing/index.d.ts +1 -1
  906. package/es/components/processing/index.js +2 -1
  907. package/es/components/processing/index.js.map +1 -1
  908. package/es/components/processing/src/processing.d.ts +2 -23
  909. package/es/components/processing/src/processing.js +1 -60
  910. package/es/components/processing/src/processing.js.map +1 -1
  911. package/es/components/processing/src/processing.scss.d.ts +3 -0
  912. package/es/components/processing/src/processing.scss.js +9 -3
  913. package/es/components/processing/src/processing.scss.js.map +1 -1
  914. package/es/components/prompt-line/autocomplete/index.d.ts +1 -12
  915. package/es/components/prompt-line/autocomplete/index.js +2 -1
  916. package/es/components/prompt-line/autocomplete/index.js.map +1 -1
  917. package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +2 -212
  918. package/es/components/prompt-line/autocomplete/src/autocomplete.js +1 -613
  919. package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -1
  920. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.d.ts +3 -0
  921. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js +9 -3
  922. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +1 -1
  923. package/es/components/prompt-line/index.d.ts +1 -27
  924. package/es/components/prompt-line/index.js +20 -23
  925. package/es/components/prompt-line/index.js.map +1 -1
  926. package/es/components/prompt-line/src/autocomplete-controller-element.d.ts +2 -84
  927. package/es/components/prompt-line/src/autocomplete-controller-element.js +1 -266
  928. package/es/components/prompt-line/src/autocomplete-controller-element.js.map +1 -1
  929. package/es/components/prompt-line/src/autocomplete-controller.d.ts +1 -148
  930. package/es/components/prompt-line/src/autocomplete-controller.js +1 -495
  931. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  932. package/es/components/prompt-line/src/error-message.d.ts +2 -46
  933. package/es/components/prompt-line/src/error-message.js +1 -126
  934. package/es/components/prompt-line/src/error-message.js.map +1 -1
  935. package/es/components/prompt-line/src/error-message.scss.d.ts +3 -0
  936. package/es/components/prompt-line/src/error-message.scss.js +9 -3
  937. package/es/components/prompt-line/src/error-message.scss.js.map +1 -1
  938. package/es/components/prompt-line/src/prompt-line-constants.d.ts +1 -35
  939. package/es/components/prompt-line/src/prompt-line-constants.js +1 -34
  940. package/es/components/prompt-line/src/prompt-line-constants.js.map +1 -1
  941. package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -122
  942. package/es/components/prompt-line/src/prompt-line-mouse-focus.d.ts +1 -45
  943. package/es/components/prompt-line/src/prompt-line-mouse-focus.js +1 -75
  944. package/es/components/prompt-line/src/prompt-line-mouse-focus.js.map +1 -1
  945. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -41
  946. package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -48
  947. package/es/components/prompt-line/src/prompt-line-rich-loader.js.map +1 -1
  948. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -14
  949. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +1 -450
  950. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  951. package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -114
  952. package/es/components/prompt-line/src/prompt-line-shell.js +1 -259
  953. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  954. package/es/components/prompt-line/src/prompt-line-shell.scss.d.ts +3 -0
  955. package/es/components/prompt-line/src/prompt-line-shell.scss.js +9 -3
  956. package/es/components/prompt-line/src/prompt-line-shell.scss.js.map +1 -1
  957. package/es/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +1 -88
  958. package/es/components/prompt-line/src/prompt-line-textarea-runtime.js +1 -385
  959. package/es/components/prompt-line/src/prompt-line-textarea-runtime.js.map +1 -1
  960. package/es/components/prompt-line/src/prompt-line.d.ts +2 -207
  961. package/es/components/prompt-line/src/prompt-line.js +1 -585
  962. package/es/components/prompt-line/src/prompt-line.js.map +1 -1
  963. package/es/components/prompt-line/src/prompt-line.scss.d.ts +3 -0
  964. package/es/components/prompt-line/src/prompt-line.scss.js +9 -3
  965. package/es/components/prompt-line/src/prompt-line.scss.js.map +1 -1
  966. package/es/components/prompt-line/src/send-control.d.ts +2 -53
  967. package/es/components/prompt-line/src/send-control.js +1 -176
  968. package/es/components/prompt-line/src/send-control.js.map +1 -1
  969. package/es/components/prompt-line/src/send-control.scss.d.ts +3 -0
  970. package/es/components/prompt-line/src/send-control.scss.js +9 -3
  971. package/es/components/prompt-line/src/send-control.scss.js.map +1 -1
  972. package/es/components/prompt-line/src/stop-streaming-button.d.ts +2 -42
  973. package/es/components/prompt-line/src/stop-streaming-button.js +1 -84
  974. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  975. package/es/components/prompt-line/src/stop-streaming-button.scss.d.ts +3 -0
  976. package/es/components/prompt-line/src/stop-streaming-button.scss.js +9 -3
  977. package/es/components/prompt-line/src/stop-streaming-button.scss.js.map +1 -1
  978. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +1 -47
  979. package/es/components/prompt-line/src/tiptap/build-extensions.js +1 -60
  980. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  981. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +1 -36
  982. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +1 -104
  983. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +1 -1
  984. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +1 -19
  985. package/es/components/prompt-line/src/tiptap/carbon-mention.js +1 -218
  986. package/es/components/prompt-line/src/tiptap/carbon-mention.js.map +1 -1
  987. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +1 -34
  988. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +1 -91
  989. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  990. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -17
  991. package/es/components/prompt-line/src/tiptap/chat-enter.js +1 -38
  992. package/es/components/prompt-line/src/tiptap/chat-enter.js.map +1 -1
  993. package/es/components/prompt-line/src/tiptap/editor-styles.d.ts +1 -18
  994. package/es/components/prompt-line/src/tiptap/editor-styles.js +1 -75
  995. package/es/components/prompt-line/src/tiptap/editor-styles.js.map +1 -1
  996. package/es/components/prompt-line/src/tiptap/extension-equivalence.d.ts +1 -64
  997. package/es/components/prompt-line/src/tiptap/extension-equivalence.js +1 -72
  998. package/es/components/prompt-line/src/tiptap/extension-equivalence.js.map +1 -1
  999. package/es/components/prompt-line/src/tiptap/index.d.ts +1 -37
  1000. package/es/components/prompt-line/src/tiptap/index.js +16 -16
  1001. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -69
  1002. package/es/components/prompt-line/src/tiptap/json-utils.js +1 -160
  1003. package/es/components/prompt-line/src/tiptap/json-utils.js.map +1 -1
  1004. package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -31
  1005. package/es/components/prompt-line/src/tiptap/keymap.js +1 -50
  1006. package/es/components/prompt-line/src/tiptap/keymap.js.map +1 -1
  1007. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -11
  1008. package/es/components/prompt-line/src/tiptap/origin-meta.js +1 -25
  1009. package/es/components/prompt-line/src/tiptap/origin-meta.js.map +1 -1
  1010. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -16
  1011. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +1 -82
  1012. package/es/components/prompt-line/src/tiptap/plain-text-paste.js.map +1 -1
  1013. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +1 -87
  1014. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +1 -33
  1015. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js.map +1 -1
  1016. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +1 -69
  1017. package/es/components/prompt-line/src/tiptap/render-token-chip.js +1 -84
  1018. package/es/components/prompt-line/src/tiptap/render-token-chip.js.map +1 -1
  1019. package/es/components/prompt-line/src/tiptap/resolve-config-items.d.ts +1 -22
  1020. package/es/components/prompt-line/src/tiptap/resolve-config-items.js +1 -33
  1021. package/es/components/prompt-line/src/tiptap/resolve-config-items.js.map +1 -1
  1022. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.d.ts +1 -18
  1023. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js +1 -14
  1024. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +1 -1
  1025. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +1 -36
  1026. package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -33
  1027. package/es/components/prompt-line/src/tiptap/token-node-view.js.map +1 -1
  1028. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +1 -41
  1029. package/es/components/prompt-line/src/tiptap/trigger-utils.js +1 -60
  1030. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  1031. package/es/components/prompt-line/src/tiptap/types.d.ts +1 -228
  1032. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -30
  1033. package/es/components/prompt-line/src/tiptap/typing-indicator.js +1 -96
  1034. package/es/components/prompt-line/src/tiptap/typing-indicator.js.map +1 -1
  1035. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -25
  1036. package/es/components/prompt-line/src/tiptap/value-sync.js +1 -57
  1037. package/es/components/prompt-line/src/tiptap/value-sync.js.map +1 -1
  1038. package/es/components/prompt-line/src/types.d.ts +1 -100
  1039. package/es/components/prompt-line/src/types.js +1 -42
  1040. package/es/components/prompt-line/src/types.js.map +1 -1
  1041. package/es/components/reasoning-steps/index.d.ts +1 -4
  1042. package/es/components/reasoning-steps/index.js +4 -3
  1043. package/es/components/reasoning-steps/index.js.map +1 -1
  1044. package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -50
  1045. package/es/components/reasoning-steps/src/reasoning-step.js +1 -286
  1046. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  1047. package/es/components/reasoning-steps/src/reasoning-step.scss.d.ts +3 -0
  1048. package/es/components/reasoning-steps/src/reasoning-step.scss.js +9 -3
  1049. package/es/components/reasoning-steps/src/reasoning-step.scss.js.map +1 -1
  1050. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -40
  1051. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +1 -99
  1052. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  1053. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.d.ts +3 -0
  1054. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +9 -3
  1055. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +1 -1
  1056. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -47
  1057. package/es/components/reasoning-steps/src/reasoning-steps.js +1 -161
  1058. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  1059. package/es/components/reasoning-steps/src/reasoning-steps.scss.d.ts +3 -0
  1060. package/es/components/reasoning-steps/src/reasoning-steps.scss.js +9 -3
  1061. package/es/components/reasoning-steps/src/reasoning-steps.scss.js.map +1 -1
  1062. package/es/components/table/index.d.ts +2 -3
  1063. package/es/components/table/index.js +2 -1
  1064. package/es/components/table/index.js.map +1 -1
  1065. package/es/components/table/src/table-loader.d.ts +1 -4
  1066. package/es/components/table/src/table-loader.js +1 -20
  1067. package/es/components/table/src/table-loader.js.map +1 -1
  1068. package/es/components/table/src/table-pagination.template.d.ts +1 -27
  1069. package/es/components/table/src/table-pagination.template.js +1 -47
  1070. package/es/components/table/src/table-pagination.template.js.map +1 -1
  1071. package/es/components/table/src/table-runtime.d.ts +1 -2
  1072. package/es/components/table/src/table-runtime.js +2 -2
  1073. package/es/components/table/src/table-skeleton.template.d.ts +1 -6
  1074. package/es/components/table/src/table-skeleton.template.js +1 -27
  1075. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  1076. package/es/components/table/src/table.d.ts +2 -210
  1077. package/es/components/table/src/table.js +1 -633
  1078. package/es/components/table/src/table.js.map +1 -1
  1079. package/es/components/table/src/table.scss.d.ts +3 -0
  1080. package/es/components/table/src/table.scss.js +9 -3
  1081. package/es/components/table/src/table.scss.js.map +1 -1
  1082. package/es/components/table/src/table.template.d.ts +1 -10
  1083. package/es/components/table/src/table.template.js +1 -88
  1084. package/es/components/table/src/table.template.js.map +1 -1
  1085. package/es/components/table/src/types.d.ts +1 -13
  1086. package/es/components/toolbar/index.d.ts +1 -1
  1087. package/es/components/toolbar/index.js +2 -1
  1088. package/es/components/toolbar/index.js.map +1 -1
  1089. package/es/components/toolbar/src/toolbar.d.ts +2 -95
  1090. package/es/components/toolbar/src/toolbar.js +1 -401
  1091. package/es/components/toolbar/src/toolbar.js.map +1 -1
  1092. package/es/components/toolbar/src/toolbar.scss.d.ts +3 -0
  1093. package/es/components/toolbar/src/toolbar.scss.js +9 -3
  1094. package/es/components/toolbar/src/toolbar.scss.js.map +1 -1
  1095. package/es/components/truncated-text/index.d.ts +1 -9
  1096. package/es/components/truncated-text/index.js +2 -1
  1097. package/es/components/truncated-text/index.js.map +1 -1
  1098. package/es/components/truncated-text/src/truncated-text.d.ts +2 -84
  1099. package/es/components/truncated-text/src/truncated-text.js +1 -287
  1100. package/es/components/truncated-text/src/truncated-text.js.map +1 -1
  1101. package/es/components/truncated-text/src/truncated-text.scss.d.ts +3 -0
  1102. package/es/components/truncated-text/src/truncated-text.scss.js +9 -3
  1103. package/es/components/truncated-text/src/truncated-text.scss.js.map +1 -1
  1104. package/es/components/user-avatar/index.d.ts +1 -2
  1105. package/es/components/user-avatar/index.js +2 -1
  1106. package/es/components/user-avatar/index.js.map +1 -1
  1107. package/es/components/user-avatar/src/user-avatar.d.ts +2 -46
  1108. package/es/components/user-avatar/src/user-avatar.js +1 -145
  1109. package/es/components/user-avatar/src/user-avatar.js.map +1 -1
  1110. package/es/components/user-avatar/src/user-avatar.scss.d.ts +3 -0
  1111. package/es/components/user-avatar/src/user-avatar.scss.js +9 -3
  1112. package/es/components/user-avatar/src/user-avatar.scss.js.map +1 -1
  1113. package/es/components/user-message-content/index.d.ts +9 -0
  1114. package/es/components/user-message-content/index.js +10 -0
  1115. package/es/components/user-message-content/src/split-run-breaks.d.ts +9 -0
  1116. package/es/components/user-message-content/src/split-run-breaks.js +9 -0
  1117. package/es/components/user-message-content/src/split-run-breaks.js.map +1 -0
  1118. package/es/components/user-message-content/src/user-message-content.d.ts +10 -0
  1119. package/es/components/user-message-content/src/user-message-content.js +9 -0
  1120. package/es/components/user-message-content/src/user-message-content.js.map +1 -0
  1121. package/es/components/user-message-content/src/user-message-content.scss.d.ts +3 -0
  1122. package/es/components/user-message-content/src/user-message-content.scss.js +19 -0
  1123. package/es/components/user-message-content/src/user-message-content.scss.js.map +1 -0
  1124. package/es/components/video-player/index.d.ts +1 -10
  1125. package/es/components/video-player/index.js +2 -1
  1126. package/es/components/video-player/index.js.map +1 -1
  1127. package/es/components/video-player/src/providers/base-provider.d.ts +1 -141
  1128. package/es/components/video-player/src/providers/base-provider.js +1 -128
  1129. package/es/components/video-player/src/providers/base-provider.js.map +1 -1
  1130. package/es/components/video-player/src/providers/kaltura-provider.d.ts +1 -64
  1131. package/es/components/video-player/src/providers/kaltura-provider.js +1 -184
  1132. package/es/components/video-player/src/providers/kaltura-provider.js.map +1 -1
  1133. package/es/components/video-player/src/providers/native-video-provider.d.ts +1 -49
  1134. package/es/components/video-player/src/providers/native-video-provider.js +1 -150
  1135. package/es/components/video-player/src/providers/native-video-provider.js.map +1 -1
  1136. package/es/components/video-player/src/providers/vimeo-provider.d.ts +1 -60
  1137. package/es/components/video-player/src/providers/vimeo-provider.js +1 -186
  1138. package/es/components/video-player/src/providers/vimeo-provider.js.map +1 -1
  1139. package/es/components/video-player/src/providers/youtube-provider.d.ts +1 -73
  1140. package/es/components/video-player/src/providers/youtube-provider.js +1 -207
  1141. package/es/components/video-player/src/providers/youtube-provider.js.map +1 -1
  1142. package/es/components/video-player/src/utils/url-detector.d.ts +1 -34
  1143. package/es/components/video-player/src/utils/url-detector.js +1 -72
  1144. package/es/components/video-player/src/utils/url-detector.js.map +1 -1
  1145. package/es/components/video-player/src/video-player.d.ts +2 -145
  1146. package/es/components/video-player/src/video-player.js +1 -411
  1147. package/es/components/video-player/src/video-player.js.map +1 -1
  1148. package/es/components/video-player/src/video-player.scss.d.ts +3 -0
  1149. package/es/components/video-player/src/video-player.scss.js +9 -3
  1150. package/es/components/video-player/src/video-player.scss.js.map +1 -1
  1151. package/es/components/workspace-shell/index.d.ts +1 -4
  1152. package/es/components/workspace-shell/index.js +5 -4
  1153. package/es/components/workspace-shell/index.js.map +1 -1
  1154. package/es/components/workspace-shell/src/header-collapsible-manager.d.ts +1 -77
  1155. package/es/components/workspace-shell/src/header-collapsible-manager.js +1 -214
  1156. package/es/components/workspace-shell/src/header-collapsible-manager.js.map +1 -1
  1157. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +2 -17
  1158. package/es/components/workspace-shell/src/workspace-shell-body.js +1 -44
  1159. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  1160. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +2 -38
  1161. package/es/components/workspace-shell/src/workspace-shell-footer.js +1 -142
  1162. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  1163. package/es/components/workspace-shell/src/workspace-shell-footer.scss.d.ts +3 -0
  1164. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +9 -3
  1165. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js.map +1 -1
  1166. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -38
  1167. package/es/components/workspace-shell/src/workspace-shell-header.js +1 -142
  1168. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  1169. package/es/components/workspace-shell/src/workspace-shell-header.scss.d.ts +3 -0
  1170. package/es/components/workspace-shell/src/workspace-shell-header.scss.js +9 -3
  1171. package/es/components/workspace-shell/src/workspace-shell-header.scss.js.map +1 -1
  1172. package/es/components/workspace-shell/src/workspace-shell.d.ts +2 -30
  1173. package/es/components/workspace-shell/src/workspace-shell.js +1 -125
  1174. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
  1175. package/es/components/workspace-shell/src/workspace-shell.scss.d.ts +3 -0
  1176. package/es/components/workspace-shell/src/workspace-shell.scss.js +9 -3
  1177. package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -1
  1178. package/es/globals/register.d.ts +45 -0
  1179. package/es/globals/register.js +78 -0
  1180. package/es/globals/register.js.map +1 -0
  1181. package/es/globals/settings.d.ts +2 -1
  1182. package/es/globals/settings.js +2 -2
  1183. package/es/globals/settings.js.map +1 -1
  1184. package/es/globals/utils/dynamic-css-var-sheet.js.map +1 -0
  1185. package/es/globals/utils/menu-item-activation.d.ts +8 -0
  1186. package/es/globals/utils/menu-item-activation.js +42 -0
  1187. package/es/globals/utils/menu-item-activation.js.map +1 -0
  1188. package/es/globals/utils/root-styles.js.map +1 -0
  1189. package/es/globals/utils/script-loader.js.map +1 -0
  1190. package/es/index.d.ts +87 -0
  1191. package/es/index.js +95 -0
  1192. package/es/index.js.map +1 -0
  1193. package/es/react/ai-label-action-button.d.ts +2 -2
  1194. package/es/react/ai-label-action-button.js +3 -3
  1195. package/es/react/ai-label-action-button.js.map +1 -1
  1196. package/es/react/audio-player.d.ts +9 -2
  1197. package/es/react/audio-player.js +6 -6
  1198. package/es/react/audio-player.js.map +1 -1
  1199. package/es/react/autocomplete-controller.d.ts +20 -0
  1200. package/es/react/autocomplete-controller.js +35 -0
  1201. package/es/react/autocomplete-controller.js.map +1 -0
  1202. package/es/react/autocomplete.d.ts +9 -2
  1203. package/es/react/autocomplete.js +6 -5
  1204. package/es/react/autocomplete.js.map +1 -1
  1205. package/es/react/card.d.ts +8 -4
  1206. package/es/react/card.js +16 -16
  1207. package/es/react/card.js.map +1 -1
  1208. package/es/react/carousel.d.ts +6 -2
  1209. package/es/react/carousel.js +5 -5
  1210. package/es/react/carousel.js.map +1 -1
  1211. package/es/react/chain-of-thought-step.d.ts +7 -2
  1212. package/es/react/chain-of-thought-step.js +5 -5
  1213. package/es/react/chain-of-thought-step.js.map +1 -1
  1214. package/es/react/chain-of-thought-toggle.d.ts +6 -3
  1215. package/es/react/chain-of-thought-toggle.js +5 -5
  1216. package/es/react/chain-of-thought-toggle.js.map +1 -1
  1217. package/es/react/chain-of-thought.d.ts +12 -2
  1218. package/es/react/chain-of-thought.js +9 -6
  1219. package/es/react/chain-of-thought.js.map +1 -1
  1220. package/es/react/chat-button-skeleton.d.ts +2 -2
  1221. package/es/react/chat-button-skeleton.js +5 -5
  1222. package/es/react/chat-button-skeleton.js.map +1 -1
  1223. package/es/react/chat-button.d.ts +3 -3
  1224. package/es/react/chat-button.js +7 -7
  1225. package/es/react/chat-button.js.map +1 -1
  1226. package/es/react/chat-header.d.ts +11 -62
  1227. package/es/react/chat-header.js +5 -5
  1228. package/es/react/chat-header.js.map +1 -1
  1229. package/es/react/chat-shell.d.ts +5 -2
  1230. package/es/react/chat-shell.js +6 -6
  1231. package/es/react/chat-shell.js.map +1 -1
  1232. package/es/react/citation-card.d.ts +17 -0
  1233. package/es/react/citation-card.js +32 -0
  1234. package/es/react/citation-card.js.map +1 -0
  1235. package/es/react/code-snippet.d.ts +14 -11
  1236. package/es/react/code-snippet.js +6 -5
  1237. package/es/react/code-snippet.js.map +1 -1
  1238. package/es/react/conversational-search-shell.d.ts +7 -2
  1239. package/es/react/conversational-search-shell.js +8 -8
  1240. package/es/react/conversational-search-shell.js.map +1 -1
  1241. package/es/react/error-message.d.ts +2 -2
  1242. package/es/react/error-message.js +5 -5
  1243. package/es/react/error-message.js.map +1 -1
  1244. package/es/react/feedback-buttons.d.ts +6 -2
  1245. package/es/react/feedback-buttons.js +5 -5
  1246. package/es/react/feedback-buttons.js.map +1 -1
  1247. package/es/react/feedback.d.ts +7 -3
  1248. package/es/react/feedback.js +6 -6
  1249. package/es/react/feedback.js.map +1 -1
  1250. package/es/react/file-upload-item.d.ts +6 -2
  1251. package/es/react/file-upload-item.js +5 -5
  1252. package/es/react/file-upload-item.js.map +1 -1
  1253. package/es/react/file-uploads.d.ts +6 -2
  1254. package/es/react/file-uploads.js +5 -5
  1255. package/es/react/file-uploads.js.map +1 -1
  1256. package/es/react/history/history-content.d.ts +2 -2
  1257. package/es/react/history/history-content.js +5 -5
  1258. package/es/react/history/history-content.js.map +1 -1
  1259. package/es/react/history/history-delete-panel.d.ts +7 -2
  1260. package/es/react/history/history-delete-panel.js +5 -5
  1261. package/es/react/history/history-delete-panel.js.map +1 -1
  1262. package/es/react/history/history-header.d.ts +5 -2
  1263. package/es/react/history/history-header.js +5 -5
  1264. package/es/react/history/history-header.js.map +1 -1
  1265. package/es/react/history/history-loading.d.ts +2 -2
  1266. package/es/react/history/history-loading.js +5 -5
  1267. package/es/react/history/history-loading.js.map +1 -1
  1268. package/es/react/history/history-panel-item-input.d.ts +8 -2
  1269. package/es/react/history/history-panel-item-input.js +5 -5
  1270. package/es/react/history/history-panel-item-input.js.map +1 -1
  1271. package/es/react/history/history-panel-item.d.ts +10 -2
  1272. package/es/react/history/history-panel-item.js +5 -5
  1273. package/es/react/history/history-panel-item.js.map +1 -1
  1274. package/es/react/history/history-panel-items.d.ts +2 -2
  1275. package/es/react/history/history-panel-items.js +5 -5
  1276. package/es/react/history/history-panel-items.js.map +1 -1
  1277. package/es/react/history/history-panel-menu.d.ts +2 -2
  1278. package/es/react/history/history-panel-menu.js +5 -5
  1279. package/es/react/history/history-panel-menu.js.map +1 -1
  1280. package/es/react/history/history-panel.d.ts +2 -2
  1281. package/es/react/history/history-panel.js +5 -5
  1282. package/es/react/history/history-panel.js.map +1 -1
  1283. package/es/react/history/history-search-item.d.ts +6 -2
  1284. package/es/react/history/history-search-item.js +5 -5
  1285. package/es/react/history/history-search-item.js.map +1 -1
  1286. package/es/react/history/history-shell.d.ts +6 -2
  1287. package/es/react/history/history-shell.js +8 -5
  1288. package/es/react/history/history-shell.js.map +1 -1
  1289. package/es/react/history/history-toolbar.d.ts +7 -2
  1290. package/es/react/history/history-toolbar.js +5 -5
  1291. package/es/react/history/history-toolbar.js.map +1 -1
  1292. package/es/react/hooks/useChatAutocomplete.d.ts +2 -2
  1293. package/es/react/hooks/useChatAutocomplete.js +4 -2
  1294. package/es/react/hooks/useChatAutocomplete.js.map +1 -1
  1295. package/es/react/index.d.ts +67 -0
  1296. package/es/react/index.js +68 -0
  1297. package/es/react/index.js.map +1 -0
  1298. package/es/react/input-send-control.d.ts +6 -2
  1299. package/es/react/input-send-control.js +5 -5
  1300. package/es/react/input-send-control.js.map +1 -1
  1301. package/es/react/launcher.d.ts +5 -2
  1302. package/es/react/launcher.js +5 -5
  1303. package/es/react/launcher.js.map +1 -1
  1304. package/es/react/markdown.d.ts +9 -8
  1305. package/es/react/markdown.js +10 -12
  1306. package/es/react/markdown.js.map +1 -1
  1307. package/es/react/message-byline.d.ts +3 -0
  1308. package/es/react/message-byline.js +28 -0
  1309. package/es/react/message-byline.js.map +1 -0
  1310. package/es/react/message-item-shell.d.ts +2 -2
  1311. package/es/react/message-item-shell.js +5 -6
  1312. package/es/react/message-item-shell.js.map +1 -1
  1313. package/es/react/messages-shell.d.ts +5 -2
  1314. package/es/react/messages-shell.js +5 -6
  1315. package/es/react/messages-shell.js.map +1 -1
  1316. package/es/react/panel.d.ts +10 -2
  1317. package/es/react/panel.js +6 -6
  1318. package/es/react/panel.js.map +1 -1
  1319. package/es/react/processing.d.ts +2 -2
  1320. package/es/react/processing.js +5 -5
  1321. package/es/react/processing.js.map +1 -1
  1322. package/es/react/prompt-line-shell.d.ts +8 -4
  1323. package/es/react/prompt-line-shell.js +10 -8
  1324. package/es/react/prompt-line-shell.js.map +1 -1
  1325. package/es/react/prompt-line.d.ts +13 -6
  1326. package/es/react/prompt-line.js +5 -9
  1327. package/es/react/prompt-line.js.map +1 -1
  1328. package/es/react/reasoning-step.d.ts +8 -2
  1329. package/es/react/reasoning-step.js +6 -5
  1330. package/es/react/reasoning-step.js.map +1 -1
  1331. package/es/react/reasoning-steps-toggle.d.ts +6 -3
  1332. package/es/react/reasoning-steps-toggle.js +5 -5
  1333. package/es/react/reasoning-steps-toggle.js.map +1 -1
  1334. package/es/react/reasoning-steps.d.ts +7 -2
  1335. package/es/react/reasoning-steps.js +9 -5
  1336. package/es/react/reasoning-steps.js.map +1 -1
  1337. package/es/react/stop-streaming-button.d.ts +2 -2
  1338. package/es/react/stop-streaming-button.js +5 -5
  1339. package/es/react/stop-streaming-button.js.map +1 -1
  1340. package/es/react/table.d.ts +3 -3
  1341. package/es/react/table.js +5 -5
  1342. package/es/react/table.js.map +1 -1
  1343. package/es/react/tool-call-data.d.ts +2 -2
  1344. package/es/react/tool-call-data.js +5 -5
  1345. package/es/react/tool-call-data.js.map +1 -1
  1346. package/es/react/toolbar.d.ts +7 -2
  1347. package/es/react/toolbar.js +6 -6
  1348. package/es/react/toolbar.js.map +1 -1
  1349. package/es/react/transcript.d.ts +4 -2
  1350. package/es/react/transcript.js +4 -3
  1351. package/es/react/transcript.js.map +1 -1
  1352. package/es/react/truncated-text.d.ts +2 -2
  1353. package/es/react/truncated-text.js +5 -5
  1354. package/es/react/truncated-text.js.map +1 -1
  1355. package/es/react/user-avatar.d.ts +2 -2
  1356. package/es/react/user-avatar.js +5 -6
  1357. package/es/react/user-avatar.js.map +1 -1
  1358. package/es/react/user-message-content.d.ts +3 -0
  1359. package/es/react/user-message-content.js +28 -0
  1360. package/es/react/user-message-content.js.map +1 -0
  1361. package/es/react/utils/transformSuggestionConfig.d.ts +1 -1
  1362. package/es/react/utils/transformSuggestionConfig.js.map +1 -1
  1363. package/es/react/video-player.d.ts +9 -2
  1364. package/es/react/video-player.js +6 -6
  1365. package/es/react/video-player.js.map +1 -1
  1366. package/es/react/workspace-shell.d.ts +11 -5
  1367. package/es/react/workspace-shell.js +20 -17
  1368. package/es/react/workspace-shell.js.map +1 -1
  1369. package/es/testing/load-all-lazy-deps.d.ts +1 -1
  1370. package/es/testing/load-all-lazy-deps.js +2 -2
  1371. package/es/testing/load-all-lazy-deps.js.map +1 -1
  1372. package/es/typings/overflow-menu.d.ts +21 -10
  1373. package/package.json +66 -28
  1374. package/scss/_markdown-inline.scss +1 -1
  1375. package/scss/_modifiers.scss +2 -2
  1376. package/scss/_utilities.scss +3 -3
  1377. package/scss/vars.scss +1 -1
  1378. package/telemetry.yml +2 -0
  1379. package/LICENSE +0 -201
  1380. package/es/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
  1381. package/es/components/markdown/src/inline-markdown.scss.js +0 -13
  1382. package/es/components/markdown/src/inline-markdown.scss.js.map +0 -1
  1383. package/es/components/markdown/src/inline-run-projection.scss.js +0 -13
  1384. package/es/components/markdown/src/inline-run-projection.scss.js.map +0 -1
  1385. package/es/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
  1386. package/es/components/shared/dynamic-css-var-sheet.d.ts +0 -34
  1387. package/es/components/shared/dynamic-css-var-sheet.js +0 -215
  1388. package/es/components/shared/dynamic-css-var-sheet.js.map +0 -1
  1389. package/es/components/shared/media-utils/script-loader.d.ts +0 -36
  1390. package/es/components/shared/media-utils/script-loader.js +0 -80
  1391. package/es/components/shared/media-utils/script-loader.js.map +0 -1
  1392. package/es/components/shared/root-styles.d.ts +0 -30
  1393. package/es/components/shared/root-styles.js +0 -72
  1394. package/es/components/shared/root-styles.js.map +0 -1
  1395. package/es/globals/decorators/carbon-element.d.ts +0 -37
  1396. package/es/globals/decorators/carbon-element.js +0 -67
  1397. package/es/globals/decorators/carbon-element.js.map +0 -1
  1398. package/es/globals/decorators/index.d.ts +0 -1
  1399. package/es/globals/decorators/index.js +0 -9
  1400. package/es/globals/decorators/index.js.map +0 -1
  1401. package/es/react/utils/withWebComponentBridge.d.ts +0 -18
  1402. package/es/react/utils/withWebComponentBridge.js +0 -143
  1403. package/es/react/utils/withWebComponentBridge.js.map +0 -1
  1404. package/es-custom/components/audio-player/index.d.ts +0 -12
  1405. package/es-custom/components/audio-player/index.js +0 -10
  1406. package/es-custom/components/audio-player/src/audio-player.d.ts +0 -132
  1407. package/es-custom/components/audio-player/src/audio-player.js +0 -393
  1408. package/es-custom/components/audio-player/src/audio-player.js.map +0 -1
  1409. package/es-custom/components/audio-player/src/audio-player.scss.js +0 -13
  1410. package/es-custom/components/audio-player/src/audio-player.scss.js.map +0 -1
  1411. package/es-custom/components/audio-player/src/providers/base-provider.js.map +0 -1
  1412. package/es-custom/components/audio-player/src/providers/native-audio-provider.js.map +0 -1
  1413. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +0 -200
  1414. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js.map +0 -1
  1415. package/es-custom/components/audio-player/src/transcript.d.ts +0 -58
  1416. package/es-custom/components/audio-player/src/transcript.js +0 -163
  1417. package/es-custom/components/audio-player/src/transcript.js.map +0 -1
  1418. package/es-custom/components/audio-player/src/transcript.scss.js +0 -13
  1419. package/es-custom/components/audio-player/src/transcript.scss.js.map +0 -1
  1420. package/es-custom/components/audio-player/src/utils/url-detector.js.map +0 -1
  1421. package/es-custom/components/card/index.d.ts +0 -11
  1422. package/es-custom/components/card/index.js +0 -11
  1423. package/es-custom/components/card/index.js.map +0 -1
  1424. package/es-custom/components/card/src/card-footer.d.ts +0 -44
  1425. package/es-custom/components/card/src/card-footer.js +0 -139
  1426. package/es-custom/components/card/src/card-footer.js.map +0 -1
  1427. package/es-custom/components/card/src/card-footer.scss.js +0 -13
  1428. package/es-custom/components/card/src/card-footer.scss.js.map +0 -1
  1429. package/es-custom/components/card/src/card-steps.d.ts +0 -29
  1430. package/es-custom/components/card/src/card-steps.js +0 -91
  1431. package/es-custom/components/card/src/card-steps.js.map +0 -1
  1432. package/es-custom/components/card/src/card-steps.scss.js +0 -13
  1433. package/es-custom/components/card/src/card-steps.scss.js.map +0 -1
  1434. package/es-custom/components/card/src/card.d.ts +0 -28
  1435. package/es-custom/components/card/src/card.js +0 -66
  1436. package/es-custom/components/card/src/card.js.map +0 -1
  1437. package/es-custom/components/card/src/card.scss.js +0 -13
  1438. package/es-custom/components/card/src/card.scss.js.map +0 -1
  1439. package/es-custom/components/carousel/index.d.ts +0 -9
  1440. package/es-custom/components/carousel/index.js +0 -9
  1441. package/es-custom/components/carousel/index.js.map +0 -1
  1442. package/es-custom/components/carousel/src/carousel.d.ts +0 -39
  1443. package/es-custom/components/carousel/src/carousel.js +0 -130
  1444. package/es-custom/components/carousel/src/carousel.js.map +0 -1
  1445. package/es-custom/components/carousel/src/carousel.scss.js +0 -13
  1446. package/es-custom/components/carousel/src/carousel.scss.js.map +0 -1
  1447. package/es-custom/components/chain-of-thought/defs.js.map +0 -1
  1448. package/es-custom/components/chain-of-thought/index.d.ts +0 -10
  1449. package/es-custom/components/chain-of-thought/index.js +0 -13
  1450. package/es-custom/components/chain-of-thought/index.js.map +0 -1
  1451. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +0 -47
  1452. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +0 -348
  1453. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +0 -1
  1454. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +0 -13
  1455. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +0 -1
  1456. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +0 -37
  1457. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +0 -108
  1458. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +0 -1
  1459. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +0 -13
  1460. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +0 -1
  1461. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +0 -45
  1462. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +0 -136
  1463. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +0 -1
  1464. package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +0 -13
  1465. package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js.map +0 -1
  1466. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +0 -37
  1467. package/es-custom/components/chain-of-thought/src/tool-call-data.js +0 -178
  1468. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +0 -1
  1469. package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +0 -13
  1470. package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js.map +0 -1
  1471. package/es-custom/components/chat-button/defs.js.map +0 -1
  1472. package/es-custom/components/chat-button/index.d.ts +0 -10
  1473. package/es-custom/components/chat-button/index.js +0 -10
  1474. package/es-custom/components/chat-button/src/chat-button-skeleton.d.ts +0 -30
  1475. package/es-custom/components/chat-button/src/chat-button-skeleton.js +0 -41
  1476. package/es-custom/components/chat-button/src/chat-button-skeleton.js.map +0 -1
  1477. package/es-custom/components/chat-button/src/chat-button.d.ts +0 -43
  1478. package/es-custom/components/chat-button/src/chat-button.js +0 -113
  1479. package/es-custom/components/chat-button/src/chat-button.js.map +0 -1
  1480. package/es-custom/components/chat-button/src/chat-button.scss.js +0 -13
  1481. package/es-custom/components/chat-button/src/chat-button.scss.js.map +0 -1
  1482. package/es-custom/components/chat-history/index.d.ts +0 -11
  1483. package/es-custom/components/chat-history/index.js +0 -19
  1484. package/es-custom/components/chat-history/index.js.map +0 -1
  1485. package/es-custom/components/chat-history/src/chat-history.scss.js +0 -13
  1486. package/es-custom/components/chat-history/src/history-content.d.ts +0 -25
  1487. package/es-custom/components/chat-history/src/history-content.js +0 -76
  1488. package/es-custom/components/chat-history/src/history-content.js.map +0 -1
  1489. package/es-custom/components/chat-history/src/history-delete-panel.d.ts +0 -36
  1490. package/es-custom/components/chat-history/src/history-delete-panel.js +0 -143
  1491. package/es-custom/components/chat-history/src/history-delete-panel.js.map +0 -1
  1492. package/es-custom/components/chat-history/src/history-header.d.ts +0 -34
  1493. package/es-custom/components/chat-history/src/history-header.js +0 -98
  1494. package/es-custom/components/chat-history/src/history-header.js.map +0 -1
  1495. package/es-custom/components/chat-history/src/history-loading.d.ts +0 -18
  1496. package/es-custom/components/chat-history/src/history-loading.js +0 -62
  1497. package/es-custom/components/chat-history/src/history-loading.js.map +0 -1
  1498. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +0 -130
  1499. package/es-custom/components/chat-history/src/history-panel-item-input.js +0 -281
  1500. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +0 -1
  1501. package/es-custom/components/chat-history/src/history-panel-item.d.ts +0 -150
  1502. package/es-custom/components/chat-history/src/history-panel-item.js +0 -456
  1503. package/es-custom/components/chat-history/src/history-panel-item.js.map +0 -1
  1504. package/es-custom/components/chat-history/src/history-panel-items.d.ts +0 -13
  1505. package/es-custom/components/chat-history/src/history-panel-items.js +0 -41
  1506. package/es-custom/components/chat-history/src/history-panel-items.js.map +0 -1
  1507. package/es-custom/components/chat-history/src/history-panel-menu.d.ts +0 -12
  1508. package/es-custom/components/chat-history/src/history-panel-menu.js +0 -37
  1509. package/es-custom/components/chat-history/src/history-panel-menu.js.map +0 -1
  1510. package/es-custom/components/chat-history/src/history-panel.d.ts +0 -27
  1511. package/es-custom/components/chat-history/src/history-panel.js +0 -68
  1512. package/es-custom/components/chat-history/src/history-panel.js.map +0 -1
  1513. package/es-custom/components/chat-history/src/history-search-item.d.ts +0 -43
  1514. package/es-custom/components/chat-history/src/history-search-item.js +0 -95
  1515. package/es-custom/components/chat-history/src/history-search-item.js.map +0 -1
  1516. package/es-custom/components/chat-history/src/history-shell.d.ts +0 -23
  1517. package/es-custom/components/chat-history/src/history-shell.js +0 -89
  1518. package/es-custom/components/chat-history/src/history-shell.js.map +0 -1
  1519. package/es-custom/components/chat-history/src/history-toolbar.d.ts +0 -89
  1520. package/es-custom/components/chat-history/src/history-toolbar.js +0 -108
  1521. package/es-custom/components/chat-history/src/history-toolbar.js.map +0 -1
  1522. package/es-custom/components/chat-shell/index.d.ts +0 -12
  1523. package/es-custom/components/chat-shell/index.js +0 -11
  1524. package/es-custom/components/chat-shell/index.js.map +0 -1
  1525. package/es-custom/components/chat-shell/src/chat-header.d.ts +0 -177
  1526. package/es-custom/components/chat-shell/src/chat-header.js +0 -414
  1527. package/es-custom/components/chat-shell/src/chat-header.js.map +0 -1
  1528. package/es-custom/components/chat-shell/src/chat-header.scss.js +0 -13
  1529. package/es-custom/components/chat-shell/src/chat-header.scss.js.map +0 -1
  1530. package/es-custom/components/chat-shell/src/corner-manager.js +0 -101
  1531. package/es-custom/components/chat-shell/src/corner-manager.js.map +0 -1
  1532. package/es-custom/components/chat-shell/src/initialization-manager.js.map +0 -1
  1533. package/es-custom/components/chat-shell/src/panel-manager.d.ts +0 -39
  1534. package/es-custom/components/chat-shell/src/panel-manager.js +0 -259
  1535. package/es-custom/components/chat-shell/src/panel-manager.js.map +0 -1
  1536. package/es-custom/components/chat-shell/src/panel.d.ts +0 -93
  1537. package/es-custom/components/chat-shell/src/panel.js +0 -527
  1538. package/es-custom/components/chat-shell/src/panel.js.map +0 -1
  1539. package/es-custom/components/chat-shell/src/panel.scss.js +0 -13
  1540. package/es-custom/components/chat-shell/src/panel.scss.js.map +0 -1
  1541. package/es-custom/components/chat-shell/src/resize-observer-manager.js.map +0 -1
  1542. package/es-custom/components/chat-shell/src/shell.d.ts +0 -133
  1543. package/es-custom/components/chat-shell/src/shell.js +0 -872
  1544. package/es-custom/components/chat-shell/src/shell.js.map +0 -1
  1545. package/es-custom/components/chat-shell/src/shell.scss.js +0 -13
  1546. package/es-custom/components/chat-shell/src/shell.scss.js.map +0 -1
  1547. package/es-custom/components/chat-shell/src/slot-observer.js.map +0 -1
  1548. package/es-custom/components/chat-shell/src/workspace-manager-utils.js.map +0 -1
  1549. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +0 -173
  1550. package/es-custom/components/chat-shell/src/workspace-manager.js +0 -717
  1551. package/es-custom/components/chat-shell/src/workspace-manager.js.map +0 -1
  1552. package/es-custom/components/code-snippet/index.d.ts +0 -4
  1553. package/es-custom/components/code-snippet/index.js +0 -10
  1554. package/es-custom/components/code-snippet/index.js.map +0 -1
  1555. package/es-custom/components/code-snippet/src/code-snippet.d.ts +0 -211
  1556. package/es-custom/components/code-snippet/src/code-snippet.js +0 -994
  1557. package/es-custom/components/code-snippet/src/code-snippet.js.map +0 -1
  1558. package/es-custom/components/code-snippet/src/code-snippet.scss.js +0 -13
  1559. package/es-custom/components/code-snippet/src/code-snippet.scss.js.map +0 -1
  1560. package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +0 -1
  1561. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js.map +0 -1
  1562. package/es-custom/components/code-snippet/src/codemirror/content-sync.js.map +0 -1
  1563. package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +0 -1
  1564. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +0 -30
  1565. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +0 -80
  1566. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js.map +0 -1
  1567. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +0 -1
  1568. package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +0 -1
  1569. package/es-custom/components/code-snippet/src/codemirror/language-data.js.map +0 -1
  1570. package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +0 -1
  1571. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +0 -1
  1572. package/es-custom/components/code-snippet/src/codemirror/theme.js.map +0 -1
  1573. package/es-custom/components/code-snippet/src/dom-utils.js.map +0 -1
  1574. package/es-custom/components/code-snippet/src/formatters.js +0 -19
  1575. package/es-custom/components/code-snippet/src/formatters.js.map +0 -1
  1576. package/es-custom/components/code-snippet/src/layout-utils.js.map +0 -1
  1577. package/es-custom/components/code-snippet/src/streaming-manager.js.map +0 -1
  1578. package/es-custom/components/conversational-search/index.d.ts +0 -9
  1579. package/es-custom/components/conversational-search/index.js +0 -9
  1580. package/es-custom/components/conversational-search/index.js.map +0 -1
  1581. package/es-custom/components/conversational-search/src/citation-utils.d.ts +0 -24
  1582. package/es-custom/components/conversational-search/src/citation-utils.js +0 -46
  1583. package/es-custom/components/conversational-search/src/citation-utils.js.map +0 -1
  1584. package/es-custom/components/conversational-search/src/conversational-search-shell.d.ts +0 -41
  1585. package/es-custom/components/conversational-search/src/conversational-search-shell.js +0 -116
  1586. package/es-custom/components/conversational-search/src/conversational-search-shell.js.map +0 -1
  1587. package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js +0 -13
  1588. package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js.map +0 -1
  1589. package/es-custom/components/feedback/index.d.ts +0 -4
  1590. package/es-custom/components/feedback/index.js +0 -10
  1591. package/es-custom/components/feedback/index.js.map +0 -1
  1592. package/es-custom/components/feedback/src/feedback-buttons.d.ts +0 -68
  1593. package/es-custom/components/feedback/src/feedback-buttons.js +0 -189
  1594. package/es-custom/components/feedback/src/feedback-buttons.js.map +0 -1
  1595. package/es-custom/components/feedback/src/feedback-buttons.scss.js +0 -13
  1596. package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +0 -1
  1597. package/es-custom/components/feedback/src/feedback.d.ts +0 -141
  1598. package/es-custom/components/feedback/src/feedback.js +0 -340
  1599. package/es-custom/components/feedback/src/feedback.js.map +0 -1
  1600. package/es-custom/components/feedback/src/feedback.scss.js +0 -13
  1601. package/es-custom/components/feedback/src/feedback.scss.js.map +0 -1
  1602. package/es-custom/components/file-uploads/index.d.ts +0 -13
  1603. package/es-custom/components/file-uploads/index.js +0 -10
  1604. package/es-custom/components/file-uploads/index.js.map +0 -1
  1605. package/es-custom/components/file-uploads/src/file-type-icon.js.map +0 -1
  1606. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +0 -116
  1607. package/es-custom/components/file-uploads/src/file-upload-item.js +0 -482
  1608. package/es-custom/components/file-uploads/src/file-upload-item.js.map +0 -1
  1609. package/es-custom/components/file-uploads/src/file-upload-item.scss.js +0 -13
  1610. package/es-custom/components/file-uploads/src/file-upload-item.scss.js.map +0 -1
  1611. package/es-custom/components/file-uploads/src/file-uploads.d.ts +0 -136
  1612. package/es-custom/components/file-uploads/src/file-uploads.js +0 -345
  1613. package/es-custom/components/file-uploads/src/file-uploads.js.map +0 -1
  1614. package/es-custom/components/file-uploads/src/file-uploads.scss.js +0 -13
  1615. package/es-custom/components/file-uploads/src/file-uploads.scss.js.map +0 -1
  1616. package/es-custom/components/launcher/index.d.ts +0 -9
  1617. package/es-custom/components/launcher/index.js +0 -9
  1618. package/es-custom/components/launcher/index.js.map +0 -1
  1619. package/es-custom/components/launcher/src/launcher.d.ts +0 -68
  1620. package/es-custom/components/launcher/src/launcher.js +0 -153
  1621. package/es-custom/components/launcher/src/launcher.js.map +0 -1
  1622. package/es-custom/components/launcher/src/launcher.scss.js +0 -13
  1623. package/es-custom/components/launcher/src/launcher.scss.js.map +0 -1
  1624. package/es-custom/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
  1625. package/es-custom/components/markdown/index.d.ts +0 -8
  1626. package/es-custom/components/markdown/index.js +0 -12
  1627. package/es-custom/components/markdown/index.js.map +0 -1
  1628. package/es-custom/components/markdown/src/inline-markdown.js +0 -98
  1629. package/es-custom/components/markdown/src/inline-markdown.js.map +0 -1
  1630. package/es-custom/components/markdown/src/inline-markdown.scss.js +0 -13
  1631. package/es-custom/components/markdown/src/inline-run-projection.scss.js +0 -13
  1632. package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +0 -397
  1633. package/es-custom/components/markdown/src/markdown-renderer.d.ts +0 -26
  1634. package/es-custom/components/markdown/src/markdown-renderer.js +0 -642
  1635. package/es-custom/components/markdown/src/markdown-renderer.js.map +0 -1
  1636. package/es-custom/components/markdown/src/markdown-token-tree.js +0 -357
  1637. package/es-custom/components/markdown/src/markdown-token-tree.js.map +0 -1
  1638. package/es-custom/components/markdown/src/markdown.d.ts +0 -143
  1639. package/es-custom/components/markdown/src/markdown.js +0 -884
  1640. package/es-custom/components/markdown/src/markdown.js.map +0 -1
  1641. package/es-custom/components/markdown/src/markdown.scss.js +0 -13
  1642. package/es-custom/components/markdown/src/markdown.scss.js.map +0 -1
  1643. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js.map +0 -1
  1644. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js.map +0 -1
  1645. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +0 -76
  1646. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js.map +0 -1
  1647. package/es-custom/components/markdown/src/utils/html-helpers.d.ts +0 -5
  1648. package/es-custom/components/markdown/src/utils/html-helpers.js.map +0 -1
  1649. package/es-custom/components/markdown/src/utils/inline-run-projection.d.ts +0 -15
  1650. package/es-custom/components/markdown/src/utils/inline-run-projection.js +0 -182
  1651. package/es-custom/components/markdown/src/utils/inline-run-projection.js.map +0 -1
  1652. package/es-custom/components/markdown/src/utils/inline-validation.js.map +0 -1
  1653. package/es-custom/components/markdown/src/utils/lit-directives.js.map +0 -1
  1654. package/es-custom/components/markdown/src/utils/plugin-fallback.js +0 -238
  1655. package/es-custom/components/markdown/src/utils/plugin-fallback.js.map +0 -1
  1656. package/es-custom/components/markdown/src/utils/plugin-host-container.d.ts +0 -159
  1657. package/es-custom/components/markdown/src/utils/plugin-host-container.js +0 -165
  1658. package/es-custom/components/markdown/src/utils/plugin-host-container.js.map +0 -1
  1659. package/es-custom/components/markdown/src/utils/slot-names.js +0 -83
  1660. package/es-custom/components/markdown/src/utils/slot-names.js.map +0 -1
  1661. package/es-custom/components/markdown/src/utils/streaming-table.js.map +0 -1
  1662. package/es-custom/components/markdown/src/utils/table-helpers.d.ts +0 -32
  1663. package/es-custom/components/markdown/src/utils/table-helpers.js +0 -203
  1664. package/es-custom/components/markdown/src/utils/table-helpers.js.map +0 -1
  1665. package/es-custom/components/message-item-shell/index.d.ts +0 -11
  1666. package/es-custom/components/message-item-shell/index.js +0 -9
  1667. package/es-custom/components/message-item-shell/index.js.map +0 -1
  1668. package/es-custom/components/message-item-shell/src/message-item-shell.d.ts +0 -48
  1669. package/es-custom/components/message-item-shell/src/message-item-shell.js +0 -91
  1670. package/es-custom/components/message-item-shell/src/message-item-shell.js.map +0 -1
  1671. package/es-custom/components/message-item-shell/src/message-item-shell.scss.js +0 -13
  1672. package/es-custom/components/message-item-shell/src/message-item-shell.scss.js.map +0 -1
  1673. package/es-custom/components/messages-shell/index.d.ts +0 -11
  1674. package/es-custom/components/messages-shell/index.js +0 -9
  1675. package/es-custom/components/messages-shell/index.js.map +0 -1
  1676. package/es-custom/components/messages-shell/src/messages-shell.d.ts +0 -57
  1677. package/es-custom/components/messages-shell/src/messages-shell.js +0 -141
  1678. package/es-custom/components/messages-shell/src/messages-shell.js.map +0 -1
  1679. package/es-custom/components/messages-shell/src/messages-shell.scss.js +0 -13
  1680. package/es-custom/components/messages-shell/src/messages-shell.scss.js.map +0 -1
  1681. package/es-custom/components/processing/index.d.ts +0 -1
  1682. package/es-custom/components/processing/index.js +0 -9
  1683. package/es-custom/components/processing/index.js.map +0 -1
  1684. package/es-custom/components/processing/src/processing.d.ts +0 -23
  1685. package/es-custom/components/processing/src/processing.js +0 -68
  1686. package/es-custom/components/processing/src/processing.js.map +0 -1
  1687. package/es-custom/components/processing/src/processing.scss.js +0 -13
  1688. package/es-custom/components/processing/src/processing.scss.js.map +0 -1
  1689. package/es-custom/components/prompt-line/autocomplete/index.d.ts +0 -12
  1690. package/es-custom/components/prompt-line/autocomplete/index.js +0 -9
  1691. package/es-custom/components/prompt-line/autocomplete/index.js.map +0 -1
  1692. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +0 -212
  1693. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +0 -621
  1694. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +0 -1
  1695. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js +0 -13
  1696. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +0 -1
  1697. package/es-custom/components/prompt-line/index.d.ts +0 -27
  1698. package/es-custom/components/prompt-line/index.js +0 -31
  1699. package/es-custom/components/prompt-line/index.js.map +0 -1
  1700. package/es-custom/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
  1701. package/es-custom/components/prompt-line/src/autocomplete-controller-element.d.ts +0 -84
  1702. package/es-custom/components/prompt-line/src/autocomplete-controller-element.js +0 -274
  1703. package/es-custom/components/prompt-line/src/autocomplete-controller-element.js.map +0 -1
  1704. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +0 -148
  1705. package/es-custom/components/prompt-line/src/autocomplete-controller.js +0 -503
  1706. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +0 -1
  1707. package/es-custom/components/prompt-line/src/error-message.d.ts +0 -46
  1708. package/es-custom/components/prompt-line/src/error-message.js +0 -134
  1709. package/es-custom/components/prompt-line/src/error-message.js.map +0 -1
  1710. package/es-custom/components/prompt-line/src/error-message.scss.js +0 -13
  1711. package/es-custom/components/prompt-line/src/error-message.scss.js.map +0 -1
  1712. package/es-custom/components/prompt-line/src/prompt-line-constants.d.ts +0 -35
  1713. package/es-custom/components/prompt-line/src/prompt-line-constants.js +0 -42
  1714. package/es-custom/components/prompt-line/src/prompt-line-constants.js.map +0 -1
  1715. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +0 -122
  1716. package/es-custom/components/prompt-line/src/prompt-line-mouse-focus.js.map +0 -1
  1717. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js.map +0 -1
  1718. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +0 -458
  1719. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +0 -1
  1720. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +0 -114
  1721. package/es-custom/components/prompt-line/src/prompt-line-shell.js +0 -267
  1722. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +0 -1
  1723. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +0 -13
  1724. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js.map +0 -1
  1725. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +0 -88
  1726. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js +0 -393
  1727. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js.map +0 -1
  1728. package/es-custom/components/prompt-line/src/prompt-line.d.ts +0 -207
  1729. package/es-custom/components/prompt-line/src/prompt-line.js +0 -593
  1730. package/es-custom/components/prompt-line/src/prompt-line.js.map +0 -1
  1731. package/es-custom/components/prompt-line/src/prompt-line.scss.js +0 -13
  1732. package/es-custom/components/prompt-line/src/prompt-line.scss.js.map +0 -1
  1733. package/es-custom/components/prompt-line/src/send-control.d.ts +0 -53
  1734. package/es-custom/components/prompt-line/src/send-control.js +0 -184
  1735. package/es-custom/components/prompt-line/src/send-control.js.map +0 -1
  1736. package/es-custom/components/prompt-line/src/send-control.scss.js +0 -13
  1737. package/es-custom/components/prompt-line/src/send-control.scss.js.map +0 -1
  1738. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +0 -42
  1739. package/es-custom/components/prompt-line/src/stop-streaming-button.js +0 -92
  1740. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +0 -1
  1741. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js +0 -13
  1742. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js.map +0 -1
  1743. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +0 -47
  1744. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +0 -1
  1745. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +0 -36
  1746. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +0 -112
  1747. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +0 -1
  1748. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js.map +0 -1
  1749. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +0 -34
  1750. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +0 -99
  1751. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +0 -1
  1752. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +0 -17
  1753. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +0 -46
  1754. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js.map +0 -1
  1755. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +0 -83
  1756. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js.map +0 -1
  1757. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.d.ts +0 -64
  1758. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js +0 -80
  1759. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js.map +0 -1
  1760. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +0 -37
  1761. package/es-custom/components/prompt-line/src/tiptap/json-utils.js.map +0 -1
  1762. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +0 -31
  1763. package/es-custom/components/prompt-line/src/tiptap/keymap.js +0 -58
  1764. package/es-custom/components/prompt-line/src/tiptap/keymap.js.map +0 -1
  1765. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js.map +0 -1
  1766. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js.map +0 -1
  1767. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +0 -87
  1768. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +0 -41
  1769. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js.map +0 -1
  1770. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +0 -92
  1771. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js.map +0 -1
  1772. package/es-custom/components/prompt-line/src/tiptap/resolve-config-items.js.map +0 -1
  1773. package/es-custom/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +0 -1
  1774. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js.map +0 -1
  1775. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +0 -41
  1776. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +0 -68
  1777. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +0 -1
  1778. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +0 -228
  1779. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +0 -30
  1780. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +0 -104
  1781. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js.map +0 -1
  1782. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +0 -25
  1783. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +0 -65
  1784. package/es-custom/components/prompt-line/src/tiptap/value-sync.js.map +0 -1
  1785. package/es-custom/components/prompt-line/src/types.d.ts +0 -100
  1786. package/es-custom/components/prompt-line/src/types.js.map +0 -1
  1787. package/es-custom/components/reasoning-steps/index.d.ts +0 -4
  1788. package/es-custom/components/reasoning-steps/index.js +0 -11
  1789. package/es-custom/components/reasoning-steps/index.js.map +0 -1
  1790. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +0 -50
  1791. package/es-custom/components/reasoning-steps/src/reasoning-step.js +0 -294
  1792. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +0 -1
  1793. package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +0 -13
  1794. package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js.map +0 -1
  1795. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +0 -40
  1796. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +0 -107
  1797. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +0 -1
  1798. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +0 -13
  1799. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +0 -1
  1800. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +0 -47
  1801. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +0 -169
  1802. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +0 -1
  1803. package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +0 -13
  1804. package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js.map +0 -1
  1805. package/es-custom/components/shared/dynamic-css-var-sheet.js.map +0 -1
  1806. package/es-custom/components/shared/media-utils/script-loader.js.map +0 -1
  1807. package/es-custom/components/shared/root-styles.js.map +0 -1
  1808. package/es-custom/components/table/index.d.ts +0 -3
  1809. package/es-custom/components/table/index.js +0 -9
  1810. package/es-custom/components/table/index.js.map +0 -1
  1811. package/es-custom/components/table/src/table-loader.js.map +0 -1
  1812. package/es-custom/components/table/src/table-pagination.template.d.ts +0 -27
  1813. package/es-custom/components/table/src/table-pagination.template.js +0 -55
  1814. package/es-custom/components/table/src/table-pagination.template.js.map +0 -1
  1815. package/es-custom/components/table/src/table-skeleton.template.d.ts +0 -6
  1816. package/es-custom/components/table/src/table-skeleton.template.js +0 -35
  1817. package/es-custom/components/table/src/table-skeleton.template.js.map +0 -1
  1818. package/es-custom/components/table/src/table.d.ts +0 -210
  1819. package/es-custom/components/table/src/table.js +0 -641
  1820. package/es-custom/components/table/src/table.js.map +0 -1
  1821. package/es-custom/components/table/src/table.scss.js +0 -13
  1822. package/es-custom/components/table/src/table.scss.js.map +0 -1
  1823. package/es-custom/components/table/src/table.template.d.ts +0 -10
  1824. package/es-custom/components/table/src/table.template.js +0 -96
  1825. package/es-custom/components/table/src/table.template.js.map +0 -1
  1826. package/es-custom/components/toolbar/index.d.ts +0 -1
  1827. package/es-custom/components/toolbar/index.js +0 -9
  1828. package/es-custom/components/toolbar/index.js.map +0 -1
  1829. package/es-custom/components/toolbar/src/toolbar.d.ts +0 -95
  1830. package/es-custom/components/toolbar/src/toolbar.js +0 -409
  1831. package/es-custom/components/toolbar/src/toolbar.js.map +0 -1
  1832. package/es-custom/components/toolbar/src/toolbar.scss.js +0 -13
  1833. package/es-custom/components/toolbar/src/toolbar.scss.js.map +0 -1
  1834. package/es-custom/components/truncated-text/index.d.ts +0 -9
  1835. package/es-custom/components/truncated-text/index.js +0 -9
  1836. package/es-custom/components/truncated-text/index.js.map +0 -1
  1837. package/es-custom/components/truncated-text/src/truncated-text.d.ts +0 -84
  1838. package/es-custom/components/truncated-text/src/truncated-text.js +0 -295
  1839. package/es-custom/components/truncated-text/src/truncated-text.js.map +0 -1
  1840. package/es-custom/components/truncated-text/src/truncated-text.scss.js +0 -13
  1841. package/es-custom/components/truncated-text/src/truncated-text.scss.js.map +0 -1
  1842. package/es-custom/components/user-avatar/index.d.ts +0 -10
  1843. package/es-custom/components/user-avatar/index.js +0 -9
  1844. package/es-custom/components/user-avatar/index.js.map +0 -1
  1845. package/es-custom/components/user-avatar/src/user-avatar.d.ts +0 -46
  1846. package/es-custom/components/user-avatar/src/user-avatar.js +0 -153
  1847. package/es-custom/components/user-avatar/src/user-avatar.js.map +0 -1
  1848. package/es-custom/components/user-avatar/src/user-avatar.scss.js +0 -13
  1849. package/es-custom/components/user-avatar/src/user-avatar.scss.js.map +0 -1
  1850. package/es-custom/components/video-player/index.d.ts +0 -10
  1851. package/es-custom/components/video-player/index.js +0 -9
  1852. package/es-custom/components/video-player/index.js.map +0 -1
  1853. package/es-custom/components/video-player/src/providers/base-provider.js.map +0 -1
  1854. package/es-custom/components/video-player/src/providers/kaltura-provider.js +0 -192
  1855. package/es-custom/components/video-player/src/providers/kaltura-provider.js.map +0 -1
  1856. package/es-custom/components/video-player/src/providers/native-video-provider.js +0 -158
  1857. package/es-custom/components/video-player/src/providers/native-video-provider.js.map +0 -1
  1858. package/es-custom/components/video-player/src/providers/vimeo-provider.js +0 -194
  1859. package/es-custom/components/video-player/src/providers/vimeo-provider.js.map +0 -1
  1860. package/es-custom/components/video-player/src/providers/youtube-provider.js +0 -215
  1861. package/es-custom/components/video-player/src/providers/youtube-provider.js.map +0 -1
  1862. package/es-custom/components/video-player/src/utils/url-detector.js.map +0 -1
  1863. package/es-custom/components/video-player/src/video-player.d.ts +0 -145
  1864. package/es-custom/components/video-player/src/video-player.js +0 -419
  1865. package/es-custom/components/video-player/src/video-player.js.map +0 -1
  1866. package/es-custom/components/video-player/src/video-player.scss.js +0 -13
  1867. package/es-custom/components/video-player/src/video-player.scss.js.map +0 -1
  1868. package/es-custom/components/workspace-shell/index.d.ts +0 -4
  1869. package/es-custom/components/workspace-shell/index.js +0 -12
  1870. package/es-custom/components/workspace-shell/index.js.map +0 -1
  1871. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js.map +0 -1
  1872. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +0 -17
  1873. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +0 -52
  1874. package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +0 -1
  1875. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +0 -38
  1876. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +0 -150
  1877. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +0 -1
  1878. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +0 -13
  1879. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js.map +0 -1
  1880. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +0 -38
  1881. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +0 -150
  1882. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +0 -1
  1883. package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +0 -13
  1884. package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js.map +0 -1
  1885. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +0 -30
  1886. package/es-custom/components/workspace-shell/src/workspace-shell.js +0 -133
  1887. package/es-custom/components/workspace-shell/src/workspace-shell.js.map +0 -1
  1888. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +0 -13
  1889. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js.map +0 -1
  1890. package/es-custom/globals/decorators/carbon-element.d.ts +0 -37
  1891. package/es-custom/globals/decorators/carbon-element.js +0 -67
  1892. package/es-custom/globals/decorators/carbon-element.js.map +0 -1
  1893. package/es-custom/globals/decorators/index.d.ts +0 -1
  1894. package/es-custom/globals/decorators/index.js +0 -9
  1895. package/es-custom/globals/decorators/index.js.map +0 -1
  1896. package/es-custom/globals/scss/common.scss.js +0 -13
  1897. package/es-custom/globals/scss/common.scss.js.map +0 -1
  1898. package/es-custom/globals/settings.d.ts +0 -2
  1899. package/es-custom/globals/settings.js +0 -20
  1900. package/es-custom/globals/settings.js.map +0 -1
  1901. package/es-custom/globals/utils/aria-announcer-manager.d.ts +0 -118
  1902. package/es-custom/globals/utils/aria-announcer-manager.js +0 -170
  1903. package/es-custom/globals/utils/aria-announcer-manager.js.map +0 -1
  1904. package/es-custom/globals/utils/browser-utils.d.ts +0 -8
  1905. package/es-custom/globals/utils/browser-utils.js +0 -37
  1906. package/es-custom/globals/utils/browser-utils.js.map +0 -1
  1907. package/es-custom/globals/utils/csv.d.ts +0 -7
  1908. package/es-custom/globals/utils/csv.js +0 -37
  1909. package/es-custom/globals/utils/csv.js.map +0 -1
  1910. package/es-custom/globals/utils/dom-utils.d.ts +0 -6
  1911. package/es-custom/globals/utils/dom-utils.js +0 -39
  1912. package/es-custom/globals/utils/dom-utils.js.map +0 -1
  1913. package/es-custom/globals/utils/focus-utils.d.ts +0 -69
  1914. package/es-custom/globals/utils/focus-utils.js +0 -202
  1915. package/es-custom/globals/utils/focus-utils.js.map +0 -1
  1916. package/es-custom/globals/utils/iconTransform.d.ts +0 -51
  1917. package/es-custom/globals/utils/iconTransform.js +0 -197
  1918. package/es-custom/globals/utils/iconTransform.js.map +0 -1
  1919. package/es-custom/globals/utils/rtl-utils.d.ts +0 -7
  1920. package/es-custom/globals/utils/rtl-utils.js +0 -30
  1921. package/es-custom/globals/utils/rtl-utils.js.map +0 -1
  1922. package/es-custom/globals/utils/uuid.d.ts +0 -5
  1923. package/es-custom/globals/utils/uuid.js +0 -32
  1924. package/es-custom/globals/utils/uuid.js.map +0 -1
  1925. package/es-custom/react/ai-label-action-button.d.ts +0 -3
  1926. package/es-custom/react/ai-label-action-button.js +0 -27
  1927. package/es-custom/react/ai-label-action-button.js.map +0 -1
  1928. package/es-custom/react/audio-player.d.ts +0 -12
  1929. package/es-custom/react/audio-player.js +0 -34
  1930. package/es-custom/react/audio-player.js.map +0 -1
  1931. package/es-custom/react/autocomplete.d.ts +0 -11
  1932. package/es-custom/react/autocomplete.js +0 -36
  1933. package/es-custom/react/autocomplete.js.map +0 -1
  1934. package/es-custom/react/card.d.ts +0 -6
  1935. package/es-custom/react/card.js +0 -43
  1936. package/es-custom/react/card.js.map +0 -1
  1937. package/es-custom/react/carousel.d.ts +0 -4
  1938. package/es-custom/react/carousel.js +0 -31
  1939. package/es-custom/react/carousel.js.map +0 -1
  1940. package/es-custom/react/chain-of-thought-step.d.ts +0 -3
  1941. package/es-custom/react/chain-of-thought-step.js +0 -32
  1942. package/es-custom/react/chain-of-thought-step.js.map +0 -1
  1943. package/es-custom/react/chain-of-thought-toggle.d.ts +0 -5
  1944. package/es-custom/react/chain-of-thought-toggle.js +0 -31
  1945. package/es-custom/react/chain-of-thought-toggle.js.map +0 -1
  1946. package/es-custom/react/chain-of-thought.d.ts +0 -6
  1947. package/es-custom/react/chain-of-thought.js +0 -33
  1948. package/es-custom/react/chain-of-thought.js.map +0 -1
  1949. package/es-custom/react/chat-button-skeleton.d.ts +0 -11
  1950. package/es-custom/react/chat-button-skeleton.js +0 -28
  1951. package/es-custom/react/chat-button-skeleton.js.map +0 -1
  1952. package/es-custom/react/chat-button.d.ts +0 -13
  1953. package/es-custom/react/chat-button.js +0 -30
  1954. package/es-custom/react/chat-button.js.map +0 -1
  1955. package/es-custom/react/chat-header.d.ts +0 -73
  1956. package/es-custom/react/chat-header.js +0 -57
  1957. package/es-custom/react/chat-header.js.map +0 -1
  1958. package/es-custom/react/chat-shell.d.ts +0 -11
  1959. package/es-custom/react/chat-shell.js +0 -31
  1960. package/es-custom/react/chat-shell.js.map +0 -1
  1961. package/es-custom/react/code-snippet.d.ts +0 -40
  1962. package/es-custom/react/code-snippet.js +0 -89
  1963. package/es-custom/react/code-snippet.js.map +0 -1
  1964. package/es-custom/react/conversational-search-shell.d.ts +0 -12
  1965. package/es-custom/react/conversational-search-shell.js +0 -32
  1966. package/es-custom/react/conversational-search-shell.js.map +0 -1
  1967. package/es-custom/react/error-message.d.ts +0 -11
  1968. package/es-custom/react/error-message.js +0 -28
  1969. package/es-custom/react/error-message.js.map +0 -1
  1970. package/es-custom/react/feedback-buttons.d.ts +0 -3
  1971. package/es-custom/react/feedback-buttons.js +0 -31
  1972. package/es-custom/react/feedback-buttons.js.map +0 -1
  1973. package/es-custom/react/feedback.d.ts +0 -5
  1974. package/es-custom/react/feedback.js +0 -32
  1975. package/es-custom/react/feedback.js.map +0 -1
  1976. package/es-custom/react/file-upload-item.d.ts +0 -11
  1977. package/es-custom/react/file-upload-item.js +0 -31
  1978. package/es-custom/react/file-upload-item.js.map +0 -1
  1979. package/es-custom/react/file-uploads.d.ts +0 -11
  1980. package/es-custom/react/file-uploads.js +0 -31
  1981. package/es-custom/react/file-uploads.js.map +0 -1
  1982. package/es-custom/react/history/history-content.d.ts +0 -3
  1983. package/es-custom/react/history/history-content.js +0 -28
  1984. package/es-custom/react/history/history-content.js.map +0 -1
  1985. package/es-custom/react/history/history-delete-panel.d.ts +0 -3
  1986. package/es-custom/react/history/history-delete-panel.js +0 -32
  1987. package/es-custom/react/history/history-delete-panel.js.map +0 -1
  1988. package/es-custom/react/history/history-header.d.ts +0 -3
  1989. package/es-custom/react/history/history-header.js +0 -31
  1990. package/es-custom/react/history/history-header.js.map +0 -1
  1991. package/es-custom/react/history/history-loading.d.ts +0 -3
  1992. package/es-custom/react/history/history-loading.js +0 -28
  1993. package/es-custom/react/history/history-loading.js.map +0 -1
  1994. package/es-custom/react/history/history-panel-item-input.d.ts +0 -3
  1995. package/es-custom/react/history/history-panel-item-input.js +0 -33
  1996. package/es-custom/react/history/history-panel-item-input.js.map +0 -1
  1997. package/es-custom/react/history/history-panel-item.d.ts +0 -3
  1998. package/es-custom/react/history/history-panel-item.js +0 -35
  1999. package/es-custom/react/history/history-panel-item.js.map +0 -1
  2000. package/es-custom/react/history/history-panel-items.d.ts +0 -3
  2001. package/es-custom/react/history/history-panel-items.js +0 -28
  2002. package/es-custom/react/history/history-panel-items.js.map +0 -1
  2003. package/es-custom/react/history/history-panel-menu.d.ts +0 -3
  2004. package/es-custom/react/history/history-panel-menu.js +0 -28
  2005. package/es-custom/react/history/history-panel-menu.js.map +0 -1
  2006. package/es-custom/react/history/history-panel.d.ts +0 -3
  2007. package/es-custom/react/history/history-panel.js +0 -28
  2008. package/es-custom/react/history/history-panel.js.map +0 -1
  2009. package/es-custom/react/history/history-search-item.d.ts +0 -3
  2010. package/es-custom/react/history/history-search-item.js +0 -31
  2011. package/es-custom/react/history/history-search-item.js.map +0 -1
  2012. package/es-custom/react/history/history-shell.d.ts +0 -3
  2013. package/es-custom/react/history/history-shell.js +0 -28
  2014. package/es-custom/react/history/history-shell.js.map +0 -1
  2015. package/es-custom/react/history/history-toolbar.d.ts +0 -3
  2016. package/es-custom/react/history/history-toolbar.js +0 -32
  2017. package/es-custom/react/history/history-toolbar.js.map +0 -1
  2018. package/es-custom/react/history/index.d.ts +0 -12
  2019. package/es-custom/react/history/index.js +0 -20
  2020. package/es-custom/react/history/index.js.map +0 -1
  2021. package/es-custom/react/hooks/useChatAutocomplete.d.ts +0 -51
  2022. package/es-custom/react/hooks/useChatAutocomplete.js +0 -254
  2023. package/es-custom/react/hooks/useChatAutocomplete.js.map +0 -1
  2024. package/es-custom/react/input-send-control.d.ts +0 -11
  2025. package/es-custom/react/input-send-control.js +0 -32
  2026. package/es-custom/react/input-send-control.js.map +0 -1
  2027. package/es-custom/react/launcher.d.ts +0 -11
  2028. package/es-custom/react/launcher.js +0 -31
  2029. package/es-custom/react/launcher.js.map +0 -1
  2030. package/es-custom/react/markdown.d.ts +0 -56
  2031. package/es-custom/react/markdown.js +0 -163
  2032. package/es-custom/react/markdown.js.map +0 -1
  2033. package/es-custom/react/message-item-shell.d.ts +0 -3
  2034. package/es-custom/react/message-item-shell.js +0 -30
  2035. package/es-custom/react/message-item-shell.js.map +0 -1
  2036. package/es-custom/react/messages-shell.d.ts +0 -3
  2037. package/es-custom/react/messages-shell.js +0 -32
  2038. package/es-custom/react/messages-shell.js.map +0 -1
  2039. package/es-custom/react/panel.d.ts +0 -3
  2040. package/es-custom/react/panel.js +0 -35
  2041. package/es-custom/react/panel.js.map +0 -1
  2042. package/es-custom/react/processing.d.ts +0 -3
  2043. package/es-custom/react/processing.js +0 -28
  2044. package/es-custom/react/processing.js.map +0 -1
  2045. package/es-custom/react/prompt-line-shell.d.ts +0 -18
  2046. package/es-custom/react/prompt-line-shell.js +0 -36
  2047. package/es-custom/react/prompt-line-shell.js.map +0 -1
  2048. package/es-custom/react/prompt-line.d.ts +0 -26
  2049. package/es-custom/react/prompt-line.js +0 -53
  2050. package/es-custom/react/prompt-line.js.map +0 -1
  2051. package/es-custom/react/reasoning-step.d.ts +0 -3
  2052. package/es-custom/react/reasoning-step.js +0 -32
  2053. package/es-custom/react/reasoning-step.js.map +0 -1
  2054. package/es-custom/react/reasoning-steps-toggle.d.ts +0 -5
  2055. package/es-custom/react/reasoning-steps-toggle.js +0 -31
  2056. package/es-custom/react/reasoning-steps-toggle.js.map +0 -1
  2057. package/es-custom/react/reasoning-steps.d.ts +0 -3
  2058. package/es-custom/react/reasoning-steps.js +0 -28
  2059. package/es-custom/react/reasoning-steps.js.map +0 -1
  2060. package/es-custom/react/stop-streaming-button.d.ts +0 -11
  2061. package/es-custom/react/stop-streaming-button.js +0 -28
  2062. package/es-custom/react/stop-streaming-button.js.map +0 -1
  2063. package/es-custom/react/table.d.ts +0 -4
  2064. package/es-custom/react/table.js +0 -28
  2065. package/es-custom/react/table.js.map +0 -1
  2066. package/es-custom/react/tool-call-data.d.ts +0 -3
  2067. package/es-custom/react/tool-call-data.js +0 -28
  2068. package/es-custom/react/tool-call-data.js.map +0 -1
  2069. package/es-custom/react/toolbar.d.ts +0 -20
  2070. package/es-custom/react/toolbar.js +0 -82
  2071. package/es-custom/react/toolbar.js.map +0 -1
  2072. package/es-custom/react/transcript.d.ts +0 -14
  2073. package/es-custom/react/transcript.js +0 -31
  2074. package/es-custom/react/transcript.js.map +0 -1
  2075. package/es-custom/react/truncated-text.d.ts +0 -12
  2076. package/es-custom/react/truncated-text.js +0 -28
  2077. package/es-custom/react/truncated-text.js.map +0 -1
  2078. package/es-custom/react/user-avatar.d.ts +0 -3
  2079. package/es-custom/react/user-avatar.js +0 -29
  2080. package/es-custom/react/user-avatar.js.map +0 -1
  2081. package/es-custom/react/utils/transformSuggestionConfig.d.ts +0 -21
  2082. package/es-custom/react/utils/transformSuggestionConfig.js +0 -67
  2083. package/es-custom/react/utils/transformSuggestionConfig.js.map +0 -1
  2084. package/es-custom/react/utils/withWebComponentBridge.d.ts +0 -18
  2085. package/es-custom/react/utils/withWebComponentBridge.js +0 -143
  2086. package/es-custom/react/utils/withWebComponentBridge.js.map +0 -1
  2087. package/es-custom/react/video-player.d.ts +0 -12
  2088. package/es-custom/react/video-player.js +0 -34
  2089. package/es-custom/react/video-player.js.map +0 -1
  2090. package/es-custom/react/workspace-shell.d.ts +0 -7
  2091. package/es-custom/react/workspace-shell.js +0 -49
  2092. package/es-custom/react/workspace-shell.js.map +0 -1
  2093. package/es-custom/testing/PageObjectId.d.ts +0 -18
  2094. package/es-custom/testing/PageObjectId.js +0 -37
  2095. package/es-custom/testing/PageObjectId.js.map +0 -1
  2096. package/es-custom/testing/load-all-lazy-deps.d.ts +0 -9
  2097. package/es-custom/testing/load-all-lazy-deps.js +0 -30
  2098. package/es-custom/testing/load-all-lazy-deps.js.map +0 -1
  2099. package/es-custom/typings/overflow-menu.d.ts +0 -34
  2100. package/es-custom/typings/overflow-menu.js +0 -8
  2101. package/es-custom/typings/overflow-menu.js.map +0 -1
  2102. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.d.ts +0 -0
  2103. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.js +0 -0
  2104. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.d.ts +0 -0
  2105. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.js +0 -0
  2106. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/soundcloud-provider.d.ts +0 -0
  2107. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.d.ts +0 -0
  2108. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.js +0 -0
  2109. /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.d.ts +0 -0
  2110. /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.js +0 -0
  2111. /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.d.ts +0 -0
  2112. /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.js +0 -0
  2113. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.d.ts +0 -0
  2114. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.js +0 -0
  2115. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.d.ts +0 -0
  2116. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.js +0 -0
  2117. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.d.ts +0 -0
  2118. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js +0 -0
  2119. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js.map +0 -0
  2120. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.d.ts +0 -0
  2121. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.js +0 -0
  2122. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.d.ts +0 -0
  2123. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.js +0 -0
  2124. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.d.ts +0 -0
  2125. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.js +0 -0
  2126. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.d.ts +0 -0
  2127. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.js +0 -0
  2128. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.d.ts +0 -0
  2129. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.js +0 -0
  2130. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.d.ts +0 -0
  2131. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.js +0 -0
  2132. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.d.ts +0 -0
  2133. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.js +0 -0
  2134. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.d.ts +0 -0
  2135. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.js +0 -0
  2136. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.d.ts +0 -0
  2137. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.js +0 -0
  2138. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/formatters.d.ts +0 -0
  2139. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.d.ts +0 -0
  2140. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.js +0 -0
  2141. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.d.ts +0 -0
  2142. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.js +0 -0
  2143. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.d.ts +0 -0
  2144. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.js +0 -0
  2145. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/types.d.ts +0 -0
  2146. /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js +0 -0
  2147. /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js.map +0 -0
  2148. /package/{es-custom/components/chat-history/src → es/components/aichat-history}/chat-history.scss.js.map +0 -0
  2149. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-markdown.d.ts +0 -0
  2150. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-markdown.scss.js.map +0 -0
  2151. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-run-projection.scss.js.map +0 -0
  2152. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js +0 -0
  2153. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js.map +0 -0
  2154. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-token-tree.d.ts +0 -0
  2155. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.d.ts +0 -0
  2156. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.js +0 -0
  2157. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.d.ts +0 -0
  2158. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.js +0 -0
  2159. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-task-lists.d.ts +0 -0
  2160. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/html-helpers.js +0 -0
  2161. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.d.ts +0 -0
  2162. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.js +0 -0
  2163. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.d.ts +0 -0
  2164. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.js +0 -0
  2165. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/plugin-fallback.d.ts +0 -0
  2166. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/slot-names.d.ts +0 -0
  2167. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.d.ts +0 -0
  2168. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.js +0 -0
  2169. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js +0 -0
  2170. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js.map +0 -0
  2171. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.d.ts +0 -0
  2172. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.js +0 -0
  2173. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.d.ts +0 -0
  2174. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.js +0 -0
  2175. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-runtime.d.ts +0 -0
  2176. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/build-extensions.js +0 -0
  2177. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.d.ts +0 -0
  2178. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.js +0 -0
  2179. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/editor-styles.d.ts +0 -0
  2180. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js +0 -0
  2181. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js.map +0 -0
  2182. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.d.ts +0 -0
  2183. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.js +0 -0
  2184. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.d.ts +0 -0
  2185. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.js +0 -0
  2186. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.d.ts +0 -0
  2187. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.js +0 -0
  2188. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/render-token-chip.d.ts +0 -0
  2189. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.d.ts +0 -0
  2190. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.js +0 -0
  2191. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.d.ts +0 -0
  2192. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.js +0 -0
  2193. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.d.ts +0 -0
  2194. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.js +0 -0
  2195. /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js +0 -0
  2196. /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js.map +0 -0
  2197. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/types.js +0 -0
  2198. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/corner-manager.d.ts +0 -0
  2199. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.d.ts +0 -0
  2200. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.js +0 -0
  2201. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.d.ts +0 -0
  2202. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.js +0 -0
  2203. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.d.ts +0 -0
  2204. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.js +0 -0
  2205. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/types.d.ts +0 -0
  2206. /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js +0 -0
  2207. /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js.map +0 -0
  2208. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.d.ts +0 -0
  2209. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.js +0 -0
  2210. /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.d.ts +0 -0
  2211. /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.js +0 -0
  2212. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.d.ts +0 -0
  2213. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js +0 -0
  2214. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js.map +0 -0
  2215. /package/{es-custom/components/table/src → es/components/aichat-table}/types.d.ts +0 -0
  2216. /package/{es-custom/components/table/src → es/components/aichat-table}/types.js +0 -0
  2217. /package/{es-custom/components/table/src → es/components/aichat-table}/types.js.map +0 -0
  2218. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.d.ts +0 -0
  2219. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.js +0 -0
  2220. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/kaltura-provider.d.ts +0 -0
  2221. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/native-video-provider.d.ts +0 -0
  2222. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/vimeo-provider.d.ts +0 -0
  2223. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/youtube-provider.d.ts +0 -0
  2224. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.d.ts +0 -0
  2225. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.js +0 -0
  2226. /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.d.ts +0 -0
  2227. /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.js +0 -0
  2228. /package/{es-custom/components/audio-player → es/components/message-byline}/index.js.map +0 -0
  2229. /package/{es-custom/components/chat-button → es/components/user-message-content}/index.js.map +0 -0
  2230. /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.d.ts +0 -0
  2231. /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.js +0 -0
  2232. /package/{es-custom/components/shared → es/globals/utils}/root-styles.d.ts +0 -0
  2233. /package/{es-custom/components/shared → es/globals/utils}/root-styles.js +0 -0
  2234. /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.d.ts +0 -0
  2235. /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.js","sources":["../../../../src/components/markdown/src/markdown.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport { html, LitElement, PropertyValues, TemplateResult } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { carbonElement } from '../../../globals/decorators/carbon-element.js';\nimport prefix from '../../../globals/settings.js';\nimport commonStyles from '../../../globals/scss/common.scss?lit';\nimport styles from './markdown.scss?lit';\nimport throttle from 'lodash-es/throttle.js';\nimport { IS_PHONE } from '../../../globals/utils/browser-utils.js';\n\nimport MarkdownIt from 'markdown-it';\n\nimport {\n markdownToTokenTree,\n type MarkdownItPlugin,\n type TokenTree,\n} from './markdown-token-tree.js';\nimport type {\n MarkdownCustomRendererMountDetail,\n MarkdownPluginFallbackMountDetail,\n} from './utils/plugin-host-container.js';\nimport {\n renderMarkdownTree,\n type MarkdownCustomRenderers,\n type MarkdownRendererSlotDescriptor,\n} from './markdown-renderer.js';\nimport {\n hasLikelyPartialTableTail,\n hasNodeAfterTable,\n hasTrailingTableToken,\n} from './utils/streaming-table.js';\nimport { nextMarkdownInstanceId } from './utils/slot-names.js';\n\nconst CONSOLE_PREFIX = '[carbon-ai-chat-components]';\n\n/**\n * True if `node` is inside (or is) a light-DOM element with a `slot` attribute\n * set, up to (but not including) `boundary`. Portal hosts mounted by consumers\n * carry a `slot` attribute, so this is used to skip both `textContent`\n * contributions and observed mutations that originated inside a portal subtree.\n */\nfunction isInsidePortalHost(node: Node, boundary: Node): boolean {\n let cur: Node | null = node;\n while (cur && cur !== boundary) {\n if (cur instanceof Element && cur.hasAttribute('slot')) {\n return true;\n }\n cur = cur.parentNode;\n }\n return false;\n}\n\n/**\n * Concatenates the markdown source from `element`'s light-DOM children,\n * skipping any `<element slot=\"…\">` portal hosts so consumer-rendered overrides\n * don't contaminate the parsed markdown source.\n */\nfunction readLightDomMarkdownSource(element: Element): string {\n let out = '';\n for (const child of Array.from(element.childNodes)) {\n if (child instanceof Element && child.hasAttribute('slot')) {\n continue;\n }\n if (child.nodeType === Node.TEXT_NODE) {\n out += child.nodeValue ?? '';\n } else if (child instanceof Element) {\n out += child.textContent ?? '';\n }\n }\n return out.trim();\n}\n\n/**\n * Renders markdown as Carbon-styled DOM. Streaming-friendly: incremental updates reparse the markdown source into a `TokenTree`, diff it against the prior tree to reuse stable subtrees, then walk it into a Lit `TemplateResult` — Lit's `repeat` directive keys off the diffed nodes so unchanged DOM stays put.\n *\n * ### Lifecycle\n *\n * 1. A property setter (or a light-DOM mutation) lands. `willUpdate` decides whether the change requires a reparse (`markdown`, `removeHTML`, `markdownItPlugins`) or only a re-render (translated strings, `streaming`, `sanitizeHTML`, `customRenderers`).\n * 2. `scheduleRender` throttles bursts to 100ms (leading + trailing).\n * 3. `renderMarkdown` parses (if needed) via {@link markdownToTokenTree}, then calls {@link renderMarkdownTree} to produce both a `TemplateResult` and a batch of {@link MarkdownRendererSlotDescriptor} records.\n * 4. After Lit commits, `updated()` runs `reconcileCustomRendererHosts` — that is where consumer-supplied `customRenderers` callbacks fire and plugin-fallback HTML is adopted into light-DOM slot hosts.\n *\n * ### Extensibility\n *\n * - {@link markdownItPlugins} runs after the built-in markdown-it plugins (markdown-it-attrs, highlight, task-lists). A new array identity rebuilds the markdown-it instance and forces a full reparse. Tokens introduced by a plugin that the native dispatch can't handle — either an unknown tag, or a plugin-overridden rule on a curated allow-list of leaf tokens — route through `md.renderer.render()` via `./utils/plugin-fallback.ts` and surface as `pluginFallback` descriptors. Their rendered HTML is adopted into a light-DOM slot host so consumer-supplied CSS (e.g. a KaTeX stylesheet on the host page) reaches it.\n * - {@link customRenderers} overrides per-element rendering for `table` and `codeBlock`. The renderer emits a named `<slot>` placeholder; the reconciler invokes the consumer's callback with the parsed data and appends the returned `HTMLElement` as a `<div slot=\"…\">` light-DOM child. Returning the same element reference across renders avoids DOM churn.\n *\n * ### Light-DOM source adoption\n *\n * When the `markdown` property has never been set explicitly, the element treats its light-DOM text content as the initial source and watches for further mutations via a `MutationObserver`. Setting the property explicitly stops the observer — the property is then the authoritative source.\n *\n * ### Related files\n *\n * - `./markdown-token-tree.ts` — markdown-it parse + tree builder + streaming-aware diff (with `cachedHtml` carry-forward for plugin-delegated tokens).\n * - `./markdown-renderer.ts` — `TokenTree` → Lit `TemplateResult`, plus descriptor collection.\n * - `./markdown-renderer-types.ts` — public ({@link MarkdownCustomRenderers}) and internal ({@link MarkdownRendererSlotDescriptor}, `RenderTokenTreeOptions`) contracts.\n * - `./utils/plugin-fallback.ts` — delegation to `md.renderer.render()` for plugin-introduced tokens.\n * - `./utils/streaming-table.ts` — heuristics that hold a streaming table in a skeleton \"loading\" state until its tail stabilizes.\n *\n * @element cds-aichat-markdown\n */\n@carbonElement(`${prefix}-markdown`)\nclass CDSAIChatMarkdown extends LitElement {\n static styles = [commonStyles, styles];\n\n /**\n * Sanitize any HTML included in the markdown. e.g. remove script tags, onclick handlers, etc.\n */\n @property({ type: Boolean, attribute: 'sanitize-html' })\n sanitizeHTML = false;\n\n /**\n * Remove all HTML from included markdown.\n */\n @property({ type: Boolean, attribute: 'remove-html' })\n removeHTML = false;\n\n /**\n * Internal storage for markdown content.\n * @internal\n */\n private _markdown = '';\n\n /**\n * Flag to temporarily allow internal markdown updates without marking as explicitly set.\n * @internal\n */\n private isInternalMarkdownUpdate = false;\n\n /**\n * Direct markdown source input.\n */\n @property({ type: String })\n get markdown(): string {\n return this._markdown;\n }\n set markdown(value: string) {\n const oldValue = this._markdown;\n this._markdown = value;\n\n // Track that markdown was explicitly set (not from Light DOM adoption)\n // Only mark as explicitly set if this is NOT an internal update\n if (!this.isInternalMarkdownUpdate) {\n this.markdownPropertyExplicitlySet = true;\n this.stopObservingLightDom();\n }\n\n this.requestUpdate('markdown', oldValue);\n }\n\n /**\n * If you are actively streaming, setting this to true can help prevent needless UI thrashing when writing\n * complex components (like a sortable and filterable table).\n */\n @property({ type: Boolean, attribute: 'streaming' })\n streaming = false;\n\n // Code snippet properties\n /** Enable syntax highlighting for any code fence blocks. */\n @property({ type: Boolean, attribute: 'code-snippet-highlight' })\n codeSnippetHighlight = true;\n\n /** Label for collapsing long code blocks. */\n @property({ type: String, attribute: 'code-snippet-show-less-text' })\n codeSnippetShowLessText = 'Show less';\n\n /** Label for expanding long code blocks. */\n @property({ type: String, attribute: 'code-snippet-show-more-text' })\n codeSnippetShowMoreText = 'Show more';\n\n /** Tooltip content for the copy action on code blocks. */\n @property({\n type: String,\n attribute: 'code-snippet-copy-button-tooltip-content',\n })\n codeSnippetCopyButtonTooltipContent = 'Copy code';\n\n /** Feedback text shown after copying code in code blocks. */\n @property({ type: String, attribute: 'code-snippet-feedback' })\n codeSnippetFeedback = 'Copied!';\n\n /** The number in milliseconds to determine how long the code block feedback tooltip should remain. */\n @property({ type: Number, attribute: 'code-snippet-feedback-timeout' })\n codeSnippetFeedbackTimeout = 2000;\n\n /** Formatter for the code block line count. */\n @property({ type: Object, attribute: false })\n codeSnippetGetLineCountText?: ({ count }: { count: number }) => string;\n\n /** Aria-label for code snippets when in read-only mode. */\n @property({ type: String, attribute: 'code-snippet-aria-label-readonly' })\n codeSnippetAriaLabelReadOnly = 'Code snippet';\n\n /** Aria-label for code snippets when in editable mode. */\n @property({ type: String, attribute: 'code-snippet-aria-label-editable' })\n codeSnippetAriaLabelEditable = 'Code editor';\n\n // Table properties\n /** Placeholder text for table filters. */\n @property({ type: String, attribute: 'table-filter-placeholder-text' })\n tableFilterPlaceholderText = 'Filter table...';\n\n /** Label for the previous page control in tables. */\n @property({ type: String, attribute: 'table-previous-page-text' })\n tablePreviousPageText = 'Previous page';\n\n /** Label for the next page control in tables. */\n @property({ type: String, attribute: 'table-next-page-text' })\n tableNextPageText = 'Next page';\n\n /** Label for the items-per-page control in tables. */\n @property({ type: String, attribute: 'table-items-per-page-text' })\n tableItemsPerPageText = 'Items per page:';\n\n /** Label for download of CSV of table data. */\n @property({ type: String, attribute: 'table-download-label-text' })\n tableDownloadLabelText = 'Download table data';\n\n /** Locale used for table pagination and formatting. */\n @property({ type: String, attribute: 'table-locale' })\n tableLocale = 'en';\n\n /** Optional formatter for supplemental pagination text. */\n @property({ type: Object, attribute: false })\n tableGetPaginationSupplementalText?: ({ count }: { count: number }) => string;\n\n /** Optional formatter for pagination status text. */\n @property({ type: Object, attribute: false })\n tableGetPaginationStatusText?: ({\n start,\n end,\n count,\n }: {\n start: number;\n end: number;\n count: number;\n }) => string;\n\n /**\n * Markdown-it plugins applied after the built-in plugins\n * (markdown-it-attrs, markdown-it-highlight, markdown-it-task-lists).\n * Changes force a reparse. Memoize this array — a new reference each render\n * rebuilds the markdown-it instance.\n */\n @property({ type: Array, attribute: false })\n markdownItPlugins?: MarkdownItPlugin[];\n\n /**\n * Per-element render overrides. For each `kind` whose callback is provided,\n * the markdown element emits a named `<slot>` placeholder in its shadow\n * DOM, then — after each render — invokes the callback with the parsed\n * data and adopts the returned `HTMLElement` as a `<div slot=\"…\">`\n * light-DOM child of this element. Return `null` to fall back to the\n * default Carbon rendering. Returning the same element reference across\n * renders avoids DOM churn.\n *\n * Inside a chat, a container relocates the returned element into its own\n * light DOM — page DOM at the top of the chain — and this element forwards\n * it back into the named slot, so consumer-loaded page CSS reaches it.\n * Standalone (no chat ancestor), it stays a light-DOM child of this element.\n */\n @property({ attribute: false })\n customRenderers?: MarkdownCustomRenderers;\n\n /**\n * Descriptors collected during the most recent render task; consumed by\n * the `updated()` reconcile to invoke {@link customRenderers} callbacks.\n * @internal\n */\n private latestRendererDescriptors: MarkdownRendererSlotDescriptor[] = [];\n\n /**\n * Light-DOM slot hosts adopted on behalf of {@link customRenderers}, keyed\n * by slot name. Reused across renders for stable identity.\n * @internal\n */\n private slotHosts: Map<string, HTMLElement> = new Map();\n\n /**\n * `<slot name=X slot=X>` forwarders minted for {@link customRenderers} hosts\n * an outer listener relocated into its own light DOM, keyed by slot name.\n *\n * Appended imperatively rather than rendered: Lit commits into the shadow\n * root, and this hop has to be a light-DOM child of this element to gather\n * the relocated host out of the chat element's light DOM and hand it to the\n * shadow `<slot>` the renderer emitted. Minted where the claim is read\n * rather than by a subscriber, because the mount event fires once per host\n * and is never replayed — a listener that subscribes later cannot mint it.\n * @internal\n */\n private rendererForwarders: Map<string, HTMLSlotElement> = new Map();\n\n /**\n * Namespace appended to every slot name this element mints, so two markdown\n * elements rendering identical markdown never collide in the shared\n * page-level host container a chat container hoists slot hosts into.\n *\n * Assigned in the field initializer (construction) rather than\n * `connectedCallback`, which runs again after a DOM move — the namespace, and\n * therefore every slot name and every adopted host, must survive a\n * disconnect/reconnect.\n * @internal\n */\n private readonly slotNamespace = nextMarkdownInstanceId();\n\n /**\n * Slot names whose host was created by an outer listener (a chat container\n * that called `preventDefault()` on the host-mount event). We track these so\n * we can fire matching unmount events without trying to remove a host we\n * never appended.\n * @internal\n */\n private delegatedPluginSlots: Set<string> = new Set();\n\n /**\n * The markdown-it instance produced by the most recent parse. Forwarded into\n * the renderer so unknown tokens can fall back to `md.renderer.render()`.\n * @internal\n */\n private markdownItInstance?: MarkdownIt;\n\n /**\n * @internal\n */\n private needsReparse = false;\n\n /**\n * Tracks the latest asynchronous rendering work so callers waiting on `updateComplete` know when throttled updates are done.\n *\n * @internal\n */\n private renderTask: Promise<void> | null = null;\n\n private hasRenderedStreamingTableLoadingFrame = false;\n /**\n * The most recent tree parsed while in streaming table loading mode, held back\n * from rendering. It seeds `previousTreeForDiff`, so the tick that leaves loading\n * mode without a reparse still renders the content staged during it.\n * @internal\n */\n private stagedStreamingTokenTree: TokenTree | null = null;\n\n /**\n * @internal\n */\n private isStreamingTableLoadingMode = false;\n\n /**\n * @internal\n */\n private hasConnected = false;\n\n /**\n * Tracks whether the markdown property has been explicitly set by the user.\n * When false, the component will monitor Light DOM changes.\n * @internal\n */\n private markdownPropertyExplicitlySet = false;\n\n /**\n * MutationObserver to monitor Light DOM changes when markdown property isn't explicitly set.\n * @internal\n */\n private lightDomObserver: MutationObserver | null = null;\n\n /**\n * Generation counter for Light DOM mutation processing. Incremented when a\n * mutation is observed and decremented when the resulting microtask\n * completes. `updateComplete` waits while the counter is non-zero.\n * @internal\n */\n private pendingLightDomMutations = 0;\n\n connectedCallback() {\n super.connectedCallback();\n this.hasConnected = true;\n\n if (IS_PHONE) {\n this.setAttribute('phone', '');\n }\n\n this.adoptLightDomMarkdown();\n\n // Task-list checkbox toggles bubble (composed) out of the rendered\n // `cds-checkbox` elements; one delegated listener forwards them to a\n // consumer `checklist.onToggle`.\n this.addEventListener(\n 'cds-checkbox-changed',\n this.handleChecklistToggle as EventListener\n );\n\n // Ensure we parse and render on initial mount, even if markdown was set before connection\n this.needsReparse = true;\n this.scheduleRender();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener(\n 'cds-checkbox-changed',\n this.handleChecklistToggle as EventListener\n );\n this.stopObservingLightDom();\n // Tear down any adopted slot hosts so they don't leak across re-connect.\n for (const host of this.slotHosts.values()) {\n host.remove();\n }\n this.slotHosts.clear();\n // Ask any delegating chat container to drop its hosts too. The loop above\n // already detached every relocated node — `slotHosts` holds the reference\n // wherever the node ended up — so this retires forwarders and announces.\n for (const slotName of this.delegatedPluginSlots.keys()) {\n this.retireDelegatedSlot(slotName);\n }\n this.latestRendererDescriptors = [];\n }\n\n /**\n * Delegated handler for `cds-checkbox-changed` from rendered task-list\n * checkboxes. Resolves the toggled checkbox via the composed event path (a\n * host listener would otherwise see a retargeted `event.target`), reads the\n * identity stamped by the task-list plugin, and forwards the new state to a\n * consumer `checklist.onToggle`.\n */\n private handleChecklistToggle = (event: Event): void => {\n const onToggle = this.customRenderers?.checklist?.onToggle;\n if (!onToggle) {\n return;\n }\n const checkbox = event\n .composedPath()\n .find(\n (target): target is HTMLElement =>\n target instanceof HTMLElement &&\n target.tagName.toLowerCase() === 'cds-checkbox'\n );\n const id = checkbox?.getAttribute('data-cds-aichat-checklist-id');\n if (!checkbox || id == null) {\n // Not a stamped task-list checkbox — ignore unrelated cds-checkboxes.\n return;\n }\n const checked = !!(event as CustomEvent<{ checked?: boolean }>).detail\n ?.checked;\n const label =\n checkbox.closest('cds-list-item, li')?.textContent?.trim() ?? '';\n onToggle({ id, label, checked });\n };\n\n private adoptLightDomMarkdown() {\n // Backward compatibility: treat static light-DOM text as initial markdown\n // when the explicit `markdown` property was not provided.\n if (!this.markdownPropertyExplicitlySet) {\n const lightDomMarkdown = readLightDomMarkdownSource(this);\n if (lightDomMarkdown) {\n // Set markdown without triggering the \"explicitly set\" flag\n this.isInternalMarkdownUpdate = true;\n this.markdown = lightDomMarkdown;\n this.isInternalMarkdownUpdate = false;\n }\n\n // Start observing Light DOM changes only if markdown property wasn't explicitly set\n this.startObservingLightDom();\n }\n }\n\n private startObservingLightDom() {\n if (this.lightDomObserver || this.markdownPropertyExplicitlySet) {\n return;\n }\n\n this.lightDomObserver = new MutationObserver((records) => {\n // Only update from Light DOM if markdown property still hasn't been explicitly set\n if (!this.markdownPropertyExplicitlySet) {\n // Mutations that happened entirely inside a portal host (a light-DOM\n // child with a `slot` attribute) are noise from the consumer's\n // overrides re-rendering — they don't change the markdown source.\n const relevant = records.filter(\n (record) => !isInsidePortalHost(record.target, this)\n );\n if (relevant.length === 0) {\n return;\n }\n\n // Process the mutation in a microtask so the DOM has settled. Track\n // it via a counter so `updateComplete` can await any concurrent\n // mutations without the fragility of a single-slot promise field.\n this.pendingLightDomMutations += 1;\n Promise.resolve()\n .then(() => {\n const lightDomMarkdown = readLightDomMarkdownSource(this);\n if (this.markdown !== lightDomMarkdown) {\n this.isInternalMarkdownUpdate = true;\n this.markdown = lightDomMarkdown;\n this.isInternalMarkdownUpdate = false;\n }\n })\n .finally(() => {\n this.pendingLightDomMutations -= 1;\n });\n } else {\n // If markdown was explicitly set, stop observing\n this.stopObservingLightDom();\n }\n });\n\n this.lightDomObserver.observe(this, {\n childList: true,\n characterData: true,\n subtree: true,\n });\n }\n\n private stopObservingLightDom() {\n if (this.lightDomObserver) {\n this.lightDomObserver.disconnect();\n this.lightDomObserver = null;\n }\n }\n\n protected willUpdate(changed: PropertyValues<this>) {\n // Handle initial render case: if markdown was set before connectedCallback,\n // Lit won't report it as \"changed\" but we still need to parse it\n const isInitialRender = !this.hasConnected && this.markdown;\n\n if (\n changed.has('removeHTML') ||\n changed.has('markdown') ||\n changed.has('markdownItPlugins') ||\n isInitialRender\n ) {\n // Properties that affect token tree structure require full reparse\n // - removeHTML: toggles post-parse HTML-token stripping\n // - markdown: updates the source text to parse\n // - markdownItPlugins: swaps the markdown-it instance, new parser rules\n // - isInitialRender: ensures pre-set markdown gets parsed on first render\n this.needsReparse = true;\n this.scheduleRender();\n } else if (\n // Properties that only affect rendering can skip reparsing\n // - sanitizeHTML: applies DOMPurify during render, doesn't change tokens\n // - string properties: change translated strings in rendered output\n // - streaming: affects loading states in rendered output\n // - customRenderers: only changes which tokens emit a slot\n changed.has('sanitizeHTML') ||\n changed.has('streaming') ||\n changed.has('customRenderers') ||\n // Code snippet properties\n changed.has('codeSnippetHighlight') ||\n changed.has('codeSnippetShowLessText') ||\n changed.has('codeSnippetShowMoreText') ||\n changed.has('codeSnippetCopyButtonTooltipContent') ||\n changed.has('codeSnippetFeedback') ||\n changed.has('codeSnippetFeedbackTimeout') ||\n changed.has('codeSnippetGetLineCountText') ||\n changed.has('codeSnippetAriaLabelReadOnly') ||\n changed.has('codeSnippetAriaLabelEditable') ||\n // Table properties\n changed.has('tableFilterPlaceholderText') ||\n changed.has('tablePreviousPageText') ||\n changed.has('tableNextPageText') ||\n changed.has('tableItemsPerPageText') ||\n changed.has('tableDownloadLabelText') ||\n changed.has('tableLocale') ||\n changed.has('tableGetPaginationSupplementalText') ||\n changed.has('tableGetPaginationStatusText')\n ) {\n this.scheduleRender();\n }\n }\n\n /**\n * @internal\n */\n @state()\n tokenTree: TokenTree = {\n key: 'root',\n token: {\n type: 'root',\n tag: '',\n nesting: 0,\n level: 0,\n content: '',\n attrs: null,\n children: null,\n markup: '',\n block: true,\n hidden: false,\n map: null,\n info: '',\n meta: null,\n },\n children: [],\n };\n\n /**\n * @internal\n */\n @state()\n renderedContent: TemplateResult | null = null;\n\n /**\n * Throttled function that updates the rendered content.\n * If needsReparse is true, parses markdown into a token tree first.\n * Otherwise, just re-renders the existing token tree with current settings.\n *\n * @internal\n */\n private renderMarkdown = async () => {\n try {\n const markdownContent = this.markdown ?? '';\n const previousTreeForDiff =\n this.stagedStreamingTokenTree ?? this.tokenTree;\n let nextTokenTree = previousTreeForDiff;\n\n if (this.needsReparse) {\n // First, we take the markdown we were given and use the markdown-it parser to turn is into a tree we can\n // transform into Lit components and compare smartly to avoid re-renders of components that were already\n // rendered when the markdown is updated (likely by streaming, but possibly by an edit somewhere in the\n // middle). It takes the current tokenTree as an argument for quick diffing to avoid re-creating parts\n // of the tree.\n const parsed = markdownToTokenTree(\n markdownContent,\n previousTreeForDiff,\n {\n removeHtml: this.removeHTML,\n markdownItPlugins: this.markdownItPlugins,\n }\n );\n nextTokenTree = parsed.tree;\n this.markdownItInstance = parsed.md;\n this.needsReparse = false;\n }\n\n const hasStreamingTailTable =\n Boolean(this.streaming) && hasTrailingTableToken(nextTokenTree);\n const hasParsedNodeAfterTable = hasNodeAfterTable(nextTokenTree);\n\n if (!this.streaming) {\n this.isStreamingTableLoadingMode = false;\n } else if (this.isStreamingTableLoadingMode) {\n if (\n hasParsedNodeAfterTable &&\n !hasLikelyPartialTableTail(markdownContent)\n ) {\n this.isStreamingTableLoadingMode = false;\n }\n } else if (hasStreamingTailTable) {\n this.isStreamingTableLoadingMode = true;\n }\n\n // Render-and-stash helper. Each invocation produces a fresh batch of\n // renderer-slot descriptors; the `updated()` reconcile then invokes\n // the consumer's `customRenderers` callbacks for each descriptor and\n // adopts the returned `HTMLElement` as a light-DOM slot host.\n const renderAndDispatch = (tree: TokenTree): void => {\n const { template, batch } = renderMarkdownTree(tree, {\n sanitize: this.sanitizeHTML,\n streaming: this.streaming,\n // Code snippet properties\n codeSnippetHighlight: this.codeSnippetHighlight,\n codeSnippetShowLessText: this.codeSnippetShowLessText,\n codeSnippetShowMoreText: this.codeSnippetShowMoreText,\n codeSnippetCopyButtonTooltipContent:\n this.codeSnippetCopyButtonTooltipContent,\n codeSnippetFeedback: this.codeSnippetFeedback,\n codeSnippetFeedbackTimeout: this.codeSnippetFeedbackTimeout,\n codeSnippetGetLineCountText: this.codeSnippetGetLineCountText,\n codeSnippetAriaLabelReadOnly: this.codeSnippetAriaLabelReadOnly,\n codeSnippetAriaLabelEditable: this.codeSnippetAriaLabelEditable,\n // Table properties\n tableFilterPlaceholderText: this.tableFilterPlaceholderText,\n tablePreviousPageText: this.tablePreviousPageText,\n tableNextPageText: this.tableNextPageText,\n tableItemsPerPageText: this.tableItemsPerPageText,\n tableDownloadLabelText: this.tableDownloadLabelText,\n tableLocale: this.tableLocale,\n tableGetPaginationSupplementalText:\n this.tableGetPaginationSupplementalText,\n tableGetPaginationStatusText: this.tableGetPaginationStatusText,\n // Custom-renderer hooks\n customRenderers: this.customRenderers,\n slotNamespace: this.slotNamespace,\n projectionHost: this,\n md: this.markdownItInstance,\n });\n this.renderedContent = template;\n this.latestRendererDescriptors = batch;\n };\n\n if (this.streaming && this.isStreamingTableLoadingMode) {\n if (!this.hasRenderedStreamingTableLoadingFrame) {\n if (nextTokenTree !== this.tokenTree) {\n this.tokenTree = nextTokenTree;\n }\n renderAndDispatch(nextTokenTree);\n this.hasRenderedStreamingTableLoadingFrame = true;\n this.stagedStreamingTokenTree = null;\n } else {\n this.stagedStreamingTokenTree = nextTokenTree;\n }\n return;\n }\n\n // Never prefer the staged tree here: when nothing was reparsed `nextTokenTree`\n // *is* the staged tree (see `previousTreeForDiff` above), and when something\n // was, it came from newer source.\n this.stagedStreamingTokenTree = null;\n this.hasRenderedStreamingTableLoadingFrame = false;\n if (nextTokenTree !== this.tokenTree) {\n this.tokenTree = nextTokenTree;\n }\n\n // Next we take that tree and transform it into Lit content to be rendered into the template.\n // this.renderedContent is what is rendered in the template directly.\n renderAndDispatch(nextTokenTree);\n } catch (error) {\n console.error(`${CONSOLE_PREFIX} Failed to parse markdown`, error);\n }\n };\n\n /**\n * @internal\n */\n private scheduleRender = throttle(\n () => {\n // Lit's getter/setter pipeline can schedule multiple renders quickly.\n // We capture the active render promise so we can report completion later.\n const task = this.renderMarkdown();\n const trackedTask = task.finally(() => {\n if (this.renderTask === trackedTask) {\n this.renderTask = null;\n }\n });\n\n this.renderTask = trackedTask;\n return trackedTask;\n },\n 100,\n { leading: true, trailing: true }\n );\n\n protected async getUpdateComplete(): Promise<boolean> {\n // `updateComplete` is Lit's public hook for consumers/tests to await\n // all pending work. Because we throttle renders, the base implementation\n // might resolve before the throttled callback runs. Overriding this\n // method lets us flush the throttle and await the render promise so\n // callers can reliably wait for `renderedContent` to update.\n const result = await super.getUpdateComplete();\n\n const flushResult = (\n this.scheduleRender as {\n flush?: () => Promise<void> | void;\n }\n ).flush?.();\n\n if (flushResult instanceof Promise) {\n await flushResult;\n }\n\n if (this.renderTask) {\n await this.renderTask;\n }\n\n // Drain any in-flight Light DOM mutation microtasks and their resulting\n // renders. Each iteration yields the event loop so newly enqueued\n // mutations can settle; the counter goes back to zero once everything\n // has flushed.\n while (this.pendingLightDomMutations > 0) {\n await Promise.resolve();\n\n const postMutationFlush = (\n this.scheduleRender as {\n flush?: () => Promise<void> | void;\n }\n ).flush?.();\n\n if (postMutationFlush instanceof Promise) {\n await postMutationFlush;\n }\n\n if (this.renderTask) {\n await this.renderTask;\n }\n }\n\n return result;\n }\n\n protected updated(changed: PropertyValues<this>) {\n super.updated(changed);\n this.reconcileCustomRendererHosts();\n }\n\n /**\n * Drops a claim: retires the forwarder minted for it, if any, then tells the\n * container to let go.\n *\n * The forwarder goes first. An assigned node suppresses the shadow slot's\n * fallback content for as long as it exists, so a surviving forwarder turns\n * a removed host into a blank region instead of the default rendering.\n * @internal\n */\n /**\n * Records a claim and mints the innermost hop back to the host the listener\n * just relocated. Called in the same pass that read the claim because the\n * mount event fires once per host and is never replayed — minting here is\n * what makes a claim without its forwarder unrepresentable.\n * @internal\n */\n private adoptDelegatedSlot(slotName: string) {\n this.delegatedPluginSlots.add(slotName);\n const forwarder = document.createElement('slot');\n forwarder.setAttribute('name', slotName);\n forwarder.setAttribute('slot', slotName);\n this.rendererForwarders.set(slotName, forwarder);\n this.appendChild(forwarder);\n }\n\n private retireDelegatedSlot(slotName: string) {\n this.rendererForwarders.get(slotName)?.remove();\n this.rendererForwarders.delete(slotName);\n this.delegatedPluginSlots.delete(slotName);\n this.dispatchEvent(\n new CustomEvent('cds-aichat-markdown-plugin-host-unmount', {\n bubbles: true,\n composed: true,\n detail: { slotName },\n })\n );\n }\n\n /**\n * Invoke the consumer's `customRenderers` callbacks once per descriptor and\n * adopt their returned `HTMLElement` as a `<span slot=\"…\">` (for inline\n * plugin tokens) or `<div slot=\"…\">` (block tokens and consumer renderers)\n * light-DOM child. Hosts persist across renders so a consumer returning the\n * same element reference produces no DOM churn; hosts whose slot names\n * dropped out of the latest descriptor batch are removed.\n *\n * @internal\n */\n private reconcileCustomRendererHosts() {\n const renderers = this.customRenderers;\n const descriptors = this.latestRendererDescriptors;\n const wanted = new Set<string>();\n\n for (const descriptor of descriptors) {\n if (descriptor.kind === 'pluginFallback') {\n wanted.add(descriptor.slotName);\n\n // Offer the slot to a chat-container ancestor first. The chain\n // appends the host to its OWN light DOM (page DOM at the top of the\n // chain) so external CSS (e.g. a KaTeX stylesheet on the host page)\n // reaches the plugin output. If a listener calls preventDefault, it\n // has taken over hosting and we skip the local appendChild path.\n const alreadyDelegated = this.delegatedPluginSlots.has(\n descriptor.slotName\n );\n if (!alreadyDelegated && !this.slotHosts.has(descriptor.slotName)) {\n const mountEvent = new CustomEvent(\n 'cds-aichat-markdown-plugin-host-mount',\n {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail: {\n kind: 'pluginFallback',\n slotName: descriptor.slotName,\n html: descriptor.html,\n isInline: descriptor.isInline,\n } satisfies MarkdownPluginFallbackMountDetail,\n }\n );\n this.dispatchEvent(mountEvent);\n if (mountEvent.defaultPrevented) {\n this.adoptDelegatedSlot(descriptor.slotName);\n }\n } else if (alreadyDelegated) {\n // The chain owns this slot; push HTML updates through a second\n // event so streaming chunks reach the page-level host element.\n this.dispatchEvent(\n new CustomEvent('cds-aichat-markdown-plugin-host-update', {\n bubbles: true,\n composed: true,\n detail: {\n slotName: descriptor.slotName,\n html: descriptor.html,\n },\n })\n );\n }\n\n if (this.delegatedPluginSlots.has(descriptor.slotName)) {\n continue;\n }\n\n // Fallback: no outer listener took over (standalone usage, e.g.\n // storybook). Adopt the host as our own light-DOM child, matching\n // the pre-event behavior so existing tests/stories keep working.\n let host = this.slotHosts.get(descriptor.slotName);\n if (!host) {\n const tag = descriptor.isInline ? 'span' : 'div';\n host = document.createElement(tag);\n host.setAttribute('slot', descriptor.slotName);\n this.slotHosts.set(descriptor.slotName, host);\n this.appendChild(host);\n }\n // Only rewrite innerHTML when the plugin output actually changed;\n // streaming re-renders frequently land here with the same HTML.\n if (host.innerHTML !== descriptor.html) {\n host.innerHTML = descriptor.html;\n }\n continue;\n }\n\n const callback = renderers?.[descriptor.kind];\n if (!callback) {\n continue;\n }\n let result: HTMLElement | null;\n try {\n result = (\n callback as (\n args: Parameters<NonNullable<typeof callback>>[0]\n ) => HTMLElement | null\n )({\n ...descriptor.data,\n token: descriptor.token,\n slotName: descriptor.slotName,\n });\n } catch (error) {\n console.error(\n `[carbon-ai-chat-components] customRenderers.${descriptor.kind} threw`,\n error\n );\n continue;\n }\n if (result == null) {\n const existing = this.slotHosts.get(descriptor.slotName);\n if (existing) {\n existing.remove();\n this.slotHosts.delete(descriptor.slotName);\n }\n continue;\n }\n wanted.add(descriptor.slotName);\n let host = this.slotHosts.get(descriptor.slotName);\n if (!host) {\n host = document.createElement('div');\n host.setAttribute('slot', descriptor.slotName);\n this.slotHosts.set(descriptor.slotName, host);\n\n // Offer the host to a chat-container ancestor so it lives in page\n // light DOM, where consumer-loaded global CSS (e.g. `@carbon/styles`\n // for a returned `@carbon/react` component) can reach it — the markdown\n // element's own light DOM sits inside the chat's shadow root, where it\n // cannot. Mirrors the plugin-fallback path above, but forwards the live\n // host element instead of an HTML string; the markdown element keeps\n // ownership of the host's content across renders, and mints the slot\n // hop back to it below. If no ancestor takes over (standalone usage,\n // e.g. storybook), host it locally.\n const mountEvent = new CustomEvent(\n 'cds-aichat-markdown-plugin-host-mount',\n {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail: {\n kind: 'customRenderer',\n slotName: descriptor.slotName,\n element: host,\n isInline: false,\n } satisfies MarkdownCustomRendererMountDetail,\n }\n );\n this.dispatchEvent(mountEvent);\n if (mountEvent.defaultPrevented) {\n this.adoptDelegatedSlot(descriptor.slotName);\n } else {\n this.appendChild(host);\n }\n }\n if (host.firstChild !== result || host.childNodes.length !== 1) {\n host.replaceChildren(result);\n }\n }\n\n for (const [slotName, host] of this.slotHosts) {\n if (!wanted.has(slotName)) {\n host.remove();\n this.slotHosts.delete(slotName);\n }\n }\n\n // Drop claims whose descriptor disappeared (a streaming chunk removed a\n // math node, a `customRenderers` callback returned null): the host was\n // already detached above, so this retires the hop and announces.\n for (const slotName of this.delegatedPluginSlots.keys()) {\n if (!wanted.has(slotName)) {\n this.retireDelegatedSlot(slotName);\n }\n }\n }\n\n protected render() {\n const { renderedContent } = this;\n return html`<div class=\"cds-aichat-markdown-stack\">\n ${renderedContent}\n </div>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cds-aichat-markdown': CDSAIChatMarkdown;\n }\n}\n\nexport { CDSAIChatMarkdown };\nexport default CDSAIChatMarkdown;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAkCH,MAAM,cAAc,GAAG,6BAA6B;AAEpD;;;;;AAKG;AACH,SAAS,kBAAkB,CAAC,IAAU,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AMF,UAAA,CAAA;AADC,IAAA,KAAK;AACwC,CAAA,EAAA,iBAAA,CAAA,SAAA,EAAA,iBAAA,EAAA,MAAA,CAAA;AAhf1C,iBAAiB,GAAA,UAAA,CAAA;AADtB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,SAAA,CAAW;AAC7B,CAAA,EAAA,iBAAiB,CA44BtB;AASD,0BAAe,iBAAiB;;"}
1
+ {"version":3,"file":"markdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import type { CSSResult } from 'lit';
2
+ declare const legacyStyles: CSSResult;
3
+ export default legacyStyles;
@@ -5,9 +5,15 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { css } from 'lit';
8
+ import styles from '../../aichat-markdown/aichat-markdown.scss.js';
9
9
 
10
- var styles = css(["@charset \"UTF-8\";:host{display:block;inline-size:100%;max-inline-size:100%;--cds-aichat-border-radius-start-start:0.5rem;--cds-aichat-border-radius-start-end:0.5rem;--cds-aichat-border-radius-end-start:0.5rem;--cds-aichat-border-radius-end-end:0.5rem;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host mark{background-color:var(--cds-highlight,#d0e2ff);border-radius:.25rem;color:var(--cds-text-primary,#161616)}:host b,:host strong{font-weight:700}:host em,:host i{font-style:italic}:host blockquote{border-inline-start:2px solid var(--cds-border-subtle-00,#e0e0e0);padding-inline-start:.5rem}:host blockquote>:not(:first-child){margin-block-start:1rem}:host blockquote>h1+:not(:first-child),:host blockquote>h2+:not(:first-child),:host blockquote>h3+:not(:first-child),:host blockquote>h4+:not(:first-child),:host blockquote>h5+:not(:first-child),:host blockquote>h6+:not(:first-child){margin-block-start:.5rem}:host .cds-aichat-markdown-stack{display:block;max-inline-size:100%}:host .cds-aichat-markdown-stack>slot{display:block}:host .cds-aichat-markdown-stack>:not(:first-child){margin-block-start:1rem}:host .cds-aichat-markdown-stack>h1+:not(:first-child),:host .cds-aichat-markdown-stack>h2+:not(:first-child),:host .cds-aichat-markdown-stack>h3+:not(:first-child),:host .cds-aichat-markdown-stack>h4+:not(:first-child),:host .cds-aichat-markdown-stack>h5+:not(:first-child),:host .cds-aichat-markdown-stack>h6+:not(:first-child){margin-block-start:.25rem}:host p{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host a{color:var(--cds-link-primary,#0f62fe);outline:none;text-decoration:none}@media (prefers-reduced-motion:no-preference){:host a{transition:color motion(standard,productive) 70ms}}:host a:hover{color:var(--cds-link-primary-hover,#0043ce);text-decoration:underline}:host a:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:focus{outline-style:dotted}}:host a:focus{outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited{color:var(--cds-link-primary,#0f62fe)}:host a:active{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active{outline-style:dotted}}:host a:active{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host a:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}:host a:active:visited,:host a:active:visited:hover{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){:host a:active:visited,:host a:active:visited:hover{outline-style:dotted}}:host a:active:visited,:host a:active:visited:hover{color:var(--cds-link-primary,#0f62fe);outline-color:var(--cds-focus,#0f62fe);text-decoration:underline}:host pre{background-color:var(--cds-layer-02,#fff);border:1px solid var(--cds-chat-bubble-border,#e0e0e0);font-family:var(--cds-code-02-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-02-font-size,.875rem);font-weight:var(--cds-code-02-font-weight,400);letter-spacing:var(--cds-code-02-letter-spacing,.32px);line-height:var(--cds-code-02-line-height,1.42857);overflow:auto hidden;padding:1rem;white-space:pre-wrap}:host hr{background-color:var(--cds-border-subtle-01,#c6c6c6);block-size:1px;border:0;margin:0}:host img{max-inline-size:100%}:host h1{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}:host h2{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host h3{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}:host h4{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h5{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}:host ol,:host ul{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);list-style:none;margin:0;padding:0}:host li{padding-inline-start:.25rem}:host li+li{margin-block-start:.5rem}:host ul{margin-inline-start:1rem}:host ul>li{color:var(--cds-text-primary,#161616);position:relative}:host ul>li:before{content:\"–\";inset-inline-start:-1rem;position:absolute}:host ol{counter-reset:item;margin-inline-start:1rem}:host ol>li{color:var(--cds-text-primary,#161616);position:relative}:host ol>li:before{content:counter(item) \".\";counter-increment:item;inset-inline-start:-1rem;position:absolute}:host ol ol,:host ol ul,:host ul ol,:host ul ul{margin-block-start:.5rem;margin-inline-start:2rem}:host ul ul>li:before{content:\"▪\";inset-inline-start:-.75rem}:host ol ol{list-style-type:lower-latin}:host ol ol>li:before{content:counter(item,lower-latin) \".\"}:host .cds-aichat-table--square{--cds-aichat-border-radius-start-start:0;--cds-aichat-border-radius-start-end:0;--cds-aichat-border-radius-end-start:0;--cds-aichat-border-radius-end-end:0}:host cds-ordered-list cds-list-item:not([nested]){margin-inline-start:1rem}:host cds-aichat-code-snippet{display:block}:host cds-aichat-code-snippet:not(:defined){display:none}:host([phone]){font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}:host([phone]) p{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}:host([phone]) ol,:host([phone]) ul{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}"]);
10
+ /*
11
+ * Copyright IBM Corp. 2026
12
+ *
13
+ * This source code is licensed under the Apache-2.0 license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+ const legacyStyles = styles;
11
17
 
12
- export { styles as default };
18
+ export { legacyStyles as default };
13
19
  //# sourceMappingURL=markdown.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"markdown.scss.js","sources":["../../../../src/components/markdown/src/markdown.scss.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport type { CSSResult } from 'lit';\nimport styles from '../../aichat-markdown/aichat-markdown.scss?lit';\n\nconst legacyStyles: CSSResult = styles;\nexport default legacyStyles;\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AAKH,MAAM,YAAY,GAAc;;"}
@@ -1,6 +1 @@
1
- import type MarkdownIt from 'markdown-it';
2
- /**
3
- * Markdown-it plugin that applies a fixed set of HTML attributes to links,
4
- * headings, and paragraphs using `{{key=value}}` syntax.
5
- */
6
- export declare function markdownItAttrs(md: MarkdownIt): void;
1
+ export * from '../../../aichat-markdown/plugins/markdown-it-attrs.js';
@@ -5,193 +5,5 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- /*
9
- * Copyright IBM Corp. 2025, 2026
10
- *
11
- * This source code is licensed under the Apache-2.0 license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- *
14
- * @license
15
- */
16
- const LEFT = '{{';
17
- const RIGHT = '}}';
18
- const ALLOWED = new Set(['target', 'rel', 'class', 'id']);
19
- /**
20
- * Parses the body between `{{` and `}}` into a list of allowed attribute pairs.
21
- * Supports `key=value` and `key="quoted value"`, space-separated. Disallowed
22
- * keys and malformed fragments are dropped silently.
23
- */
24
- function parseAttrs(body) {
25
- const attrs = [];
26
- let key = '';
27
- let value = '';
28
- let parsingKey = true;
29
- let inQuotes = false;
30
- const commit = () => {
31
- if (key !== '' && ALLOWED.has(key)) {
32
- attrs.push([key, value]);
33
- }
34
- key = '';
35
- value = '';
36
- parsingKey = true;
37
- };
38
- for (let i = 0; i < body.length; i++) {
39
- const ch = body.charAt(i);
40
- if (ch === '=' && parsingKey) {
41
- parsingKey = false;
42
- continue;
43
- }
44
- if (ch === '"' && !parsingKey) {
45
- inQuotes = !inQuotes;
46
- continue;
47
- }
48
- if (ch === ' ' && !inQuotes) {
49
- commit();
50
- continue;
51
- }
52
- if (parsingKey) {
53
- key += ch;
54
- }
55
- else {
56
- value += ch;
57
- }
58
- }
59
- commit();
60
- return attrs;
61
- }
62
- /**
63
- * Applies parsed attributes to a token, merging `class` with any pre-existing
64
- * class and pushing the rest.
65
- */
66
- function applyAttrs(token, attrs) {
67
- for (const [key, value] of attrs) {
68
- if (key === 'class') {
69
- token.attrJoin('class', value);
70
- }
71
- else {
72
- token.attrPush([key, value]);
73
- }
74
- }
75
- }
76
- /**
77
- * Walks backwards to find the `*_open` token matching the close token at
78
- * `closeIndex` (same level, matching type). Returns `null` when no match is
79
- * found, which causes the handler to silently bail.
80
- */
81
- function findMatchingOpen(tokens, closeIndex) {
82
- const close = tokens[closeIndex];
83
- const openType = close.type.replace(/_close$/, '_open');
84
- for (let i = closeIndex - 1; i >= 0; i--) {
85
- if (tokens[i].type === openType && tokens[i].level === close.level) {
86
- return tokens[i];
87
- }
88
- }
89
- return null;
90
- }
91
- /**
92
- * Looks for a `*_close` child (e.g. `link_close`) immediately followed by a
93
- * text child starting with `{{…}}`. When matched, applies the attributes to
94
- * the matching opening token and rewrites/removes the text child. Returns
95
- * true if a mutation occurred so the caller can rescan for additional
96
- * link-attribute pairs on the same inline token.
97
- */
98
- function handleInlineAttributes(inlineToken) {
99
- const children = inlineToken.children;
100
- if (!children) {
101
- return false;
102
- }
103
- for (let i = 1; i < children.length; i++) {
104
- const prev = children[i - 1];
105
- const curr = children[i];
106
- if (prev.nesting !== -1 || curr.type !== 'text') {
107
- continue;
108
- }
109
- if (!curr.content.startsWith(LEFT)) {
110
- continue;
111
- }
112
- const closeIdx = curr.content.indexOf(RIGHT, LEFT.length);
113
- if (closeIdx === -1) {
114
- continue;
115
- }
116
- const openToken = findMatchingOpen(children, i - 1);
117
- if (!openToken) {
118
- continue;
119
- }
120
- const body = curr.content.slice(LEFT.length, closeIdx);
121
- applyAttrs(openToken, parseAttrs(body));
122
- const remainder = curr.content.slice(closeIdx + RIGHT.length);
123
- if (remainder.length === 0) {
124
- children.splice(i, 1);
125
- }
126
- else {
127
- curr.content = remainder;
128
- }
129
- return true;
130
- }
131
- return false;
132
- }
133
- /**
134
- * When the last text child of an `inline` token ends with `}}`, apply the
135
- * attributes to the matching block's opening token (heading_open /
136
- * paragraph_open / etc.) and strip them from the rendered text.
137
- */
138
- function handleEndOfBlock(tokens, inlineIndex) {
139
- const children = tokens[inlineIndex].children;
140
- if (!children || children.length === 0) {
141
- return;
142
- }
143
- const last = children[children.length - 1];
144
- if (last.type !== 'text' || !last.content.endsWith(RIGHT)) {
145
- return;
146
- }
147
- const openIdx = last.content.lastIndexOf(LEFT);
148
- if (openIdx === -1) {
149
- return;
150
- }
151
- // Find the closing block token that follows this inline.
152
- let closeIdx = -1;
153
- for (let i = inlineIndex + 1; i < tokens.length; i++) {
154
- if (tokens[i].nesting === -1) {
155
- closeIdx = i;
156
- break;
157
- }
158
- }
159
- if (closeIdx === -1) {
160
- return;
161
- }
162
- const openToken = findMatchingOpen(tokens, closeIdx);
163
- if (!openToken) {
164
- return;
165
- }
166
- const body = last.content.slice(openIdx + LEFT.length, last.content.length - RIGHT.length);
167
- applyAttrs(openToken, parseAttrs(body));
168
- // Strip `{{…}}` and a single trailing space between the content and the
169
- // attribute block, so `# Heading {{id=foo}}` does not render as
170
- // `<h1>Heading </h1>`.
171
- let trimmed = last.content.slice(0, openIdx);
172
- if (trimmed.endsWith(' ')) {
173
- trimmed = trimmed.slice(0, -1);
174
- }
175
- last.content = trimmed;
176
- }
177
- /**
178
- * Markdown-it plugin that applies a fixed set of HTML attributes to links,
179
- * headings, and paragraphs using `{{key=value}}` syntax.
180
- */
181
- function markdownItAttrs(md) {
182
- md.core.ruler.before('linkify', 'curly_attributes', (state) => {
183
- const tokens = state.tokens;
184
- for (let i = 0; i < tokens.length; i++) {
185
- if (tokens[i].type !== 'inline') {
186
- continue;
187
- }
188
- while (handleInlineAttributes(tokens[i])) {
189
- // Loop until no more link-attribute pairs remain on this inline token.
190
- }
191
- handleEndOfBlock(tokens, i);
192
- }
193
- });
194
- }
195
-
196
- export { markdownItAttrs };
8
+ export { markdownItAttrs } from '../../../aichat-markdown/plugins/markdown-it-attrs.js';
197
9
  //# sourceMappingURL=markdown-it-attrs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-it-attrs.js","sources":["../../../../../src/components/markdown/src/plugins/markdown-it-attrs.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\n/*\n * This file is based on markdown-it-attrs by Arve Seljebu\n * Original repository: https://github.com/arve0/markdown-it-attrs\n *\n * The MIT License (MIT)\n *\n * Copyright (c) Arve Seljebu <arve.seljebu@gmail.com> (arve0.github.io)\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *\n * ---\n *\n * This file has been rewritten for Carbon AI Chat to cover only the documented\n * attribute syntax:\n *\n * [link](url){{target=_blank rel=noopener}}\n * # Heading {{id=foo}}\n * Paragraph {{class=bar}}\n *\n * Delimiters are fixed to `{{`/`}}` and only `target`, `rel`, `class`, `id`\n * are applied; any other attribute key is silently dropped.\n */\n\nimport type MarkdownIt from 'markdown-it';\nimport type { Token } from 'markdown-it';\n\nconst LEFT = '{{';\nconst RIGHT = '}}';\nconst ALLOWED = new Set(['target', 'rel', 'class', 'id']);\n\ntype AttrPair = [string, string];\n\n/**\n * Parses the body between `{{` and `}}` into a list of allowed attribute pairs.\n * Supports `key=value` and `key=\"quoted value\"`, space-separated. Disallowed\n * keys and malformed fragments are dropped silently.\n */\nfunction parseAttrs(body: string): AttrPair[] {\n const attrs: AttrPair[] = [];\n let key = '';\n let value = '';\n let parsingKey = true;\n let inQuotes = false;\n\n const commit = () => {\n if (key !== '' && ALLOWED.has(key)) {\n attrs.push([key, value]);\n }\n key = '';\n value = '';\n parsingKey = true;\n };\n\n for (let i = 0; i < body.length; i++) {\n const ch = body.charAt(i);\n\n if (ch === '=' && parsingKey) {\n parsingKey = false;\n continue;\n }\n if (ch === '\"' && !parsingKey) {\n inQuotes = !inQuotes;\n continue;\n }\n if (ch === ' ' && !inQuotes) {\n commit();\n continue;\n }\n if (parsingKey) {\n key += ch;\n } else {\n value += ch;\n }\n }\n commit();\n\n return attrs;\n}\n\n/**\n * Applies parsed attributes to a token, merging `class` with any pre-existing\n * class and pushing the rest.\n */\nfunction applyAttrs(token: Token, attrs: AttrPair[]): void {\n for (const [key, value] of attrs) {\n if (key === 'class') {\n token.attrJoin('class', value);\n } else {\n token.attrPush([key, value]);\n }\n }\n}\n\n/**\n * Walks backwards to find the `*_open` token matching the close token at\n * `closeIndex` (same level, matching type). Returns `null` when no match is\n * found, which causes the handler to silently bail.\n */\nfunction findMatchingOpen(tokens: Token[], closeIndex: number): Token | null {\n const close = tokens[closeIndex];\n const openType = close.type.replace(/_close$/, '_open');\n for (let i = closeIndex - 1; i >= 0; i--) {\n if (tokens[i].type === openType && tokens[i].level === close.level) {\n return tokens[i];\n }\n }\n return null;\n}\n\n/**\n * Looks for a `*_close` child (e.g. `link_close`) immediately followed by a\n * text child starting with `{{…}}`. When matched, applies the attributes to\n * the matching opening token and rewrites/removes the text child. Returns\n * true if a mutation occurred so the caller can rescan for additional\n * link-attribute pairs on the same inline token.\n */\nfunction handleInlineAttributes(inlineToken: Token): boolean {\n const children = inlineToken.children;\n if (!children) {\n return false;\n }\n\n for (let i = 1; i < children.length; i++) {\n const prev = children[i - 1];\n const curr = children[i];\n if (prev.nesting !== -1 || curr.type !== 'text') {\n continue;\n }\n if (!curr.content.startsWith(LEFT)) {\n continue;\n }\n const closeIdx = curr.content.indexOf(RIGHT, LEFT.length);\n if (closeIdx === -1) {\n continue;\n }\n\n const openToken = findMatchingOpen(children, i - 1);\n if (!openToken) {\n continue;\n }\n\n const body = curr.content.slice(LEFT.length, closeIdx);\n applyAttrs(openToken, parseAttrs(body));\n\n const remainder = curr.content.slice(closeIdx + RIGHT.length);\n if (remainder.length === 0) {\n children.splice(i, 1);\n } else {\n curr.content = remainder;\n }\n return true;\n }\n\n return false;\n}\n\n/**\n * When the last text child of an `inline` token ends with `}}`, apply the\n * attributes to the matching block's opening token (heading_open /\n * paragraph_open / etc.) and strip them from the rendered text.\n */\nfunction handleEndOfBlock(tokens: Token[], inlineIndex: number): void {\n const children = tokens[inlineIndex].children;\n if (!children || children.length === 0) {\n return;\n }\n const last = children[children.length - 1];\n if (last.type !== 'text' || !last.content.endsWith(RIGHT)) {\n return;\n }\n const openIdx = last.content.lastIndexOf(LEFT);\n if (openIdx === -1) {\n return;\n }\n\n // Find the closing block token that follows this inline.\n let closeIdx = -1;\n for (let i = inlineIndex + 1; i < tokens.length; i++) {\n if (tokens[i].nesting === -1) {\n closeIdx = i;\n break;\n }\n }\n if (closeIdx === -1) {\n return;\n }\n\n const openToken = findMatchingOpen(tokens, closeIdx);\n if (!openToken) {\n return;\n }\n\n const body = last.content.slice(\n openIdx + LEFT.length,\n last.content.length - RIGHT.length\n );\n applyAttrs(openToken, parseAttrs(body));\n\n // Strip `{{…}}` and a single trailing space between the content and the\n // attribute block, so `# Heading {{id=foo}}` does not render as\n // `<h1>Heading </h1>`.\n let trimmed = last.content.slice(0, openIdx);\n if (trimmed.endsWith(' ')) {\n trimmed = trimmed.slice(0, -1);\n }\n last.content = trimmed;\n}\n\n/**\n * Markdown-it plugin that applies a fixed set of HTML attributes to links,\n * headings, and paragraphs using `{{key=value}}` syntax.\n */\nexport function markdownItAttrs(md: MarkdownIt): void {\n md.core.ruler.before('linkify', 'curly_attributes', (state) => {\n const tokens = state.tokens;\n for (let i = 0; i < tokens.length; i++) {\n if (tokens[i].type !== 'inline') {\n continue;\n }\n while (handleInlineAttributes(tokens[i])) {\n // Loop until no more link-attribute pairs remain on this inline token.\n }\n handleEndOfBlock(tokens, i);\n }\n });\n}\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AA4CH,MAAM,IAAI,GAAG,IAAI;AACjB,MAAM,KAAK,GAAG,IAAI;AAClB,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;AAIzD;;;;AAIG;AACH,SAAS,UAAU,CAAC,IAAY,EAAA;IAC9B,MAAM,KAAK,GAAe,EAAE;IAC5B,IAAI,GAAG,GAAG,EAAE;IACZ,IAAI,KAAK,GAAG,EAAE;IACd,IAAI,UAAU,GAAG,IAAI;IACrB,IAAI,QAAQ,GAAG,KAAK;IAEpB,MAAM,MAAM,GAAG,MAAK;QAClB,IAAI,GAAG,KAAK,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YAClC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC1B;QACA,GAAG,GAAG,EAAE;QACR,KAAK,GAAG,EAAE;QACV,UAAU,GAAG,IAAI;AACnB,IAAA,CAAC;AAED,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAA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,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAC7B,OAAO,GAAG,IAAI,CAAC,MAAM,EACrB,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CACnC;IACD,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;;;;AAKvC,IAAA,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC;AAC5C,IAAA,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACzB,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;IAChC;AACA,IAAA,IAAI,CAAC,OAAO,GAAG,OAAO;AACxB;AAEA;;;AAGG;AACG,SAAU,eAAe,CAAC,EAAc,EAAA;AAC5C,IAAA,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,EAAE,kBAAkB,EAAE,CAAC,KAAK,KAAI;AAC5D,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM;AAC3B,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACtC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,EAAE;gBAC/B;YACF;YACA,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;;YAE1C;AACA,YAAA,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7B;AACF,IAAA,CAAC,CAAC;AACJ;;"}
1
+ {"version":3,"file":"markdown-it-attrs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,7 +1 @@
1
- /**
2
- * A markdown-it plugin that handles text highlighting using ==highlight== syntax.
3
- * This follows the extended markdown syntax from https://www.markdownguide.org/extended-syntax/
4
- */
5
- import MarkdownIt from 'markdown-it';
6
- declare function markdownItHighlight(md: MarkdownIt): void;
7
- export { markdownItHighlight };
1
+ export * from '../../../aichat-markdown/plugins/markdown-it-highlight.js';
@@ -5,55 +5,5 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- /*
9
- * Copyright IBM Corp. 2025, 2026
10
- *
11
- * This source code is licensed under the Apache-2.0 license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- *
14
- * @license
15
- */
16
- function markdownItHighlight(md) {
17
- // Define the highlight rule
18
- md.inline.ruler.before('emphasis', 'highlight', (state, silent) => {
19
- const marker = '==';
20
- const markerLength = marker.length;
21
- const start = state.pos;
22
- if (state.src.slice(start, start + markerLength) !== marker) {
23
- return false;
24
- }
25
- if (silent) {
26
- return false; // Don't execute when in silent mode
27
- }
28
- const max = state.posMax;
29
- let pos = start + markerLength;
30
- // Find the closing marker
31
- while (pos < max) {
32
- if (state.src.slice(pos, pos + markerLength) === marker) {
33
- const content = state.src.slice(start + markerLength, pos);
34
- if (content.trim()) {
35
- const token = state.push('highlight_open', 'mark', 1);
36
- token.markup = marker;
37
- // Recursively tokenize the content to support nested formatting
38
- const oldPos = state.pos;
39
- const oldPosMax = state.posMax;
40
- state.pos = start + markerLength;
41
- state.posMax = pos;
42
- state.md.inline.tokenize(state);
43
- state.pos = oldPos;
44
- state.posMax = oldPosMax;
45
- const closeToken = state.push('highlight_close', 'mark', -1);
46
- closeToken.markup = marker;
47
- state.pos = pos + markerLength;
48
- return true;
49
- }
50
- break;
51
- }
52
- pos++;
53
- }
54
- return false;
55
- });
56
- }
57
-
58
- export { markdownItHighlight };
8
+ export { markdownItHighlight } from '../../../aichat-markdown/plugins/markdown-it-highlight.js';
59
9
  //# sourceMappingURL=markdown-it-highlight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-it-highlight.js","sources":["../../../../../src/components/markdown/src/plugins/markdown-it-highlight.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\n/**\n * A markdown-it plugin that handles text highlighting using ==highlight== syntax.\n * This follows the extended markdown syntax from https://www.markdownguide.org/extended-syntax/\n */\n\nimport MarkdownIt from 'markdown-it';\n\nfunction markdownItHighlight(md: MarkdownIt) {\n // Define the highlight rule\n md.inline.ruler.before('emphasis', 'highlight', (state, silent) => {\n const marker = '==';\n const markerLength = marker.length;\n const start = state.pos;\n\n if (state.src.slice(start, start + markerLength) !== marker) {\n return false;\n }\n\n if (silent) {\n return false; // Don't execute when in silent mode\n }\n\n const max = state.posMax;\n let pos = start + markerLength;\n\n // Find the closing marker\n while (pos < max) {\n if (state.src.slice(pos, pos + markerLength) === marker) {\n const content = state.src.slice(start + markerLength, pos);\n\n if (content.trim()) {\n const token = state.push('highlight_open', 'mark', 1);\n token.markup = marker;\n\n // Recursively tokenize the content to support nested formatting\n const oldPos = state.pos;\n const oldPosMax = state.posMax;\n state.pos = start + markerLength;\n state.posMax = pos;\n state.md.inline.tokenize(state);\n state.pos = oldPos;\n state.posMax = oldPosMax;\n\n const closeToken = state.push('highlight_close', 'mark', -1);\n closeToken.markup = marker;\n\n state.pos = pos + markerLength;\n return true;\n }\n break;\n }\n pos++;\n }\n\n return false;\n });\n}\n\nexport { markdownItHighlight };\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AASH,SAAS,mBAAmB,CAAC,EAAc,EAAA;;AAEzC,IAAA,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAI;QAChE,MAAM,MAAM,GAAG,IAAI;AACnB,QAAA,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM;AAClC,QAAA,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG;AAEvB,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAA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,IAAI;gBACb;gBACA;YACF;AACA,YAAA,GAAG,EAAE;QACP;AAEA,QAAA,OAAO,KAAK;AACd,IAAA,CAAC,CAAC;AACJ;;"}
1
+ {"version":3,"file":"markdown-it-highlight.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,12 +1 @@
1
- /**
2
- * A markdown-it plugin that handles task lists with checkbox syntax.
3
- * Implements GitHub Flavored Markdown task list extension.
4
- *
5
- * Syntax:
6
- * - [ ] Unchecked task
7
- * - [x] Checked task
8
- * - [X] Checked task (uppercase also supported)
9
- */
10
- import MarkdownIt from 'markdown-it';
11
- declare function markdownItTaskLists(md: MarkdownIt): void;
12
- export { markdownItTaskLists };
1
+ export * from '../../../aichat-markdown/plugins/markdown-it-task-lists.js';
@@ -5,72 +5,5 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- /*
9
- * Copyright IBM Corp. 2025, 2026
10
- *
11
- * This source code is licensed under the Apache-2.0 license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- *
14
- * @license
15
- */
16
- function markdownItTaskLists(md) {
17
- md.core.ruler.after('inline', 'task-lists', (state) => {
18
- const tokens = state.tokens;
19
- for (let i = 0; i < tokens.length; i++) {
20
- const token = tokens[i];
21
- // Look for list items
22
- if (token.type !== 'inline') {
23
- continue;
24
- }
25
- // Check if we're inside a list item
26
- if (i < 2 || tokens[i - 2].type !== 'list_item_open') {
27
- continue;
28
- }
29
- const children = token.children;
30
- if (!children || children.length === 0) {
31
- continue;
32
- }
33
- // Check if the first child starts with task list syntax
34
- const firstChild = children[0];
35
- if (firstChild.type !== 'text') {
36
- continue;
37
- }
38
- const match = firstChild.content.match(/^\[([ xX])\]\s+/);
39
- if (!match) {
40
- continue;
41
- }
42
- const checked = match[1] !== ' ';
43
- const listItemToken = tokens[i - 2];
44
- // Add task-list-item class to the list item
45
- const attrs = listItemToken.attrs || [];
46
- const classIndex = attrs.findIndex(([key]) => key === 'class');
47
- if (classIndex >= 0) {
48
- attrs[classIndex][1] += ' task-list-item';
49
- }
50
- else {
51
- attrs.push(['class', 'task-list-item']);
52
- }
53
- listItemToken.attrs = attrs;
54
- const checkboxOpenToken = new state.Token('task_checkbox_open', 'cds-checkbox', 1);
55
- checkboxOpenToken.content = '';
56
- // Stamp the list item's source line as a stable identity so a consumer
57
- // `checklist` renderer can correlate toggles across re-renders/streaming.
58
- const itemLine = listItemToken.map?.[0];
59
- checkboxOpenToken.attrs = [
60
- ['checked', checked ? 'true' : 'false'],
61
- ['data-cds-aichat-checklist-id', String(itemLine ?? '')],
62
- ];
63
- const checkboxCloseToken = new state.Token('task_checkbox_close', 'cds-checkbox', -1);
64
- checkboxCloseToken.content = '';
65
- // Remove the checkbox syntax from the text
66
- firstChild.content = firstChild.content.slice(match[0].length);
67
- // Insert checkbox token at the beginning
68
- children.unshift(checkboxOpenToken);
69
- children.push(checkboxCloseToken);
70
- }
71
- return false;
72
- });
73
- }
74
-
75
- export { markdownItTaskLists };
8
+ export { markdownItTaskLists } from '../../../aichat-markdown/plugins/markdown-it-task-lists.js';
76
9
  //# sourceMappingURL=markdown-it-task-lists.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-it-task-lists.js","sources":["../../../../../src/components/markdown/src/plugins/markdown-it-task-lists.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\n/**\n * A markdown-it plugin that handles task lists with checkbox syntax.\n * Implements GitHub Flavored Markdown task list extension.\n *\n * Syntax:\n * - [ ] Unchecked task\n * - [x] Checked task\n * - [X] Checked task (uppercase also supported)\n */\n\nimport MarkdownIt from 'markdown-it';\nimport type Token from 'markdown-it/lib/token.mjs';\n\nfunction markdownItTaskLists(md: MarkdownIt) {\n md.core.ruler.after('inline', 'task-lists', (state) => {\n const tokens = state.tokens;\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i];\n\n // Look for list items\n if (token.type !== 'inline') {\n continue;\n }\n\n // Check if we're inside a list item\n if (i < 2 || tokens[i - 2].type !== 'list_item_open') {\n continue;\n }\n\n const children = token.children;\n if (!children || children.length === 0) {\n continue;\n }\n\n // Check if the first child starts with task list syntax\n const firstChild = children[0];\n if (firstChild.type !== 'text') {\n continue;\n }\n\n const match = firstChild.content.match(/^\\[([ xX])\\]\\s+/);\n if (!match) {\n continue;\n }\n\n const checked = match[1] !== ' ';\n const listItemToken = tokens[i - 2];\n\n // Add task-list-item class to the list item\n const attrs = listItemToken.attrs || [];\n const classIndex = attrs.findIndex(([key]) => key === 'class');\n if (classIndex >= 0) {\n attrs[classIndex][1] += ' task-list-item';\n } else {\n attrs.push(['class', 'task-list-item']);\n }\n listItemToken.attrs = attrs;\n\n const checkboxOpenToken: Token = new state.Token(\n 'task_checkbox_open',\n 'cds-checkbox',\n 1\n );\n checkboxOpenToken.content = '';\n // Stamp the list item's source line as a stable identity so a consumer\n // `checklist` renderer can correlate toggles across re-renders/streaming.\n const itemLine = listItemToken.map?.[0];\n checkboxOpenToken.attrs = [\n ['checked', checked ? 'true' : 'false'],\n ['data-cds-aichat-checklist-id', String(itemLine ?? '')],\n ];\n\n const checkboxCloseToken: Token = new state.Token(\n 'task_checkbox_close',\n 'cds-checkbox',\n -1\n );\n checkboxCloseToken.content = '';\n\n // Remove the checkbox syntax from the text\n firstChild.content = firstChild.content.slice(match[0].length);\n\n // Insert checkbox token at the beginning\n children.unshift(checkboxOpenToken);\n children.push(checkboxCloseToken);\n }\n\n return false;\n });\n}\n\nexport { markdownItTaskLists };\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAeH,SAAS,mBAAmB,CAAC,EAAc,EAAA;AACzC,IAAA,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,CAAC,KAAK,KAAI;AACpD,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM;AAE3B,Q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,GAAG,KAAK;AAE3B,YAAA,MAAM,iBAAiB,GAAU,IAAI,KAAK,CAAC,KAAK,CAC9C,oBAAoB,EACpB,cAAc,EACd,CAAC,CACF;AACD,YAAA,iBAAiB,CAAC,OAAO,GAAG,EAAE;;;YAG9B,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC;YACvC,iBAAiB,CAAC,KAAK,GAAG;gBACxB,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;gBACvC,CAAC,8BAA8B,EAAE,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;aACzD;AAED,YAAA,MAAM,kBAAkB,GAAU,IAAI,KAAK,CAAC,KAAK,CAC/C,qBAAqB,EACrB,cAAc,EACd,EAAE,CACH;AACD,YAAA,kBAAkB,CAAC,OAAO,GAAG,EAAE;;AAG/B,YAAA,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;;AAG9D,YAAA,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC;AACnC,YAAA,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;QACnC;AAEA,QAAA,OAAO,KAAK;AACd,IAAA,CAAC,CAAC;AACJ;;"}
1
+ {"version":3,"file":"markdown-it-task-lists.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,5 +1 @@
1
- import type { TokenTree } from '../markdown-token-tree';
2
- /** Marker element appended to opening HTML so markdown children mount inside the block. */
3
- export declare const HTML_CONTAINER_SLOT = "<div data-aichat-markdown=\"\"></div>";
4
- export declare function combineConsecutiveHtmlInline(children: TokenTree[]): TokenTree[];
5
- export declare function combineSplitHtmlBlocks(children: TokenTree[]): TokenTree[];
1
+ export * from '../../../aichat-markdown/utils/html-helpers.js';