@carbon/ai-chat-components 0.5.0 → 0.6.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/custom-elements.json +9201 -295
  2. package/dist/16-dhcD1XnN.js +91 -0
  3. package/dist/apl-DqFn9Cbk.js +91 -0
  4. package/dist/asciiarmor-CQVR_D9L.js +91 -0
  5. package/dist/asn1-Bdl290ll.js +91 -0
  6. package/dist/asterisk-CHhwduFx.js +91 -0
  7. package/dist/button-C7jiyqgq.js +157 -0
  8. package/dist/button-skeleton-CmP7IJd9.js +116 -0
  9. package/dist/carbon-element-Bx5dT_rO.js +91 -0
  10. package/dist/carbon-element-GZbOyRvd.js +91 -0
  11. package/dist/chain-of-thought.min.js +276 -0
  12. package/dist/chat-button.min.js +71 -81
  13. package/dist/checkbox-skeleton-DwliWSxe.js +166 -0
  14. package/dist/class-map-C991A_SZ.js +106 -0
  15. package/dist/clike-D_BRCCKx.js +91 -0
  16. package/dist/clojure-DJgQfSNr.js +91 -0
  17. package/dist/cmake-B-ZvYGPj.js +91 -0
  18. package/dist/cobol-DQkSt8H4.js +91 -0
  19. package/dist/code-snippet.min.js +91 -0
  20. package/dist/codemirror-runtime-BNdgITbn.js +173 -0
  21. package/dist/coffeescript-BLbmGaLw.js +91 -0
  22. package/dist/collection-helpers-CFQuvZZA.js +91 -0
  23. package/dist/commonlisp-C9udfub_.js +91 -0
  24. package/dist/crystal-Cx264mZy.js +91 -0
  25. package/dist/css-C3wBe_UD.js +91 -0
  26. package/dist/custom-element-Cn0sJQhF.js +96 -0
  27. package/dist/cypher-B6v9gzB5.js +91 -0
  28. package/dist/d-TP3OUaM_.js +91 -0
  29. package/dist/diff-Y92SrBOy.js +91 -0
  30. package/dist/dockerfile-b9e_zbYe.js +91 -0
  31. package/dist/dtd-CyzcM_UR.js +91 -0
  32. package/dist/dylan-CLgWKLaP.js +91 -0
  33. package/dist/ebnf-Cj21Kqae.js +91 -0
  34. package/dist/ecl-BcwtDAaq.js +91 -0
  35. package/dist/eiffel-Dgs2eMt8.js +91 -0
  36. package/dist/elm-Lz8luKdH.js +91 -0
  37. package/dist/erlang-M1-xYwsL.js +91 -0
  38. package/dist/factor-DMuLpKP7.js +91 -0
  39. package/dist/fcl-6D51jO4g.js +91 -0
  40. package/dist/feedback.min.js +300 -0
  41. package/dist/forth-C50AZvgy.js +91 -0
  42. package/dist/fortran-Dpu0QrPi.js +91 -0
  43. package/dist/gas-B9QnMcpy.js +91 -0
  44. package/dist/gherkin-DTyHG7By.js +91 -0
  45. package/dist/groovy-C5hIRvZS.js +91 -0
  46. package/dist/haskell-riE-Rg6U.js +91 -0
  47. package/dist/haxe-BKi5Bt6T.js +91 -0
  48. package/dist/http-CCf5f1Lw.js +91 -0
  49. package/dist/icon-button-slcp5_YI.js +143 -0
  50. package/dist/icon-loader-B470ctm0.js +101 -0
  51. package/dist/idl-ChujC8hT.js +91 -0
  52. package/dist/if-defined-KYZWA80L.js +96 -0
  53. package/dist/index-BE2hQiYV.js +91 -0
  54. package/dist/index-BJSu7ZrY.js +91 -0
  55. package/dist/index-BNCWBho3.js +91 -0
  56. package/dist/index-Bo9Cedlp.js +91 -0
  57. package/dist/index-BtGjzzQh.js +91 -0
  58. package/dist/index-BvcTcg8N.js +91 -0
  59. package/dist/index-CL7jwlI7.js +91 -0
  60. package/dist/index-CPho0oBg.js +91 -0
  61. package/dist/index-CSzVoPB_.js +91 -0
  62. package/dist/index-CbsQNetX.js +91 -0
  63. package/dist/index-CdZ_a1WB.js +91 -0
  64. package/dist/index-Ce_RTZPK.js +91 -0
  65. package/dist/index-Cic4krlv.js +91 -0
  66. package/dist/index-CqP0C8Q_.js +91 -0
  67. package/dist/index-CsEIBvob.js +91 -0
  68. package/dist/index-D5o8uLCI.js +168 -0
  69. package/dist/index-D8SIiSq6.js +367 -0
  70. package/dist/index-DP_9bMys.js +91 -0
  71. package/dist/index-DofS9KDk.js +91 -0
  72. package/dist/index-Duo7vkZg.js +91 -0
  73. package/dist/index-DxcNpyu9.js +91 -0
  74. package/dist/index-ET89Rloy.js +91 -0
  75. package/dist/index-LQA85hjt.js +91 -0
  76. package/dist/index-T4fwu_xG.js +91 -0
  77. package/dist/javascript-BXzknqbJ.js +91 -0
  78. package/dist/julia-Ks6uUXS_.js +91 -0
  79. package/dist/{settings-XW6XylsZ.js → lit-element-Cj6JUqRW.js} +70 -12
  80. package/dist/livescript-C-N_oa0B.js +91 -0
  81. package/dist/lua-DyvKK1uJ.js +91 -0
  82. package/dist/markdown.min.js +296 -0
  83. package/dist/mathematica-DEg7Ra1Y.js +91 -0
  84. package/dist/mbox-DreqCmNH.js +91 -0
  85. package/dist/mirc-Cf2JTO1B.js +91 -0
  86. package/dist/mllike-BrIsM2v2.js +91 -0
  87. package/dist/modelica-B8SYrhCg.js +91 -0
  88. package/dist/mscgen-Ci9STQqX.js +91 -0
  89. package/dist/mumps-DdZIEnoV.js +91 -0
  90. package/dist/nginx-csHLvOI4.js +91 -0
  91. package/dist/nsis-BJ14NiV_.js +91 -0
  92. package/dist/ntriples-r4TsB1vg.js +91 -0
  93. package/dist/octave-DAywLo7W.js +91 -0
  94. package/dist/oz-DF39EOLJ.js +91 -0
  95. package/dist/pascal-Cdx2JBFI.js +91 -0
  96. package/dist/perl-CUDzEjb5.js +91 -0
  97. package/dist/pig-BgGDN3Fs.js +91 -0
  98. package/dist/powershell-yf7ZzrwA.js +91 -0
  99. package/dist/processing.min.js +71 -4
  100. package/dist/properties-Cna57Jh2.js +91 -0
  101. package/dist/protobuf-CWUMO8BP.js +91 -0
  102. package/dist/pug-D44aRpDl.js +91 -0
  103. package/dist/puppet-9oZPpLZK.js +91 -0
  104. package/dist/python-BzmgDs2d.js +91 -0
  105. package/dist/q-DDRrIilQ.js +91 -0
  106. package/dist/query-CIc5rDzI.js +101 -0
  107. package/dist/r-DT4JIpvb.js +91 -0
  108. package/dist/radio-group-manager-Dy7yXQky.js +91 -0
  109. package/dist/reasoning-steps.min.js +171 -0
  110. package/dist/repeat-DA7noZfi.js +96 -0
  111. package/dist/rpm-Q94njsnC.js +91 -0
  112. package/dist/ruby-p6VwoSsc.js +91 -0
  113. package/dist/sas-C8r72_Ai.js +91 -0
  114. package/dist/scheme-Bw1qfPdY.js +91 -0
  115. package/dist/settings-Bx1fCry0.js +99 -0
  116. package/dist/shell-B0162WXP.js +91 -0
  117. package/dist/sieve-DcAl9TNY.js +91 -0
  118. package/dist/simple-mode-dBIHJK_w.js +91 -0
  119. package/dist/smalltalk-BRpoyy0q.js +91 -0
  120. package/dist/solr-CntivwdY.js +91 -0
  121. package/dist/sparql-CPxRv-GB.js +91 -0
  122. package/dist/spreadsheet-DiWzltX0.js +91 -0
  123. package/dist/sql-BZFWK8-D.js +91 -0
  124. package/dist/state-ldHJ0lGt.js +96 -0
  125. package/dist/stex-DVnajZzj.js +91 -0
  126. package/dist/stylus-BCkTgCvi.js +91 -0
  127. package/dist/swift-DumH6rGA.js +91 -0
  128. package/dist/sync-BrWXU4C6.js +91 -0
  129. package/dist/table-runtime-C-85Ozvo.js +510 -0
  130. package/dist/table.min.js +91 -0
  131. package/dist/tcl-Ds60z3Ro.js +91 -0
  132. package/dist/text-input-BNmEJ8ys.js +158 -0
  133. package/dist/textile-CgTb_UUX.js +91 -0
  134. package/dist/throttle-CT5ZAUBU.js +91 -0
  135. package/dist/tiddlywiki-D0BukLzX.js +91 -0
  136. package/dist/tiki-DlrtqA5_.js +91 -0
  137. package/dist/tile-container.min.js +70 -14
  138. package/dist/toml-CG0tgYZ1.js +91 -0
  139. package/dist/toolbar.min.js +180 -0
  140. package/dist/troff-DZdS2uzR.js +91 -0
  141. package/dist/ttcn-D2NdeEoM.js +91 -0
  142. package/dist/ttcn-cfg-dCpHFW8J.js +91 -0
  143. package/dist/turtle-DBImhCBD.js +91 -0
  144. package/dist/vb-BdASAZha.js +91 -0
  145. package/dist/vbscript-DlJph2V7.js +91 -0
  146. package/dist/velocity-ds6Akj1B.js +91 -0
  147. package/dist/verilog-KFajwNWD.js +91 -0
  148. package/dist/vhdl-DWozufY6.js +91 -0
  149. package/dist/webidl-BSUbcB__.js +91 -0
  150. package/dist/workspace-shell.min.js +162 -0
  151. package/dist/xquery-CvISDSSw.js +91 -0
  152. package/dist/yacas-BNn6e9ff.js +91 -0
  153. package/dist/z80-BwinLJKG.js +91 -0
  154. package/es/components/chain-of-thought/index.d.ts +4 -0
  155. package/es/components/chain-of-thought/index.js +11 -0
  156. package/es/components/chain-of-thought/index.js.map +1 -0
  157. package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.d.ts +15 -0
  158. package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js +36 -0
  159. package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js.map +1 -0
  160. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +87 -0
  161. package/es/components/chain-of-thought/src/chain-of-thought.js +189 -0
  162. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -0
  163. package/es/components/chain-of-thought/src/chain-of-thought.scss.js +13 -0
  164. package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -0
  165. package/es/components/chain-of-thought/src/chain-of-thought.template.d.ts +5 -0
  166. package/es/components/chain-of-thought/src/chain-of-thought.template.js +206 -0
  167. package/es/components/chain-of-thought/src/chain-of-thought.template.js.map +1 -0
  168. package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.d.ts +10 -0
  169. package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js +50 -0
  170. package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js.map +1 -0
  171. package/es/components/chain-of-thought/src/types.d.ts +73 -0
  172. package/es/components/chain-of-thought/src/types.js +29 -0
  173. package/es/components/chain-of-thought/src/types.js.map +1 -0
  174. package/es/components/chat-button/defs.d.ts +25 -0
  175. package/es/components/chat-button/defs.js +36 -0
  176. package/es/components/chat-button/defs.js.map +1 -0
  177. package/es/components/chat-button/index.d.ts +1 -1
  178. package/es/components/chat-button/index.js +1 -1
  179. package/es/components/chat-button/src/chat-button.d.ts +32 -0
  180. package/es/components/chat-button/{chat-button.js → src/chat-button.js} +16 -10
  181. package/es/components/chat-button/src/chat-button.js.map +1 -0
  182. package/es/components/chat-button/src/chat-button.scss.js +1 -1
  183. package/es/components/code-snippet/index.d.ts +3 -0
  184. package/es/components/code-snippet/index.js +10 -0
  185. package/es/components/code-snippet/index.js.map +1 -0
  186. package/es/components/code-snippet/src/code-snippet-tile-container.d.ts +32 -0
  187. package/es/components/code-snippet/src/code-snippet-tile-container.js +143 -0
  188. package/es/components/code-snippet/src/code-snippet-tile-container.js.map +1 -0
  189. package/es/components/code-snippet/src/code-snippet.d.ts +482 -0
  190. package/es/components/code-snippet/src/code-snippet.js +592 -0
  191. package/es/components/code-snippet/src/code-snippet.js.map +1 -0
  192. package/es/components/code-snippet/src/code-snippet.scss.js +13 -0
  193. package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -0
  194. package/es/components/code-snippet/src/codemirror/base-setup.d.ts +12 -0
  195. package/es/components/code-snippet/src/codemirror/base-setup.js +65 -0
  196. package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -0
  197. package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +12 -0
  198. package/es/components/code-snippet/src/codemirror/codemirror-loader.js +36 -0
  199. package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -0
  200. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +7 -0
  201. package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +13 -0
  202. package/es/components/code-snippet/src/codemirror/codemirror-runtime.js.map +1 -0
  203. package/es/components/code-snippet/src/codemirror/content-sync.d.ts +12 -0
  204. package/es/components/code-snippet/src/codemirror/content-sync.js +72 -0
  205. package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -0
  206. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +28 -0
  207. package/es/components/code-snippet/src/codemirror/editor-manager.js +75 -0
  208. package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -0
  209. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +38 -0
  210. package/es/components/code-snippet/src/codemirror/language-controller.js +220 -0
  211. package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -0
  212. package/es/components/code-snippet/src/codemirror/language-data.d.ts +6 -0
  213. package/es/components/code-snippet/src/codemirror/language-data.js +1043 -0
  214. package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -0
  215. package/es/components/code-snippet/src/codemirror/language-utils.d.ts +79 -0
  216. package/es/components/code-snippet/src/codemirror/language-utils.js +219 -0
  217. package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -0
  218. package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +123 -0
  219. package/es/components/code-snippet/src/codemirror/marker-utils.js +183 -0
  220. package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -0
  221. package/es/components/code-snippet/src/codemirror/theme.d.ts +54 -0
  222. package/es/components/code-snippet/src/codemirror/theme.js +320 -0
  223. package/es/components/code-snippet/src/codemirror/theme.js.map +1 -0
  224. package/es/components/code-snippet/src/dom-utils.d.ts +24 -0
  225. package/es/components/code-snippet/src/dom-utils.js +63 -0
  226. package/es/components/code-snippet/src/dom-utils.js.map +1 -0
  227. package/es/components/code-snippet/src/formatters.d.ts +4 -0
  228. package/es/components/code-snippet/src/formatters.js +19 -0
  229. package/es/components/code-snippet/src/formatters.js.map +1 -0
  230. package/es/components/code-snippet/src/layout-utils.d.ts +22 -0
  231. package/es/components/code-snippet/src/layout-utils.js +63 -0
  232. package/es/components/code-snippet/src/layout-utils.js.map +1 -0
  233. package/es/components/code-snippet/src/streaming-manager.d.ts +24 -0
  234. package/es/components/code-snippet/src/streaming-manager.js +120 -0
  235. package/es/components/code-snippet/src/streaming-manager.js.map +1 -0
  236. package/es/components/feedback/index.d.ts +7 -0
  237. package/es/components/feedback/index.js +12 -0
  238. package/es/components/feedback/index.js.map +1 -0
  239. package/es/components/feedback/src/cds-aichat-feedback-buttons.d.ts +15 -0
  240. package/es/components/feedback/src/cds-aichat-feedback-buttons.js +36 -0
  241. package/es/components/feedback/src/cds-aichat-feedback-buttons.js.map +1 -0
  242. package/es/components/feedback/src/cds-aichat-feedback.d.ts +15 -0
  243. package/es/components/feedback/src/cds-aichat-feedback.js +36 -0
  244. package/es/components/feedback/src/cds-aichat-feedback.js.map +1 -0
  245. package/es/components/feedback/src/feedback-buttons.d.ts +56 -0
  246. package/es/components/feedback/src/feedback-buttons.js +104 -0
  247. package/es/components/feedback/src/feedback-buttons.js.map +1 -0
  248. package/es/components/feedback/src/feedback-buttons.scss.js +13 -0
  249. package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -0
  250. package/es/components/feedback/src/feedback-buttons.template.d.ts +4 -0
  251. package/es/components/feedback/src/feedback-buttons.template.js +79 -0
  252. package/es/components/feedback/src/feedback-buttons.template.js.map +1 -0
  253. package/es/components/feedback/src/feedback.d.ts +114 -0
  254. package/es/components/feedback/src/feedback.js +182 -0
  255. package/es/components/feedback/src/feedback.js.map +1 -0
  256. package/es/components/feedback/src/feedback.scss.js +13 -0
  257. package/es/components/feedback/src/feedback.scss.js.map +1 -0
  258. package/es/components/feedback/src/feedback.template.d.ts +12 -0
  259. package/es/components/feedback/src/feedback.template.js +115 -0
  260. package/es/components/feedback/src/feedback.template.js.map +1 -0
  261. package/es/components/markdown/index.d.ts +2 -0
  262. package/es/components/markdown/index.js +9 -0
  263. package/es/components/markdown/index.js.map +1 -0
  264. package/es/components/markdown/src/cds-aichat-markdown.d.ts +13 -0
  265. package/es/components/markdown/src/cds-aichat-markdown.js +35 -0
  266. package/es/components/markdown/src/cds-aichat-markdown.js.map +1 -0
  267. package/es/components/markdown/src/markdown-renderer.d.ts +62 -0
  268. package/es/components/markdown/src/markdown-renderer.js +353 -0
  269. package/es/components/markdown/src/markdown-renderer.js.map +1 -0
  270. package/es/components/markdown/src/markdown-token-tree.d.ts +32 -0
  271. package/es/components/markdown/src/markdown-token-tree.js +178 -0
  272. package/es/components/markdown/src/markdown-token-tree.js.map +1 -0
  273. package/es/components/markdown/src/markdown.d.ts +44 -0
  274. package/es/components/markdown/src/markdown.js +238 -0
  275. package/es/components/markdown/src/markdown.js.map +1 -0
  276. package/es/components/markdown/src/markdown.scss.js +13 -0
  277. package/es/components/markdown/src/markdown.scss.js.map +1 -0
  278. package/es/components/markdown/src/markdown.template.d.ts +3 -0
  279. package/es/components/markdown/src/markdown.template.js +24 -0
  280. package/es/components/markdown/src/markdown.template.js.map +1 -0
  281. package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +7 -0
  282. package/es/components/markdown/src/plugins/markdown-it-attrs.js +84 -0
  283. package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -0
  284. package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +7 -0
  285. package/es/components/markdown/src/plugins/markdown-it-highlight.js +59 -0
  286. package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -0
  287. package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +12 -0
  288. package/es/components/markdown/src/plugins/markdown-it-task-lists.js +73 -0
  289. package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -0
  290. package/es/components/markdown/src/plugins/markdownItAttrs/core.d.ts +26 -0
  291. package/es/components/markdown/src/plugins/markdownItAttrs/core.js +330 -0
  292. package/es/components/markdown/src/plugins/markdownItAttrs/core.js.map +1 -0
  293. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.d.ts +6 -0
  294. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js +63 -0
  295. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js.map +1 -0
  296. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.d.ts +6 -0
  297. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +43 -0
  298. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js.map +1 -0
  299. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.d.ts +5 -0
  300. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js +55 -0
  301. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js.map +1 -0
  302. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.d.ts +19 -0
  303. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +210 -0
  304. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js.map +1 -0
  305. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.d.ts +13 -0
  306. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +156 -0
  307. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js.map +1 -0
  308. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.d.ts +13 -0
  309. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +216 -0
  310. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js.map +1 -0
  311. package/es/components/markdown/src/plugins/markdownItAttrs/types.d.ts +34 -0
  312. package/es/components/markdown/src/plugins/markdownItAttrs/types.js +8 -0
  313. package/es/components/markdown/src/plugins/markdownItAttrs/types.js.map +1 -0
  314. package/es/components/markdown/src/plugins/markdownItAttrs/utils.d.ts +25 -0
  315. package/es/components/markdown/src/plugins/markdownItAttrs/utils.js +62 -0
  316. package/es/components/markdown/src/plugins/markdownItAttrs/utils.js.map +1 -0
  317. package/es/components/markdown/src/utils/html-helpers.d.ts +2 -0
  318. package/es/components/markdown/src/utils/html-helpers.js +204 -0
  319. package/es/components/markdown/src/utils/html-helpers.js.map +1 -0
  320. package/es/components/markdown/src/utils/table-helpers.d.ts +31 -0
  321. package/es/components/markdown/src/utils/table-helpers.js +106 -0
  322. package/es/components/markdown/src/utils/table-helpers.js.map +1 -0
  323. package/es/components/markdown/src/utils.d.ts +8 -0
  324. package/es/components/markdown/src/utils.js +31 -0
  325. package/es/components/markdown/src/utils.js.map +1 -0
  326. package/es/components/reasoning-steps/index.d.ts +2 -0
  327. package/es/components/reasoning-steps/index.js +10 -0
  328. package/es/components/reasoning-steps/index.js.map +1 -0
  329. package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.d.ts +29 -0
  330. package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js +231 -0
  331. package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js.map +1 -0
  332. package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js +13 -0
  333. package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js.map +1 -0
  334. package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.d.ts +13 -0
  335. package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js +96 -0
  336. package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js.map +1 -0
  337. package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js +13 -0
  338. package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js.map +1 -0
  339. package/es/components/table/index.d.ts +3 -0
  340. package/es/components/table/index.js +9 -0
  341. package/es/components/table/index.js.map +1 -0
  342. package/es/components/table/src/cds-aichat-table.d.ts +262 -0
  343. package/es/components/table/src/cds-aichat-table.js +511 -0
  344. package/es/components/table/src/cds-aichat-table.js.map +1 -0
  345. package/es/components/table/src/table-loader.d.ts +4 -0
  346. package/es/components/table/src/table-loader.js +28 -0
  347. package/es/components/table/src/table-loader.js.map +1 -0
  348. package/es/components/table/src/table-pagination.template.d.ts +27 -0
  349. package/es/components/table/src/table-pagination.template.js +55 -0
  350. package/es/components/table/src/table-pagination.template.js.map +1 -0
  351. package/es/components/table/src/table-runtime.d.ts +2 -0
  352. package/es/components/table/src/table-runtime.js +10 -0
  353. package/es/components/table/src/table-runtime.js.map +1 -0
  354. package/es/components/table/src/table-skeleton.template.d.ts +6 -0
  355. package/es/components/table/src/table-skeleton.template.js +34 -0
  356. package/es/components/table/src/table-skeleton.template.js.map +1 -0
  357. package/es/components/table/src/table.scss.js +13 -0
  358. package/es/components/table/src/table.scss.js.map +1 -0
  359. package/es/components/table/src/table.template.d.ts +10 -0
  360. package/es/components/table/src/table.template.js +89 -0
  361. package/es/components/table/src/table.template.js.map +1 -0
  362. package/es/components/table/src/types.d.ts +13 -0
  363. package/es/components/table/src/types.js +8 -0
  364. package/es/components/table/src/types.js.map +1 -0
  365. package/es/components/tile-container/src/styles.scss.js +1 -1
  366. package/es/components/toolbar/index.d.ts +1 -0
  367. package/es/components/toolbar/index.js +9 -0
  368. package/es/components/toolbar/index.js.map +1 -0
  369. package/es/components/toolbar/src/toolbar.d.ts +39 -0
  370. package/es/components/toolbar/src/toolbar.js +179 -0
  371. package/es/components/toolbar/src/toolbar.js.map +1 -0
  372. package/es/components/toolbar/src/toolbar.scss.js +13 -0
  373. package/es/components/toolbar/src/toolbar.scss.js.map +1 -0
  374. package/es/components/workspace-shell/index.d.ts +5 -0
  375. package/es/components/workspace-shell/index.js +13 -0
  376. package/es/components/workspace-shell/index.js.map +1 -0
  377. package/es/components/workspace-shell/src/styles.scss.js +13 -0
  378. package/es/components/workspace-shell/src/styles.scss.js.map +1 -0
  379. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +16 -0
  380. package/es/components/workspace-shell/src/workspace-shell-body.js +50 -0
  381. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -0
  382. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +19 -0
  383. package/es/components/workspace-shell/src/workspace-shell-footer.js +53 -0
  384. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -0
  385. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +27 -0
  386. package/es/components/workspace-shell/src/workspace-shell-header.js +77 -0
  387. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -0
  388. package/es/components/workspace-shell/src/workspace-shell-toolbar.d.ts +22 -0
  389. package/es/components/workspace-shell/src/workspace-shell-toolbar.js +61 -0
  390. package/es/components/workspace-shell/src/workspace-shell-toolbar.js.map +1 -0
  391. package/es/components/workspace-shell/src/workspace-shell.d.ts +20 -0
  392. package/es/components/workspace-shell/src/workspace-shell.js +83 -0
  393. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -0
  394. package/es/components/workspace-shell/src/workspace-shell.scss.js +13 -0
  395. package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -0
  396. package/es/globals/utils/uuid.d.ts +5 -0
  397. package/es/globals/utils/uuid.js +32 -0
  398. package/es/globals/utils/uuid.js.map +1 -0
  399. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
  400. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
  401. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
  402. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
  403. package/es/node_modules/@codemirror/autocomplete/dist/index.js +258 -0
  404. package/es/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
  405. package/es/node_modules/@codemirror/commands/dist/index.js +1140 -0
  406. package/es/node_modules/@codemirror/commands/dist/index.js.map +1 -0
  407. package/es/node_modules/@codemirror/lint/dist/index.js +636 -0
  408. package/es/node_modules/@codemirror/lint/dist/index.js.map +1 -0
  409. package/es/node_modules/@lezer/common/dist/index.js +253 -0
  410. package/es/node_modules/@lezer/common/dist/index.js.map +1 -0
  411. package/es/node_modules/crelt/index.js +37 -0
  412. package/es/node_modules/crelt/index.js.map +1 -0
  413. package/es/react/ai-label.d.ts +2 -1
  414. package/es/react/ai-label.js +3 -2
  415. package/es/react/ai-label.js.map +1 -1
  416. package/es/react/button.d.ts +2 -1
  417. package/es/react/button.js +3 -2
  418. package/es/react/button.js.map +1 -1
  419. package/es/react/chain-of-thought.d.ts +7 -0
  420. package/es/react/chain-of-thought.js +29 -0
  421. package/es/react/chain-of-thought.js.map +1 -0
  422. package/es/react/chat-button.d.ts +4 -4
  423. package/es/react/chat-button.js +6 -4
  424. package/es/react/chat-button.js.map +1 -1
  425. package/es/react/code-snippet-tile-container.d.ts +5 -0
  426. package/es/react/code-snippet-tile-container.js +30 -0
  427. package/es/react/code-snippet-tile-container.js.map +1 -0
  428. package/es/react/code-snippet.d.ts +4 -0
  429. package/es/react/code-snippet.js +31 -0
  430. package/es/react/code-snippet.js.map +1 -0
  431. package/es/react/content-switcher.d.ts +7 -0
  432. package/es/react/content-switcher.js +37 -0
  433. package/es/react/content-switcher.js.map +1 -0
  434. package/es/react/feedback-buttons.d.ts +4 -0
  435. package/es/react/feedback-buttons.js +28 -0
  436. package/es/react/feedback-buttons.js.map +1 -0
  437. package/es/react/feedback.d.ts +6 -0
  438. package/es/react/feedback.js +32 -0
  439. package/es/react/feedback.js.map +1 -0
  440. package/es/react/icon-button.d.ts +2 -1
  441. package/es/react/icon-button.js +3 -2
  442. package/es/react/icon-button.js.map +1 -1
  443. package/es/react/icon.d.ts +4 -0
  444. package/es/react/icon.js +28 -0
  445. package/es/react/icon.js.map +1 -0
  446. package/es/react/markdown.d.ts +4 -0
  447. package/es/react/markdown.js +28 -0
  448. package/es/react/markdown.js.map +1 -0
  449. package/es/react/overflow-menu.d.ts +9 -0
  450. package/es/react/overflow-menu.js +40 -0
  451. package/es/react/overflow-menu.js.map +1 -0
  452. package/es/react/processing.d.ts +2 -1
  453. package/es/react/processing.js +3 -2
  454. package/es/react/processing.js.map +1 -1
  455. package/es/react/reasoning-step.d.ts +6 -0
  456. package/es/react/reasoning-step.js +31 -0
  457. package/es/react/reasoning-step.js.map +1 -0
  458. package/es/react/reasoning-steps.d.ts +3 -0
  459. package/es/react/reasoning-steps.js +27 -0
  460. package/es/react/reasoning-steps.js.map +1 -0
  461. package/es/react/tile-container.d.ts +2 -1
  462. package/es/react/tile-container.js +3 -2
  463. package/es/react/tile-container.js.map +1 -1
  464. package/es/react/tile.d.ts +3 -2
  465. package/es/react/tile.js +5 -4
  466. package/es/react/tile.js.map +1 -1
  467. package/es/react/toolbar.d.ts +4 -0
  468. package/es/react/toolbar.js +28 -0
  469. package/es/react/toolbar.js.map +1 -0
  470. package/es/react/utils/withWebComponentBridge.d.ts +15 -0
  471. package/es/react/utils/withWebComponentBridge.js +95 -0
  472. package/es/react/utils/withWebComponentBridge.js.map +1 -0
  473. package/es/testing/load-all-lazy-deps.d.ts +10 -0
  474. package/es/testing/load-all-lazy-deps.js +30 -0
  475. package/es/testing/load-all-lazy-deps.js.map +1 -0
  476. package/package.json +39 -5
  477. package/dist/carbon-element-CMR7BOhG.js +0 -24
  478. package/dist/class-map-h7IEvsL_.js +0 -39
  479. package/es/components/chat-button/chat-button.d.ts +0 -23
  480. package/es/components/chat-button/chat-button.js.map +0 -1
  481. package/es/components/chat-button/src/chat-button.template.d.ts +0 -16
  482. package/es/components/chat-button/src/chat-button.template.js +0 -27
  483. package/es/components/chat-button/src/chat-button.template.js.map +0 -1
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ /*
9
+ * Copyright IBM Corp. 2025
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 defaultLineCountText = ({ count }) => `${count} lines`;
17
+
18
+ export { defaultLineCountText };
19
+ //# sourceMappingURL=formatters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.js","sources":["../../../../src/components/code-snippet/src/formatters.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAII,MAAM,oBAAoB,GAAuB,CAAC,EAAE,KAAK,EAAE,KAChE,CAAA,EAAG,KAAK;;;;"}
@@ -0,0 +1,22 @@
1
+ interface ContainerStyleConfig {
2
+ expanded: boolean;
3
+ maxCollapsed: number;
4
+ maxExpanded: number;
5
+ minCollapsed: number;
6
+ minExpanded: number;
7
+ rowHeight: number;
8
+ }
9
+ export declare function buildContainerStyles({ expanded, maxCollapsed, maxExpanded, minCollapsed, minExpanded, rowHeight, }: ContainerStyleConfig): string;
10
+ interface ShowMoreEvaluationInput {
11
+ shadowRoot: ShadowRoot | null;
12
+ rowHeight: number;
13
+ expanded: boolean;
14
+ maxCollapsed: number;
15
+ maxExpanded: number;
16
+ minExpanded: number;
17
+ }
18
+ export declare function evaluateShowMoreButton({ shadowRoot, rowHeight, expanded, maxCollapsed, maxExpanded, minExpanded, }: ShowMoreEvaluationInput): {
19
+ shouldShowButton: boolean;
20
+ shouldCollapse: boolean;
21
+ };
22
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ /*
9
+ * Copyright IBM Corp. 2025
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 buildContainerStyles({ expanded, maxCollapsed, maxExpanded, minCollapsed, minExpanded, rowHeight, }) {
17
+ const styles = [];
18
+ if (expanded) {
19
+ if (maxExpanded > 0) {
20
+ const maxHeight = `${maxExpanded * rowHeight}px`;
21
+ styles.push(`max-height: ${maxHeight}`);
22
+ styles.push(`--cds-snippet-max-height: ${maxHeight}`);
23
+ }
24
+ else {
25
+ // Remove the default CodeMirror max height so expanded snippets can grow to fit content
26
+ styles.push(`max-height: none`);
27
+ styles.push(`--cds-snippet-max-height: none`);
28
+ }
29
+ if (minExpanded > 0) {
30
+ const minHeight = `${minExpanded * rowHeight}px`;
31
+ styles.push(`min-height: ${minHeight}`);
32
+ styles.push(`--cds-snippet-min-height: ${minHeight}`);
33
+ }
34
+ }
35
+ else {
36
+ if (maxCollapsed > 0) {
37
+ const maxHeight = `${maxCollapsed * rowHeight}px`;
38
+ styles.push(`max-height: ${maxHeight}`);
39
+ styles.push(`--cds-snippet-max-height: ${maxHeight}`);
40
+ }
41
+ if (minCollapsed > 0) {
42
+ const minHeight = `${minCollapsed * rowHeight}px`;
43
+ styles.push(`min-height: ${minHeight}`);
44
+ styles.push(`--cds-snippet-min-height: ${minHeight}`);
45
+ }
46
+ }
47
+ return styles.join("; ");
48
+ }
49
+ function evaluateShowMoreButton({ shadowRoot, rowHeight, expanded, maxCollapsed, maxExpanded, minExpanded, }) {
50
+ const editorNode = shadowRoot?.querySelector(`.cm-content`);
51
+ if (!editorNode) {
52
+ return { shouldShowButton: false, shouldCollapse: false };
53
+ }
54
+ const { height } = editorNode.getBoundingClientRect();
55
+ const shouldShowButton = maxCollapsed > 0 &&
56
+ (maxExpanded <= 0 || maxExpanded > maxCollapsed) &&
57
+ height > maxCollapsed * rowHeight;
58
+ const shouldCollapse = expanded && minExpanded > 0 && height <= minExpanded * rowHeight;
59
+ return { shouldShowButton, shouldCollapse };
60
+ }
61
+
62
+ export { buildContainerStyles, evaluateShowMoreButton };
63
+ //# sourceMappingURL=layout-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-utils.js","sources":["../../../../src/components/code-snippet/src/layout-utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAWG,SAAU,oBAAoB,CAAC,EACnC,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,GACY,EAAA;IACrB,MAAM,MAAM,GAAa,EAAE;IAE3B,IAAI,QAAQ,EAAE;AACZ,QAAA,IAAI,WAAW,GAAG,CAAC,EAAE;AACnB,YAAA,MAAM,SAAS,GAAG,CAAA,EAAG,WAAW,GAAG,SAAS,IAAI;AAChD,YAAA,MAAM,CAAC,IAAI,CAAC,eAAe,SAAS,CAAA,CAAE,CAAC;AACvC,YAAA,MAAM,CAAC,IAAI,CAAC,6BAA6B,SAAS,CAAA,CAAE,CAAC;QACvD;aAAO;;AAEL,YAAA,MAAM,CAAC,IAAI,CAAC,CAAA,gBAAA,CAAkB,CAAC;AAC/B,YA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ErD,IAAA,MAAM,gBAAgB,GACpB,YAAY,GAAG,CAAC;AAChB,SAAC,WAAW,IAAI,CAAC,IAAI,WAAW,GAAG,YAAY,CAAC;AAChD,QAAA,MAAM,GAAG,YAAY,GAAG,SAAS;AAEnC,IAAA,MAAM,cAAc,GAClB,QAAQ,IAAI,WAAW,GAAG,CAAC,IAAI,MAAM,IAAI,WAAW,GAAG,SAAS;AAElE,IAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE;AAC7C;;;;"}
@@ -0,0 +1,24 @@
1
+ interface StreamingManagerConfig {
2
+ getSlot(): HTMLSlotElement | null | undefined;
3
+ getHost(): Element;
4
+ onContentUpdate(content: string): void;
5
+ }
6
+ export declare class StreamingManager {
7
+ private readonly config;
8
+ private observer;
9
+ private pendingFrame;
10
+ private hasExtractedInitial;
11
+ private cachedContent;
12
+ constructor(config: StreamingManagerConfig);
13
+ reset(initialContent?: string): void;
14
+ connect(): void;
15
+ disconnect(): void;
16
+ dispose(): void;
17
+ ensureInitialContent(): void;
18
+ handleSlotChange(): void;
19
+ syncSlotObservers(): void;
20
+ private observeAssignedNodes;
21
+ private handleMutations;
22
+ private extractContent;
23
+ }
24
+ export {};
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { extractSlotContent, extractTextContent } from './dom-utils.js';
9
+
10
+ /*
11
+ * Copyright IBM Corp. 2025
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
+ * @license
17
+ */
18
+ class StreamingManager {
19
+ constructor(config) {
20
+ this.config = config;
21
+ this.observer = null;
22
+ this.pendingFrame = null;
23
+ this.hasExtractedInitial = false;
24
+ this.cachedContent = "";
25
+ }
26
+ reset(initialContent) {
27
+ this.hasExtractedInitial = false;
28
+ if (typeof initialContent === "string") {
29
+ this.cachedContent = initialContent;
30
+ }
31
+ }
32
+ connect() {
33
+ if (!this.observer) {
34
+ this.observer = new MutationObserver(() => {
35
+ this.handleMutations();
36
+ });
37
+ }
38
+ this.observeAssignedNodes();
39
+ }
40
+ disconnect() {
41
+ if (this.observer) {
42
+ this.observer.disconnect();
43
+ }
44
+ if (this.pendingFrame !== null) {
45
+ cancelAnimationFrame(this.pendingFrame);
46
+ this.pendingFrame = null;
47
+ }
48
+ }
49
+ dispose() {
50
+ this.disconnect();
51
+ this.observer = null;
52
+ }
53
+ ensureInitialContent() {
54
+ if (this.hasExtractedInitial) {
55
+ return;
56
+ }
57
+ this.extractContent();
58
+ this.hasExtractedInitial = true;
59
+ }
60
+ handleSlotChange() {
61
+ this.observeAssignedNodes();
62
+ this.extractContent();
63
+ }
64
+ syncSlotObservers() {
65
+ this.observeAssignedNodes();
66
+ }
67
+ observeAssignedNodes() {
68
+ if (!this.observer) {
69
+ return;
70
+ }
71
+ const slot = this.config.getSlot();
72
+ if (!slot) {
73
+ return;
74
+ }
75
+ this.observer.disconnect();
76
+ const assignedNodes = slot.assignedNodes({ flatten: true });
77
+ if (!assignedNodes.length) {
78
+ return;
79
+ }
80
+ for (const node of assignedNodes) {
81
+ if (node.nodeType === Node.TEXT_NODE) {
82
+ this.observer.observe(node, {
83
+ characterData: true,
84
+ });
85
+ }
86
+ else {
87
+ this.observer.observe(node, {
88
+ characterData: true,
89
+ subtree: true,
90
+ childList: true,
91
+ });
92
+ }
93
+ }
94
+ }
95
+ handleMutations() {
96
+ if (this.pendingFrame !== null) {
97
+ return;
98
+ }
99
+ this.pendingFrame = requestAnimationFrame(() => {
100
+ this.pendingFrame = null;
101
+ this.extractContent();
102
+ });
103
+ }
104
+ extractContent() {
105
+ const slot = this.config.getSlot();
106
+ const host = this.config.getHost();
107
+ const rawContent = slot
108
+ ? extractSlotContent(slot)
109
+ : extractTextContent(host);
110
+ const normalized = rawContent.replace(/\r\n/g, "\n").trim();
111
+ if (normalized === this.cachedContent) {
112
+ return;
113
+ }
114
+ this.cachedContent = normalized;
115
+ this.config.onContentUpdate(normalized);
116
+ }
117
+ }
118
+
119
+ export { StreamingManager };
120
+ //# sourceMappingURL=streaming-manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming-manager.js","sources":["../../../../src/components/code-snippet/src/streaming-manager.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;AAOG;MAUU,gBAAgB,CAAA;AAM3B,IAAA,WAAA,CAA6B,MAA8B,EAAA;QAA9B,IAAA,CAAA,MAAM,GAAN,MAAM;QAL3B,IAAA,CAAA,QAAQ,GAA4B,IAAI;QACxC,IAAA,CAAA,YAAY,GAAkB,IAAI;QAClC,IAAA,CAAA,mBAAmB,GAAG,KAAK;QAC3B,IAAA,CAAA,aAAa,GAAG,EAAE;IAEoC;AAE9D,IAAA,KAAK,CAAC,cAAuB,EAAA;AAC3B,QAAA,IAAI,CAAC,mBAAmB,GAAG,KAAK;AAChC,QAAA,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;AACtC,YAAA,IAAI,CAAC,aAAa,GAAG,cAAc;QACrC;IACF;IAEA,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,MAAK;gBACxC,IAAI,CAAC,eAAe,EAAE;AACxB,YAAA,CAAC,CAAC;QACJ;QACA,IAAI,CAAC,oBAAoB,EAAE;IAC7B;IAEA,UAAU,GAAA;AACR,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;QAC5B;AACA,QAAA,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,EAAE;AAC9B,YAAA,oBAAoB,CAAC,IAAI,CAAC,YAAY,CAAC;AACvC,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI;QAC1B;IACF;IAEA,OAAO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IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,EAAE;YAC9B;QACF;AAEA,QAAA,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,MAAK;AAC7C,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI;YACxB,IAAI,CAAC,cAAc,EAAE;AACvB,QAAA,CAAC,CAAC;IACJ;IAEQ,cAAc,GAAA;QACpB,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QAClC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QAElC,MAAM,UAAU,GAAG;AACjB,cAAE,kBAAkB,CAAC,IAAI;AACzB,cAAE,kBAAkB,CAAC,IAAI,CAAC;AAC5B,QAAA,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE;AAE3D,QAAA,IAAI,UAAU,KAAK,IAAI,CAAC,aAAa,EAAE;YACrC;QACF;AAEA,QAAA,IAAI,CAAC,aAAa,GAAG,UAAU;AAC/B,QAAA,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,UAAU,CAAC;IACzC;AACD;;;;"}
@@ -0,0 +1,7 @@
1
+ import "./src/cds-aichat-feedback.js";
2
+ import "./src/cds-aichat-feedback-buttons.js";
3
+ export { default } from "./src/cds-aichat-feedback.js";
4
+ export { FEEDBACK_COMPONENT_TAG_NAME, default as CDSChatFeedbackElement, } from "./src/cds-aichat-feedback.js";
5
+ export { default as CDSChatFeedbackButtonsElement, FEEDBACK_BUTTONS_COMPONENT_TAG_NAME, } from "./src/cds-aichat-feedback-buttons.js";
6
+ export { FeedbackElement, type FeedbackInitialValues, type FeedbackSubmitDetails, } from "./src/feedback.js";
7
+ export { FeedbackButtonsElement, type FeedbackButtonsClickEventDetail, } from "./src/feedback-buttons.js";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ export { default as CDSChatFeedbackElement, FEEDBACK_COMPONENT_TAG_NAME, default } from './src/cds-aichat-feedback.js';
9
+ export { default as CDSChatFeedbackButtonsElement, FEEDBACK_BUTTONS_COMPONENT_TAG_NAME } from './src/cds-aichat-feedback-buttons.js';
10
+ export { FeedbackElement } from './src/feedback.js';
11
+ export { FeedbackButtonsElement } from './src/feedback-buttons.js';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ import { FeedbackButtonsElement } from "./feedback-buttons.js";
2
+ declare const FEEDBACK_BUTTONS_COMPONENT_TAG_NAME = "cds-aichat-feedback-buttons";
3
+ /**
4
+ * This class is used to display two feedback buttons (thumbs up and thumbs down).
5
+ */
6
+ declare class CDSChatFeedbackButtonsElement extends FeedbackButtonsElement {
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ "cds-aichat-feedback-buttons": CDSChatFeedbackButtonsElement;
12
+ }
13
+ }
14
+ export { FEEDBACK_BUTTONS_COMPONENT_TAG_NAME };
15
+ export default CDSChatFeedbackButtonsElement;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { carbonElement } from '../../../globals/decorators/carbon-element.js';
10
+ import { FeedbackButtonsElement } from './feedback-buttons.js';
11
+ import { feedbackButtonsElementTemplate } from './feedback-buttons.template.js';
12
+
13
+ /*
14
+ * Copyright IBM Corp. 2025
15
+ *
16
+ * This source code is licensed under the Apache-2.0 license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ *
19
+ * @license
20
+ */
21
+ const FEEDBACK_BUTTONS_COMPONENT_TAG_NAME = "cds-aichat-feedback-buttons";
22
+ /**
23
+ * This class is used to display two feedback buttons (thumbs up and thumbs down).
24
+ */
25
+ let CDSChatFeedbackButtonsElement = class CDSChatFeedbackButtonsElement extends FeedbackButtonsElement {
26
+ render() {
27
+ return feedbackButtonsElementTemplate(this);
28
+ }
29
+ };
30
+ CDSChatFeedbackButtonsElement = __decorate([
31
+ carbonElement(FEEDBACK_BUTTONS_COMPONENT_TAG_NAME)
32
+ ], CDSChatFeedbackButtonsElement);
33
+ var CDSChatFeedbackButtonsElement$1 = CDSChatFeedbackButtonsElement;
34
+
35
+ export { FEEDBACK_BUTTONS_COMPONENT_TAG_NAME, CDSChatFeedbackButtonsElement$1 as default };
36
+ //# sourceMappingURL=cds-aichat-feedback-buttons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cds-aichat-feedback-buttons.js","sources":["../../../../src/components/feedback/src/cds-aichat-feedback-buttons.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AAMH,MAAM,mCAAmC,GAAG;AAE5C;;AAEG;AAEH,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,sBAAsB,CAAA;IAChE,MAAM,GAAA;AACJ,QAAA,OAAO,8BAA8B,CAAC,IAAI,CAAC;IAC7C;CACD;AAJK,6BAA6B,GAAA,UAAA,CAAA;IADlC,aAAa,CAAC,mCAAmC;AAC5C,CAAA,EAAA,6BAA6B,CAIlC;AASD,sCAAe,6BAA6B;;;;"}
@@ -0,0 +1,15 @@
1
+ import { FeedbackElement } from "./feedback.js";
2
+ declare const FEEDBACK_COMPONENT_TAG_NAME = "cds-aichat-feedback";
3
+ /**
4
+ * Custom element for rendering the feedback surface.
5
+ */
6
+ declare class CDSChatFeedbackElement extends FeedbackElement {
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ "cds-aichat-feedback": CDSChatFeedbackElement;
12
+ }
13
+ }
14
+ export { FEEDBACK_COMPONENT_TAG_NAME };
15
+ export default CDSChatFeedbackElement;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { carbonElement } from '../../../globals/decorators/carbon-element.js';
10
+ import { FeedbackElement } from './feedback.js';
11
+ import { feedbackElementTemplate } from './feedback.template.js';
12
+
13
+ /*
14
+ * Copyright IBM Corp. 2025
15
+ *
16
+ * This source code is licensed under the Apache-2.0 license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ *
19
+ * @license
20
+ */
21
+ const FEEDBACK_COMPONENT_TAG_NAME = "cds-aichat-feedback";
22
+ /**
23
+ * Custom element for rendering the feedback surface.
24
+ */
25
+ let CDSChatFeedbackElement = class CDSChatFeedbackElement extends FeedbackElement {
26
+ render() {
27
+ return feedbackElementTemplate(this);
28
+ }
29
+ };
30
+ CDSChatFeedbackElement = __decorate([
31
+ carbonElement(FEEDBACK_COMPONENT_TAG_NAME)
32
+ ], CDSChatFeedbackElement);
33
+ var CDSChatFeedbackElement$1 = CDSChatFeedbackElement;
34
+
35
+ export { FEEDBACK_COMPONENT_TAG_NAME, CDSChatFeedbackElement$1 as default };
36
+ //# sourceMappingURL=cds-aichat-feedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cds-aichat-feedback.js","sources":["../../../../src/components/feedback/src/cds-aichat-feedback.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AAMH,MAAM,2BAA2B,GAAG;AAEpC;;AAEG;AAEH,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,eAAe,CAAA;IAClD,MAAM,GAAA;AACJ,QAAA,OAAO,uBAAuB,CAAC,IAAI,CAAC;IACtC;CACD;AAJK,sBAAsB,GAAA,UAAA,CAAA;IAD3B,aAAa,CAAC,2BAA2B;AACpC,CAAA,EAAA,sBAAsB,CAI3B;AASD,+BAAe,sBAAsB;;;;"}
@@ -0,0 +1,56 @@
1
+ import { LitElement } from "lit";
2
+ declare class FeedbackButtonsElement extends LitElement {
3
+ static styles: any;
4
+ /**
5
+ * Indicates if the details panel for the positive feedback is open.
6
+ */
7
+ isPositiveOpen: boolean;
8
+ /**
9
+ * Indicates if the details panel for the negative feedback is open.
10
+ */
11
+ isNegativeOpen: boolean;
12
+ /**
13
+ * Indicates if the positive feedback button should shown as selected.
14
+ */
15
+ isPositiveSelected: boolean;
16
+ /**
17
+ * Indicates if the positive feedback button will be used to show or hide a details panel.
18
+ */
19
+ hasPositiveDetails: boolean;
20
+ /**
21
+ * Indicates if the negative feedback button will be used to show or hide a details panel.
22
+ */
23
+ hasNegativeDetails: boolean;
24
+ /**
25
+ * Indicates if the positive feedback button should shown as selected.
26
+ */
27
+ isNegativeSelected: boolean;
28
+ /**
29
+ * Indicates if the positive feedback button should shown as disabled.
30
+ */
31
+ isPositiveDisabled: boolean;
32
+ /**
33
+ * Indicates if the negative feedback button should shown as disabled.
34
+ */
35
+ isNegativeDisabled: boolean;
36
+ /**
37
+ * The label for the positive button.
38
+ */
39
+ positiveLabel?: string;
40
+ /**
41
+ * The label for the negative button.
42
+ */
43
+ negativeLabel?: string;
44
+ /**
45
+ * The unique ID of the panel that is used for showing details.
46
+ */
47
+ panelID?: string;
48
+ /**
49
+ * Dispatches an event notifying listeners that a button has been clicked.
50
+ */
51
+ handleButtonClick(isPositive: boolean): void;
52
+ }
53
+ interface FeedbackButtonsClickEventDetail {
54
+ isPositive: boolean;
55
+ }
56
+ export { FeedbackButtonsElement, type FeedbackButtonsClickEventDetail };
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement } from 'lit';
10
+ import { property } from 'lit/decorators.js';
11
+ import styles from './feedback-buttons.scss.js';
12
+
13
+ /*
14
+ * Copyright IBM Corp. 2025
15
+ *
16
+ * This source code is licensed under the Apache-2.0 license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ *
19
+ * @license
20
+ */
21
+ class FeedbackButtonsElement extends LitElement {
22
+ constructor() {
23
+ super(...arguments);
24
+ /**
25
+ * Indicates if the details panel for the positive feedback is open.
26
+ */
27
+ this.isPositiveOpen = false;
28
+ /**
29
+ * Indicates if the details panel for the negative feedback is open.
30
+ */
31
+ this.isNegativeOpen = false;
32
+ /**
33
+ * Indicates if the positive feedback button should shown as selected.
34
+ */
35
+ this.isPositiveSelected = false;
36
+ /**
37
+ * Indicates if the positive feedback button will be used to show or hide a details panel.
38
+ */
39
+ this.hasPositiveDetails = false;
40
+ /**
41
+ * Indicates if the negative feedback button will be used to show or hide a details panel.
42
+ */
43
+ this.hasNegativeDetails = false;
44
+ /**
45
+ * Indicates if the positive feedback button should shown as selected.
46
+ */
47
+ this.isNegativeSelected = false;
48
+ /**
49
+ * Indicates if the positive feedback button should shown as disabled.
50
+ */
51
+ this.isPositiveDisabled = false;
52
+ /**
53
+ * Indicates if the negative feedback button should shown as disabled.
54
+ */
55
+ this.isNegativeDisabled = false;
56
+ }
57
+ /**
58
+ * Dispatches an event notifying listeners that a button has been clicked.
59
+ */
60
+ handleButtonClick(isPositive) {
61
+ this.dispatchEvent(new CustomEvent("feedback-buttons-click", {
62
+ detail: { isPositive },
63
+ bubbles: true,
64
+ composed: true,
65
+ }));
66
+ }
67
+ }
68
+ FeedbackButtonsElement.styles = styles;
69
+ __decorate([
70
+ property({ type: Boolean, attribute: "is-positive-open", reflect: true })
71
+ ], FeedbackButtonsElement.prototype, "isPositiveOpen", void 0);
72
+ __decorate([
73
+ property({ type: Boolean, attribute: "is-negative-open", reflect: true })
74
+ ], FeedbackButtonsElement.prototype, "isNegativeOpen", void 0);
75
+ __decorate([
76
+ property({ type: Boolean, attribute: "is-positive-selected", reflect: true })
77
+ ], FeedbackButtonsElement.prototype, "isPositiveSelected", void 0);
78
+ __decorate([
79
+ property({ type: Boolean, attribute: "has-positive-details", reflect: true })
80
+ ], FeedbackButtonsElement.prototype, "hasPositiveDetails", void 0);
81
+ __decorate([
82
+ property({ type: Boolean, attribute: "has-negative-details", reflect: true })
83
+ ], FeedbackButtonsElement.prototype, "hasNegativeDetails", void 0);
84
+ __decorate([
85
+ property({ type: Boolean, attribute: "is-negative-selected", reflect: true })
86
+ ], FeedbackButtonsElement.prototype, "isNegativeSelected", void 0);
87
+ __decorate([
88
+ property({ type: Boolean, attribute: "is-positive-disabled", reflect: true })
89
+ ], FeedbackButtonsElement.prototype, "isPositiveDisabled", void 0);
90
+ __decorate([
91
+ property({ type: Boolean, attribute: "is-negative-disabled", reflect: true })
92
+ ], FeedbackButtonsElement.prototype, "isNegativeDisabled", void 0);
93
+ __decorate([
94
+ property({ type: String, attribute: "positive-label", reflect: true })
95
+ ], FeedbackButtonsElement.prototype, "positiveLabel", void 0);
96
+ __decorate([
97
+ property({ type: String, attribute: "negative-label", reflect: true })
98
+ ], FeedbackButtonsElement.prototype, "negativeLabel", void 0);
99
+ __decorate([
100
+ property({ type: String, attribute: "panel-id", reflect: true })
101
+ ], FeedbackButtonsElement.prototype, "panelID", void 0);
102
+
103
+ export { FeedbackButtonsElement };
104
+ //# sourceMappingURL=feedback-buttons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback-buttons.js","sources":["../../../../src/components/feedback/src/feedback-buttons.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH,MAAM,sBAAuB,SAAQ,UAAU,CAAA;AAA/C,IAAA,WAAA,GAAA;;AAGE;;AAEG;QAEH,IAAA,CAAA,cAAc,GAAG,KAAK;AAEtB;;AAEG;QAEH,IAAA,CAAA,cAAc,GAAG,KAAK;AAE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CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAMvB,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE;AAC/C,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;;;;"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css([".cds-aichat--feedback-buttons{display:flex;margin-block-start:.5rem}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=feedback-buttons.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback-buttons.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ import "@carbon/web-components/es/components/icon-button/index.js";
2
+ import { FeedbackButtonsElement } from "./feedback-buttons.js";
3
+ declare function feedbackButtonsElementTemplate(customElementClass: FeedbackButtonsElement): import("lit-html").TemplateResult<1>;
4
+ export { feedbackButtonsElementTemplate };