@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
@@ -1 +1 @@
1
- {"version":3,"file":"processing.js","sources":["../../src/react/processing.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAQH,MAAM,UAAU,GAAG,eAAe,CAAC;AACjC,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"processing.js","sources":["../../src/react/processing.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,UAAU,GAAG,sBAAsB,CACvC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -0,0 +1,6 @@
1
+ import CDSAIChatReasoningStep from "../components/reasoning-steps/src/cds-aichat-reasoning-step.js";
2
+ declare const ReasoningStep: import("@lit/react").ReactWebComponent<CDSAIChatReasoningStep, {
3
+ onBeforeToggle: string;
4
+ onToggle: string;
5
+ }>;
6
+ export default ReasoningStep;
@@ -0,0 +1,31 @@
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 { createComponent } from '@lit/react';
9
+ import React from 'react';
10
+ import CDSAIChatReasoningStep from '../components/reasoning-steps/src/cds-aichat-reasoning-step.js';
11
+
12
+ /*
13
+ * Copyright IBM Corp. 2025
14
+ *
15
+ * This source code is licensed under the Apache-2.0 license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ *
18
+ * @license
19
+ */
20
+ const ReasoningStep = createComponent({
21
+ tagName: "cds-aichat-reasoning-step",
22
+ elementClass: CDSAIChatReasoningStep,
23
+ react: React,
24
+ events: {
25
+ onBeforeToggle: "cds-aichat-reasoning-step-beingtoggled",
26
+ onToggle: "cds-aichat-reasoning-step-toggled",
27
+ },
28
+ });
29
+
30
+ export { ReasoningStep as default };
31
+ //# sourceMappingURL=reasoning-step.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reasoning-step.js","sources":["../../src/react/reasoning-step.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH,MAAM,aAAa,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,cAAc,EAAE,wCAAwC;AACxD,QAAA,QAAQ,EAAE,mCAAmC;AAC9C,KAAA;AACF,CAAA;;;;"}
@@ -0,0 +1,3 @@
1
+ import CDSAIChatReasoningSteps from "../components/reasoning-steps/src/cds-aichat-reasoning-steps.js";
2
+ declare const ReasoningSteps: import("@lit/react").ReactWebComponent<CDSAIChatReasoningSteps, {}>;
3
+ export default ReasoningSteps;
@@ -0,0 +1,27 @@
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 { createComponent } from '@lit/react';
9
+ import React from 'react';
10
+ import CDSAIChatReasoningSteps from '../components/reasoning-steps/src/cds-aichat-reasoning-steps.js';
11
+
12
+ /*
13
+ * Copyright IBM Corp. 2025
14
+ *
15
+ * This source code is licensed under the Apache-2.0 license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ *
18
+ * @license
19
+ */
20
+ const ReasoningSteps = createComponent({
21
+ tagName: "cds-aichat-reasoning-steps",
22
+ elementClass: CDSAIChatReasoningSteps,
23
+ react: React,
24
+ });
25
+
26
+ export { ReasoningSteps as default };
27
+ //# sourceMappingURL=reasoning-steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reasoning-steps.js","sources":["../../src/react/reasoning-steps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH,MAAM,cAAc,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import CDSAIChatTileContainer from "../components/tile-container/src/tile-container.js";
2
- declare const TileContainer: import("@lit/react").ReactWebComponent<CDSAIChatTileContainer, {}>;
3
+ declare const TileContainer: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CDSAIChatTileContainer>>;
3
4
  export default TileContainer;
@@ -8,6 +8,7 @@
8
8
  import { createComponent } from '@lit/react';
9
9
  import React from 'react';
10
10
  import CDSAIChatTileContainer from '../components/tile-container/src/tile-container.js';
11
+ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
11
12
 
12
13
  /*
13
14
  * Copyright IBM Corp. 2025
@@ -17,11 +18,11 @@ import CDSAIChatTileContainer from '../components/tile-container/src/tile-contai
17
18
  *
18
19
  * @license
19
20
  */
20
- const TileContainer = createComponent({
21
+ const TileContainer = withWebComponentBridge(createComponent({
21
22
  tagName: "cds-aichat-tile-container",
22
23
  elementClass: CDSAIChatTileContainer,
23
24
  react: React,
24
- });
25
+ }));
25
26
 
26
27
  export { TileContainer as default };
27
28
  //# sourceMappingURL=tile-container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tile-container.js","sources":["../../src/react/tile-container.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAQH,MAAM,aAAa,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"tile-container.js","sources":["../../src/react/tile-container.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,aAAa,GAAG,sBAAsB,CAC1C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,6 +1,7 @@
1
+ import React from "react";
1
2
  import CarbonTileElement from "@carbon/web-components/es/components/tile/tile.js";
2
3
  import CarbonClickableTileElement from "@carbon/web-components/es/components/tile/clickable-tile.js";
3
- declare const Tile: import("@lit/react").ReactWebComponent<CarbonTileElement, {}>;
4
- declare const ClickableTile: import("@lit/react").ReactWebComponent<CarbonClickableTileElement, {}>;
4
+ declare const Tile: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonTileElement>>;
5
+ declare const ClickableTile: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonClickableTileElement>>;
5
6
  export default Tile;
6
7
  export { Tile, ClickableTile };
package/es/react/tile.js CHANGED
@@ -9,6 +9,7 @@ import { createComponent } from '@lit/react';
9
9
  import React from 'react';
10
10
  import CarbonTileElement from '@carbon/web-components/es/components/tile/tile.js';
11
11
  import CarbonClickableTileElement from '@carbon/web-components/es/components/tile/clickable-tile.js';
12
+ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
12
13
 
13
14
  /*
14
15
  * Copyright IBM Corp. 2025
@@ -18,16 +19,16 @@ import CarbonClickableTileElement from '@carbon/web-components/es/components/til
18
19
  *
19
20
  * @license
20
21
  */
21
- const Tile = createComponent({
22
+ const Tile = withWebComponentBridge(createComponent({
22
23
  tagName: "cds-tile",
23
24
  elementClass: CarbonTileElement,
24
25
  react: React,
25
- });
26
- const ClickableTile = createComponent({
26
+ }));
27
+ const ClickableTile = withWebComponentBridge(createComponent({
27
28
  tagName: "cds-clickable-tile",
28
29
  elementClass: CarbonClickableTileElement,
29
30
  react: React,
30
- });
31
+ }));
31
32
 
32
33
  export { ClickableTile, Tile, Tile as default };
33
34
  //# sourceMappingURL=tile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tile.js","sources":["../../src/react/tile.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,IAAI,GAAG,eAAe,CAAC;AAC3B,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;AAED,MAAM,aAAa,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"tile.js","sources":["../../src/react/tile.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH,MAAM,IAAI,GAAG,sBAAsB,CACjC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,aAAa,GAAG,sBAAsB,CAC1C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import CDSAIChatToolbar from "../components/toolbar/src/toolbar.js";
3
+ declare const Toolbar: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CDSAIChatToolbar>>;
4
+ export default Toolbar;
@@ -0,0 +1,28 @@
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 { createComponent } from '@lit/react';
9
+ import React from 'react';
10
+ import CDSAIChatToolbar from '../components/toolbar/src/toolbar.js';
11
+ import { withWebComponentBridge } from './utils/withWebComponentBridge.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 Toolbar = withWebComponentBridge(createComponent({
22
+ tagName: "cds-aichat-toolbar",
23
+ elementClass: CDSAIChatToolbar,
24
+ react: React,
25
+ }));
26
+
27
+ export { Toolbar as default };
28
+ //# sourceMappingURL=toolbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.js","sources":["../../src/react/toolbar.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,OAAO,GAAG,sBAAsB,CACpC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * React 19 + @lit/react stop reliably flushing props to custom elements in DOM shims (happy-dom/jsdom)
3
+ * because they lack property reflection and upgrade timing. Browsers are fine, but tests only pass string
4
+ * attributes so Lit never sees updated properties. This bridge mirrors every non-reserved prop onto the
5
+ * custom element instance so Lit receives the real values and behaves the same in shims and browsers until
6
+ * upstream fixes land.
7
+ *
8
+ * Set `AICHAT_DISABLE_WEB_COMPONENT_BRIDGE=true` to make this a no-op (handy for verifying whether the
9
+ * workaround is still required).
10
+ */
11
+ import React from "react";
12
+ /**
13
+ * Wrap a Lit `createComponent` result so that every prop is mirrored onto the underlying custom element as a property.
14
+ */
15
+ export declare function withWebComponentBridge<P extends Record<string, unknown>, E extends Element = HTMLElement>(Component: React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>;
@@ -0,0 +1,95 @@
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 { jsx } from 'react/jsx-runtime';
9
+ import React from 'react';
10
+
11
+ // React-managed props that should never be forwarded to the host element.
12
+ const REACT_RESERVED_PROPS = new Set([
13
+ "children",
14
+ "className",
15
+ "style",
16
+ "slot",
17
+ "key",
18
+ "ref",
19
+ "suppressContentEditableWarning",
20
+ "suppressHydrationWarning",
21
+ "dangerouslySetInnerHTML",
22
+ ]);
23
+ // Merge forwardedRef with our internal host ref so both the wrapper and callers observe the same element.
24
+ function mergeRefs(...refs) {
25
+ return (value) => {
26
+ // Propagate the element to every provided ref.
27
+ for (const ref of refs) {
28
+ if (!ref) {
29
+ continue;
30
+ }
31
+ // Support both callback refs and mutable ref objects.
32
+ if (typeof ref === "function") {
33
+ ref(value);
34
+ }
35
+ else {
36
+ ref.current = value;
37
+ }
38
+ }
39
+ };
40
+ }
41
+ /**
42
+ * Wrap a Lit `createComponent` result so that every prop is mirrored onto the underlying custom element as a property.
43
+ */
44
+ function withWebComponentBridge(Component) {
45
+ const Bridged = React.forwardRef((props, forwardedRef) => {
46
+ const hostRef = React.useRef(null);
47
+ const mergedRef = React.useMemo(() => mergeRefs(hostRef, forwardedRef), [forwardedRef]);
48
+ React.useLayoutEffect(() => {
49
+ const element = hostRef.current;
50
+ if (!element) {
51
+ return;
52
+ }
53
+ Object.entries(props).forEach(([key, value]) => {
54
+ if (REACT_RESERVED_PROPS.has(key)) {
55
+ return;
56
+ }
57
+ const isEventProp = key.startsWith("on") &&
58
+ key.length > 2 &&
59
+ key[2] === key[2].toUpperCase();
60
+ if (isEventProp) {
61
+ // @lit/react already wires events when the prop follows the onEvent
62
+ // convention. Avoid double-binding here.
63
+ return;
64
+ }
65
+ try {
66
+ // Prefer property assignment so Lit receives non-string values.
67
+ if (element[key] !== value) {
68
+ element[key] = value;
69
+ }
70
+ }
71
+ catch {
72
+ // Fallback to attribute updates when property writes fail (readonly or unsupported props).
73
+ if (value === null || value === undefined || value === false) {
74
+ element.removeAttribute(key);
75
+ }
76
+ else if (value === true) {
77
+ element.setAttribute(key, "");
78
+ }
79
+ else {
80
+ element.setAttribute(key, String(value));
81
+ }
82
+ }
83
+ });
84
+ }, [props]);
85
+ return jsx(Component, { ...props, ref: mergedRef });
86
+ });
87
+ Bridged.displayName =
88
+ Component.displayName ||
89
+ Component.name ||
90
+ "CarbonAIChatWebComponentWrapper";
91
+ return Bridged;
92
+ }
93
+
94
+ export { withWebComponentBridge };
95
+ //# sourceMappingURL=withWebComponentBridge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withWebComponentBridge.js","sources":["../../../src/react/utils/withWebComponentBridge.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;AAsBA;AACA,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAC;IACnC,UAAU;IACV,WAAW;IACX,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,gCAAgC;IAChC,0BAA0B;IAC1B,yBAAyB;AAC1B,CAAA,CAAC;AAEF;AACA,SAAS,SAAS,CAChB,GAAG,IAA4C,EAAA;IAE/C,OAAO,CAAC,KAAe,KAAI;;AAEzB,QAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,CAAC,GAAG,EAAE;gBACR;YACF;;AAEA,YAAA,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;gBAC7B,GAAG,CAAC,KAAK,CAAC;YACZ;iBAAO;AACJ,gBAAA,GAAwC,CAAC,OAAO,GAAG,KAAK;YAC3D;QACF;AACF,IAAA,CAAC;AACH;AAKA;;AAEG;AACG,SAAU,sBAAsB,CAIpC,SAEC,EAAA;IAOD,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAO,CAAC,KAAK,EAAE,YAAY,KAAI;QAC7D,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAW,IAAI,CAAC;QAC5C,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAC7B,MAAM,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,EACtC,CAAC,YAAY,CAAC,CACf;AAED,QAAA,KAAK,CAAC,eAAe,CAAC,MAAK;AACzB,YAAA,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO;YAC/B,IAAI,CAAC,OAAO,EAAE;gBACZ;YACF;AAEA,YAAA,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AAC7C,gBAAA,IAAI,oBAAoB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;oBACjC;gBACF;AAEA,gBAAA,MAAM,WAAW,GACf,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC;oBACpB,GAAG,CAAC,MAAM,GAAG,CAAC;oBACd,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;gBAEjC,IAAI,WAAW,EAAE;;;oBAGf;gBACF;AAEA,gBAAA,IAAI;;AAEF,oBAAA,IAAK,OAAe,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE;AAClC,wBAAA,OAAe,CAAC,GAAG,CAAC,GAAG,KAAK;oBAC/B;gBACF;AAAE,gBAAA,MAAM;;AAEN,oBAAA,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE;AAC5D,wBAAA,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC;oBAC9B;AAAO,yBAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AACzB,wBAAA,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,EAAE,CAAC;oBAC/B;yBAAO;wBACL,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;oBAC1C;gBACF;AACF,YAAA,CAAC,CAAC;AACJ,QAAA,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;QAEX,OAAOA,GAAA,CAAC,SAAS,EAAA,EAAA,GAAK,KAAK,EAAE,GAAG,EAAE,SAAS,EAAA,CAAI;AACjD,IAAA,CAAC,CAAC;AAEF,IAAA,OAAO,CAAC,WAAW;AACjB,QAAA,SAAS,CAAC,WAAW;AACrB,YAAA,SAAS,CAAC,IAAI;AACd,YAAA,iCAAiC;AAEnC,IAAA,OAAO,OAAO;AAChB;;;;"}
@@ -0,0 +1,10 @@
1
+ import { loadCodeSnippetDeps } from "../components/code-snippet/src/codemirror/codemirror-loader.js";
2
+ import { loadTableDeps } from "../components/table/src/table-loader.js";
3
+ /**
4
+ * Preloads all lazily loaded dependencies so test environments (like Jest)
5
+ * can ensure the heavy components are ready before rendering.
6
+ *
7
+ * Consumers can call this once during their test setup files.
8
+ */
9
+ export declare function loadAllLazyDeps(): Promise<void>;
10
+ export { loadCodeSnippetDeps, loadTableDeps };
@@ -0,0 +1,30 @@
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 { loadCodeSnippetDeps } from '../components/code-snippet/src/codemirror/codemirror-loader.js';
9
+ import { loadTableDeps } from '../components/table/src/table-loader.js';
10
+
11
+ /*
12
+ * Copyright IBM Corp. 2025
13
+ *
14
+ * This source code is licensed under the Apache-2.0 license found in the
15
+ * LICENSE file in the root directory of this source tree.
16
+ *
17
+ * @license
18
+ */
19
+ /**
20
+ * Preloads all lazily loaded dependencies so test environments (like Jest)
21
+ * can ensure the heavy components are ready before rendering.
22
+ *
23
+ * Consumers can call this once during their test setup files.
24
+ */
25
+ async function loadAllLazyDeps() {
26
+ await Promise.all([loadCodeSnippetDeps(), loadTableDeps()]);
27
+ }
28
+
29
+ export { loadAllLazyDeps, loadCodeSnippetDeps, loadTableDeps };
30
+ //# sourceMappingURL=load-all-lazy-deps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"load-all-lazy-deps.js","sources":["../../src/testing/load-all-lazy-deps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAKH;;;;;AAKG;AACI,eAAe,eAAe,GAAA;AACnC,IAAA,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,mBAAmB,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;AAC7D;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ai-chat-components",
3
3
  "description": "AI Chat Components",
4
- "version": "0.5.0",
4
+ "version": "0.6.0-rc.0",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "exports": {
17
17
  "./es/*": "./es/*",
18
+ "./es/globals/": "./es/globals/",
18
19
  "./dist/*": "./dist/*",
19
20
  "./custom-elements.json": "./custom-elements.json",
20
21
  "./package.json": "./package.json"
@@ -31,7 +32,7 @@
31
32
  "clean": "rimraf es dist storybook-static",
32
33
  "custom-elements": "cem analyze --config ./custom-elements-manifest.config.js",
33
34
  "postinstall": "ibmtelemetry --config=telemetry.yml",
34
- "start": "concurrently \"npm run storybook\" \"node tasks/build.js --watch\"",
35
+ "start": "concurrently \"npm run storybook\" \"npm run storybook:react\" \"node tasks/build.js --watch\"",
35
36
  "storybook": "npm run custom-elements && storybook dev -p 6006",
36
37
  "storybook:build": "npm run custom-elements && storybook build",
37
38
  "storybook:react": "storybook dev -p 7007 -c .storybook-react",
@@ -41,17 +42,49 @@
41
42
  "test:updateSnapshot": "web-test-runner \"src/components/**/*.test.ts\" --node-resolve --update-snapshots"
42
43
  },
43
44
  "dependencies": {
45
+ "@carbon/icon-helpers": "^10.47.0",
46
+ "@carbon/icons": "^11.53.0",
44
47
  "@carbon/styles": "^1.39.0",
45
48
  "@carbon/web-components": "^2.42.0",
49
+ "@codemirror/lang-angular": "^0.1.4",
50
+ "@codemirror/lang-cpp": "^6.0.3",
51
+ "@codemirror/lang-css": "^6.3.1",
52
+ "@codemirror/lang-go": "^6.0.1",
53
+ "@codemirror/lang-html": "^6.4.11",
54
+ "@codemirror/lang-java": "^6.0.2",
55
+ "@codemirror/lang-javascript": "^6.2.4",
56
+ "@codemirror/lang-jinja": "^6.0.0",
57
+ "@codemirror/lang-json": "^6.0.2",
58
+ "@codemirror/lang-less": "^6.0.2",
59
+ "@codemirror/lang-liquid": "^6.3.0",
60
+ "@codemirror/lang-markdown": "^6.5.0",
61
+ "@codemirror/lang-php": "^6.0.2",
62
+ "@codemirror/lang-python": "^6.2.1",
63
+ "@codemirror/lang-rust": "^6.0.2",
64
+ "@codemirror/lang-sass": "^6.0.2",
65
+ "@codemirror/lang-sql": "^6.10.0",
66
+ "@codemirror/lang-vue": "^0.1.3",
67
+ "@codemirror/lang-wast": "^6.0.2",
68
+ "@codemirror/lang-xml": "^6.1.0",
69
+ "@codemirror/lang-yaml": "^6.1.2",
70
+ "@codemirror/language": "^6.11.3",
71
+ "@codemirror/legacy-modes": "^6.5.2",
72
+ "@codemirror/state": "^6.5.2",
73
+ "@codemirror/view": "^6.38.5",
46
74
  "@ibm/telemetry-js": "^1.10.2",
75
+ "@lezer/highlight": "^1.1.6",
47
76
  "@lit/react": "^1.0.8",
48
- "lit": "^3.0.0",
77
+ "codemirror": "^6.0.2",
78
+ "csv-stringify": "^6.5.2",
79
+ "dompurify": "^3.1.6",
80
+ "lit": "^3.1.0",
49
81
  "lodash-es": "^4.17.0",
82
+ "markdown-it": "^14.1.0",
83
+ "program-language-detector": "^0.0.12",
50
84
  "tslib": "^2.6.3"
51
85
  },
52
86
  "devDependencies": {
53
87
  "@carbon/grid": "^11.20.0",
54
- "@carbon/icons": "^11.28.0",
55
88
  "@carbon/layout": "^11.19.0",
56
89
  "@carbon/themes": "^11.25.0",
57
90
  "@custom-elements-manifest/analyzer": "^0.11.0",
@@ -70,6 +103,7 @@
70
103
  "@storybook/react-vite": "^9.1.13",
71
104
  "@storybook/web-components-vite": "^9.1.8",
72
105
  "@types/jest": "^30.0.0",
106
+ "@types/markdown-it": "^14.1.2",
73
107
  "@web/dev-server": "0.4.6",
74
108
  "@web/dev-server-esbuild": "1.0.4",
75
109
  "@web/test-runner": "0.19.0",
@@ -91,5 +125,5 @@
91
125
  "vite": "^7.0.0",
92
126
  "web-dev-server-plugin-lit-css": "^4.0.0"
93
127
  },
94
- "gitHead": "777733162ea8b32241e716895ad443c2d32cb39b"
128
+ "gitHead": "a18306c1187835425f9eb444094a788a704b2008"
95
129
  }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- /**
10
- * @license
11
- *
12
- * This bundle contains the following third-party dependencies:
13
- *
14
- * Also refer to the following links for the license of other third-party dependencies:
15
- *
16
- * https://www.npmjs.com/package/tslib
17
- * https://www.npmjs.com/package/lit
18
- * https://www.npmjs.com/package/@carbon/web-components
19
- * https://www.npmjs.com/package/lit-html
20
- * https://www.npmjs.com/package/lit-element
21
- * https://www.npmjs.com/package/@lit/reactive-element
22
- */
23
-
24
- function e(e){return t=>"function"==typeof t?((e,t)=>{try{customElements.define(e,t)}catch(e){}return t})(e,t):((e,t)=>{const{kind:n,elements:c}=t;return{kind:n,elements:c,finisher(t){try{customElements.define(e,t)}catch(e){}}}})(e,t)}export{e as c};
@@ -1,39 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- /**
10
- * @license
11
- *
12
- * This bundle contains the following third-party dependencies:
13
- *
14
- * Also refer to the following links for the license of other third-party dependencies:
15
- *
16
- * https://www.npmjs.com/package/tslib
17
- * https://www.npmjs.com/package/lit
18
- * https://www.npmjs.com/package/@carbon/web-components
19
- * https://www.npmjs.com/package/lit-html
20
- * https://www.npmjs.com/package/lit-element
21
- * https://www.npmjs.com/package/@lit/reactive-element
22
- */
23
-
24
- import{f as t,u as e,T as s}from"./settings-XW6XylsZ.js";
25
- /**
26
- * @license
27
- * Copyright 2017 Google LLC
28
- * SPDX-License-Identifier: BSD-3-Clause
29
- */const r={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t},n=(t=r,e,s)=>{const{kind:n,metadata:i}=s;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),o.set(s.name,t),"accessor"===n){const{name:r}=s;return{set(s){const n=e.get.call(this);e.set.call(this,s),this.requestUpdate(r,n,t)},init(e){return void 0!==e&&this.C(r,void 0,t,e),e}}}if("setter"===n){const{name:r}=s;return function(s){const n=this[r];e.call(this,s),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+n)};function i(t){return(e,s)=>"object"==typeof s?n(t,e,s):((t,e,s)=>{const r=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),r?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}
30
- /**
31
- * @license
32
- * Copyright 2017 Google LLC
33
- * SPDX-License-Identifier: BSD-3-Clause
34
- */const o=1;class a{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
35
- /**
36
- * @license
37
- * Copyright 2018 Google LLC
38
- * SPDX-License-Identifier: BSD-3-Clause
39
- */const c=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends a{constructor(t){if(super(t),t.type!==o||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const s=!!e[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return s}});export{c as e,i as n};
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import { PropertyValues } from "lit";
10
- import chatButton from "./src/chat-button.template.js";
11
- /**
12
- * Component extending the @carbon/web-components' button
13
- */
14
- declare class ChatButton extends chatButton {
15
- /**
16
- * Specify whether the `ChatButton` should be rendered as a quick action button
17
- */
18
- isQuickAction: boolean;
19
- private readonly allowedSizes;
20
- protected willUpdate(changedProps: PropertyValues<this>): void;
21
- private _normalizeButtonState;
22
- }
23
- export default ChatButton;
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-button.js","sources":["../../../src/components/chat-button/chat-button.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAWH;;AAEG;AAEH,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU,CAAA;AAAnC,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAA,CAAA,aAAa,GAAG,KAAK;AAEJ,QAAA,IAAA,CAAA,YAAY,GAAkB;AAC7C,YAAA,WAAW,CAAC,KAAK;AACjB,YAAA,WAAW,CAAC,MAAM;AAClB,YAAA,WAAW,CAAC,KAAK;SAClB;IAuBH;AArBY,IAAA,UAAU,CAAC,YAAkC,EAAA;AACrD,QAAA,IAAI,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YACjE,IAAI,CAAC,qBAAqB,EAAE;QAC9B;IACF;IAEQ,qBAAqB,GAAA;AAC3B,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE;AACtB,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;AAC7B,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;YAC7B;QACF;;AAEA,QAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAmB,CAAC,EAAE;AACzD,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK;QAC/B;AAEA,QAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAmB,CAAC,EAAE;AAClE,YAAA,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,OAAO;QACjC;IACF;CACD;AA7BC,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AACnC,CAAA,EAAA,UAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AALlB,UAAU,GAAA,UAAA,CAAA;AADf,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,OAAA,CAAS;AAC3B,CAAA,EAAA,UAAU,CAkCf;AAED,mBAAe,UAAU;;;;"}
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import CDSButton from "@carbon/web-components/es/components/button/button.js";
10
- /**
11
- * Component extending the @carbon/web-components' button
12
- */
13
- declare class chatButton extends CDSButton {
14
- static styles: any;
15
- }
16
- export default chatButton;
@@ -1,27 +0,0 @@
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 CarbonButtonElement from '@carbon/web-components/es/components/button/button.js';
9
- import styles from './chat-button.scss.js';
10
-
11
- /**
12
- * @license
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
- /**
20
- * Component extending the @carbon/web-components' button
21
- */
22
- class chatButton extends CarbonButtonElement {
23
- }
24
- chatButton.styles = styles;
25
-
26
- export { chatButton as default };
27
- //# sourceMappingURL=chat-button.template.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-button.template.js","sources":["../../../../src/components/chat-button/src/chat-button.template.ts"],"sourcesContent":[null],"names":["CDSButton"],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAMH;;AAEG;AACH,MAAM,UAAW,SAAQA,mBAAS,CAAA;;AACzB,UAAA,CAAA,MAAM,GAAG,MAAM;;;;"}