@carbon/ai-chat-components 0.10.0 → 0.11.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 (461) hide show
  1. package/README.md +0 -3
  2. package/custom-elements.json +4827 -2917
  3. package/es/components/card/src/card-footer.d.ts +1 -1
  4. package/es/components/card/src/card-footer.js +2 -1
  5. package/es/components/card/src/card-footer.js.map +1 -1
  6. package/es/components/card/src/card-footer.scss.js +1 -1
  7. package/es/components/card/src/card-steps.d.ts +1 -1
  8. package/es/components/card/src/card-steps.js +2 -1
  9. package/es/components/card/src/card-steps.js.map +1 -1
  10. package/es/components/card/src/card-steps.scss.js +1 -1
  11. package/es/components/card/src/card.d.ts +1 -1
  12. package/es/components/card/src/card.js +2 -1
  13. package/es/components/card/src/card.js.map +1 -1
  14. package/es/components/card/src/card.scss.js +1 -1
  15. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +1 -1
  16. package/es/components/chain-of-thought/src/chain-of-thought-step.js +4 -5
  17. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  18. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +1 -1
  19. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +3 -3
  20. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  21. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +1 -1
  22. package/es/components/chain-of-thought/src/chain-of-thought.js +3 -2
  23. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  24. package/es/components/chain-of-thought/src/chain-of-thought.scss.js +1 -1
  25. package/es/components/chain-of-thought/src/tool-call-data.d.ts +1 -1
  26. package/es/components/chain-of-thought/src/tool-call-data.js +2 -1
  27. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  28. package/es/components/chat-button/src/chat-button.d.ts +2 -2
  29. package/es/components/chat-button/src/chat-button.js +3 -2
  30. package/es/components/chat-button/src/chat-button.js.map +1 -1
  31. package/es/components/chat-button/src/chat-button.scss.js +1 -1
  32. package/es/components/chat-shell/index.d.ts +2 -0
  33. package/es/components/chat-shell/index.js +1 -0
  34. package/es/components/chat-shell/index.js.map +1 -1
  35. package/es/components/chat-shell/src/aria-announcer-manager.d.ts +40 -0
  36. package/es/components/chat-shell/src/aria-announcer-manager.js +104 -0
  37. package/es/components/chat-shell/src/aria-announcer-manager.js.map +1 -0
  38. package/es/components/chat-shell/src/chat-header.d.ts +177 -0
  39. package/es/components/chat-shell/src/chat-header.js +415 -0
  40. package/es/components/chat-shell/src/chat-header.js.map +1 -0
  41. package/es/components/chat-shell/src/chat-header.scss.js +13 -0
  42. package/es/components/chat-shell/src/chat-header.scss.js.map +1 -0
  43. package/es/components/chat-shell/src/corner-manager.d.ts +35 -0
  44. package/es/components/chat-shell/src/corner-manager.js +87 -0
  45. package/es/components/chat-shell/src/corner-manager.js.map +1 -0
  46. package/es/components/chat-shell/src/initialization-manager.d.ts +44 -0
  47. package/es/components/chat-shell/src/initialization-manager.js +88 -0
  48. package/es/components/chat-shell/src/initialization-manager.js.map +1 -0
  49. package/es/components/chat-shell/src/panel.d.ts +14 -1
  50. package/es/components/chat-shell/src/panel.js +32 -4
  51. package/es/components/chat-shell/src/panel.js.map +1 -1
  52. package/es/components/chat-shell/src/panel.scss.js +1 -1
  53. package/es/components/chat-shell/src/resize-observer-manager.d.ts +55 -0
  54. package/es/components/chat-shell/src/resize-observer-manager.js +219 -0
  55. package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -0
  56. package/es/components/chat-shell/src/shell.d.ts +54 -21
  57. package/es/components/chat-shell/src/shell.js +297 -287
  58. package/es/components/chat-shell/src/shell.js.map +1 -1
  59. package/es/components/chat-shell/src/shell.scss.js +1 -1
  60. package/es/components/chat-shell/src/slot-observer.d.ts +53 -0
  61. package/es/components/chat-shell/src/slot-observer.js +156 -0
  62. package/es/components/chat-shell/src/slot-observer.js.map +1 -0
  63. package/es/components/chat-shell/src/types.d.ts +66 -0
  64. package/es/components/chat-shell/src/types.js +8 -0
  65. package/es/components/chat-shell/src/types.js.map +1 -0
  66. package/es/components/chat-shell/src/workspace-manager.d.ts +12 -1
  67. package/es/components/chat-shell/src/workspace-manager.js +42 -2
  68. package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
  69. package/es/components/code-snippet/index.d.ts +3 -2
  70. package/es/components/code-snippet/index.js +1 -1
  71. package/es/components/code-snippet/src/code-snippet.d.ts +58 -15
  72. package/es/components/code-snippet/src/code-snippet.js +261 -95
  73. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  74. package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
  75. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -1
  76. package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +1 -1
  77. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -2
  78. package/es/components/code-snippet/src/codemirror/editor-manager.js +18 -3
  79. package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -1
  80. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -0
  81. package/es/components/code-snippet/src/codemirror/language-controller.js +11 -5
  82. package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -1
  83. package/es/components/code-snippet/src/codemirror/marker-utils.js +2 -1
  84. package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -1
  85. package/es/components/code-snippet/src/codemirror/theme.d.ts +12 -0
  86. package/es/components/code-snippet/src/codemirror/theme.js +26 -2
  87. package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
  88. package/es/components/code-snippet/src/dom-utils.d.ts +1 -0
  89. package/es/components/code-snippet/src/dom-utils.js +12 -1
  90. package/es/components/code-snippet/src/dom-utils.js.map +1 -1
  91. package/es/components/code-snippet/src/layout-utils.d.ts +9 -1
  92. package/es/components/code-snippet/src/layout-utils.js +21 -16
  93. package/es/components/code-snippet/src/layout-utils.js.map +1 -1
  94. package/es/components/code-snippet/src/streaming-manager.js +7 -0
  95. package/es/components/code-snippet/src/streaming-manager.js.map +1 -1
  96. package/es/components/feedback/src/feedback-buttons.d.ts +2 -0
  97. package/es/components/feedback/src/feedback-buttons.js +65 -3
  98. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  99. package/es/components/feedback/src/feedback-buttons.scss.js +13 -0
  100. package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -0
  101. package/es/components/feedback/src/feedback.d.ts +20 -10
  102. package/es/components/feedback/src/feedback.js +114 -20
  103. package/es/components/feedback/src/feedback.js.map +1 -1
  104. package/es/components/feedback/src/feedback.scss.js +1 -1
  105. package/es/components/markdown/src/markdown-renderer.d.ts +31 -21
  106. package/es/components/markdown/src/markdown-renderer.js +57 -48
  107. package/es/components/markdown/src/markdown-renderer.js.map +1 -1
  108. package/es/components/markdown/src/markdown.d.ts +34 -31
  109. package/es/components/markdown/src/markdown.js +221 -138
  110. package/es/components/markdown/src/markdown.js.map +1 -1
  111. package/es/components/markdown/src/markdown.scss.js +1 -1
  112. package/es/components/markdown/src/markdown.template.js +1 -1
  113. package/es/components/markdown/src/utils.d.ts +0 -4
  114. package/es/components/markdown/src/utils.js +1 -7
  115. package/es/components/markdown/src/utils.js.map +1 -1
  116. package/es/components/processing/src/processing.d.ts +1 -1
  117. package/es/components/processing/src/processing.js +2 -1
  118. package/es/components/processing/src/processing.js.map +1 -1
  119. package/es/components/processing/src/processing.scss.js +1 -1
  120. package/es/components/reasoning-steps/src/reasoning-step.d.ts +1 -1
  121. package/es/components/reasoning-steps/src/reasoning-step.js +2 -1
  122. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  123. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +1 -1
  124. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +27 -4
  125. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  126. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +1 -1
  127. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +1 -1
  128. package/es/components/reasoning-steps/src/reasoning-steps.js +3 -5
  129. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  130. package/es/components/table/src/table-pagination.template.js +3 -2
  131. package/es/components/table/src/table-pagination.template.js.map +1 -1
  132. package/es/components/table/src/table-skeleton.template.js +8 -6
  133. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  134. package/es/components/table/src/table.d.ts +29 -3
  135. package/es/components/table/src/table.js +99 -6
  136. package/es/components/table/src/table.js.map +1 -1
  137. package/es/components/table/src/table.scss.js +1 -1
  138. package/es/components/table/src/table.template.js +11 -2
  139. package/es/components/table/src/table.template.js.map +1 -1
  140. package/es/components/toolbar/src/toolbar.d.ts +32 -5
  141. package/es/components/toolbar/src/toolbar.js +111 -47
  142. package/es/components/toolbar/src/toolbar.js.map +1 -1
  143. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  144. package/es/components/truncated-text/index.d.ts +9 -0
  145. package/es/components/truncated-text/index.js +9 -0
  146. package/es/components/truncated-text/index.js.map +1 -0
  147. package/es/components/truncated-text/src/truncated-text.d.ts +81 -0
  148. package/es/components/truncated-text/src/truncated-text.js +282 -0
  149. package/es/components/truncated-text/src/truncated-text.js.map +1 -0
  150. package/es/components/truncated-text/src/truncated-text.scss.js +13 -0
  151. package/es/components/truncated-text/src/truncated-text.scss.js.map +1 -0
  152. package/es/components/workspace-shell/src/header-collapsible-manager.d.ts +77 -0
  153. package/es/components/workspace-shell/src/header-collapsible-manager.js +223 -0
  154. package/es/components/workspace-shell/src/header-collapsible-manager.js.map +1 -0
  155. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  156. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -1
  157. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  158. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +1 -3
  159. package/es/components/workspace-shell/src/workspace-shell-footer.js +8 -6
  160. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  161. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  162. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +11 -1
  163. package/es/components/workspace-shell/src/workspace-shell-header.js +88 -14
  164. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  165. package/es/components/workspace-shell/src/workspace-shell-header.scss.js +1 -1
  166. package/es/components/workspace-shell/src/workspace-shell.d.ts +16 -2
  167. package/es/components/workspace-shell/src/workspace-shell.js +77 -7
  168. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
  169. package/es/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  170. package/es/globals/scss/common.scss.js +13 -0
  171. package/es/globals/scss/common.scss.js.map +1 -0
  172. package/es/globals/utils/focus-utils.d.ts +57 -0
  173. package/es/globals/utils/focus-utils.js +180 -0
  174. package/es/globals/utils/focus-utils.js.map +1 -0
  175. package/es/react/card.d.ts +3 -6
  176. package/es/react/chain-of-thought-step.d.ts +1 -2
  177. package/es/react/chain-of-thought-toggle.d.ts +1 -2
  178. package/es/react/chain-of-thought.d.ts +1 -2
  179. package/es/react/chat-button.d.ts +2 -2
  180. package/es/react/chat-button.js +1 -1
  181. package/es/react/chat-header.d.ts +73 -0
  182. package/es/react/chat-header.js +55 -0
  183. package/es/react/chat-header.js.map +1 -0
  184. package/es/react/chat-shell.d.ts +1 -2
  185. package/es/react/code-snippet.d.ts +35 -2
  186. package/es/react/code-snippet.js +65 -9
  187. package/es/react/code-snippet.js.map +1 -1
  188. package/es/react/feedback-buttons.d.ts +1 -2
  189. package/es/react/feedback.d.ts +1 -2
  190. package/es/react/markdown.d.ts +1 -2
  191. package/es/react/markdown.js +11 -1
  192. package/es/react/markdown.js.map +1 -1
  193. package/es/react/panel.d.ts +1 -2
  194. package/es/react/processing.d.ts +1 -2
  195. package/es/react/reasoning-step.d.ts +1 -2
  196. package/es/react/reasoning-steps-toggle.d.ts +1 -2
  197. package/es/react/reasoning-steps.d.ts +1 -2
  198. package/es/react/tool-call-data.d.ts +1 -2
  199. package/es/react/toolbar.d.ts +14 -10
  200. package/es/react/toolbar.js +2 -0
  201. package/es/react/toolbar.js.map +1 -1
  202. package/es/react/utils/withWebComponentBridge.d.ts +5 -2
  203. package/es/react/utils/withWebComponentBridge.js +49 -1
  204. package/es/react/utils/withWebComponentBridge.js.map +1 -1
  205. package/es/react/workspace-shell.d.ts +4 -8
  206. package/es/testing/PageObjectId.d.ts +22 -0
  207. package/es/testing/PageObjectId.js +38 -0
  208. package/es/testing/PageObjectId.js.map +1 -0
  209. package/es/typings/overflow-menu.d.ts +30 -0
  210. package/es/typings/overflow-menu.js +8 -0
  211. package/es/typings/overflow-menu.js.map +1 -0
  212. package/es-custom/components/card/src/card-footer.d.ts +1 -1
  213. package/es-custom/components/card/src/card-footer.js +2 -1
  214. package/es-custom/components/card/src/card-footer.js.map +1 -1
  215. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  216. package/es-custom/components/card/src/card-steps.d.ts +1 -1
  217. package/es-custom/components/card/src/card-steps.js +2 -1
  218. package/es-custom/components/card/src/card-steps.js.map +1 -1
  219. package/es-custom/components/card/src/card-steps.scss.js +1 -1
  220. package/es-custom/components/card/src/card.d.ts +1 -1
  221. package/es-custom/components/card/src/card.js +2 -1
  222. package/es-custom/components/card/src/card.js.map +1 -1
  223. package/es-custom/components/card/src/card.scss.js +1 -1
  224. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +1 -1
  225. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +4 -5
  226. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  227. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +1 -1
  228. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +3 -3
  229. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  230. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +1 -1
  231. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +3 -2
  232. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  233. package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +1 -1
  234. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +1 -1
  235. package/es-custom/components/chain-of-thought/src/tool-call-data.js +2 -1
  236. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  237. package/es-custom/components/chat-button/src/chat-button.d.ts +2 -2
  238. package/es-custom/components/chat-button/src/chat-button.js +3 -2
  239. package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
  240. package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
  241. package/es-custom/components/chat-shell/index.d.ts +2 -0
  242. package/es-custom/components/chat-shell/index.js +1 -0
  243. package/es-custom/components/chat-shell/index.js.map +1 -1
  244. package/es-custom/components/chat-shell/src/aria-announcer-manager.d.ts +40 -0
  245. package/es-custom/components/chat-shell/src/aria-announcer-manager.js +104 -0
  246. package/es-custom/components/chat-shell/src/aria-announcer-manager.js.map +1 -0
  247. package/es-custom/components/chat-shell/src/chat-header.d.ts +177 -0
  248. package/es-custom/components/chat-shell/src/chat-header.js +415 -0
  249. package/es-custom/components/chat-shell/src/chat-header.js.map +1 -0
  250. package/es-custom/components/chat-shell/src/chat-header.scss.js +13 -0
  251. package/es-custom/components/chat-shell/src/chat-header.scss.js.map +1 -0
  252. package/es-custom/components/chat-shell/src/corner-manager.d.ts +35 -0
  253. package/es-custom/components/chat-shell/src/corner-manager.js +87 -0
  254. package/es-custom/components/chat-shell/src/corner-manager.js.map +1 -0
  255. package/es-custom/components/chat-shell/src/initialization-manager.d.ts +44 -0
  256. package/es-custom/components/chat-shell/src/initialization-manager.js +88 -0
  257. package/es-custom/components/chat-shell/src/initialization-manager.js.map +1 -0
  258. package/es-custom/components/chat-shell/src/panel.d.ts +14 -1
  259. package/es-custom/components/chat-shell/src/panel.js +32 -4
  260. package/es-custom/components/chat-shell/src/panel.js.map +1 -1
  261. package/es-custom/components/chat-shell/src/panel.scss.js +1 -1
  262. package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +55 -0
  263. package/es-custom/components/chat-shell/src/resize-observer-manager.js +219 -0
  264. package/es-custom/components/chat-shell/src/resize-observer-manager.js.map +1 -0
  265. package/es-custom/components/chat-shell/src/shell.d.ts +54 -21
  266. package/es-custom/components/chat-shell/src/shell.js +297 -287
  267. package/es-custom/components/chat-shell/src/shell.js.map +1 -1
  268. package/es-custom/components/chat-shell/src/shell.scss.js +1 -1
  269. package/es-custom/components/chat-shell/src/slot-observer.d.ts +53 -0
  270. package/es-custom/components/chat-shell/src/slot-observer.js +156 -0
  271. package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -0
  272. package/es-custom/components/chat-shell/src/types.d.ts +66 -0
  273. package/es-custom/components/chat-shell/src/types.js +8 -0
  274. package/es-custom/components/chat-shell/src/types.js.map +1 -0
  275. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +12 -1
  276. package/es-custom/components/chat-shell/src/workspace-manager.js +42 -2
  277. package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -1
  278. package/es-custom/components/code-snippet/index.d.ts +3 -2
  279. package/es-custom/components/code-snippet/index.js +1 -1
  280. package/es-custom/components/code-snippet/src/code-snippet.d.ts +58 -15
  281. package/es-custom/components/code-snippet/src/code-snippet.js +261 -95
  282. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  283. package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
  284. package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -1
  285. package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.js +1 -1
  286. package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -2
  287. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +18 -3
  288. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +1 -1
  289. package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +1 -0
  290. package/es-custom/components/code-snippet/src/codemirror/language-controller.js +11 -5
  291. package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +1 -1
  292. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +2 -1
  293. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +1 -1
  294. package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +12 -0
  295. package/es-custom/components/code-snippet/src/codemirror/theme.js +26 -2
  296. package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -1
  297. package/es-custom/components/code-snippet/src/dom-utils.d.ts +1 -0
  298. package/es-custom/components/code-snippet/src/dom-utils.js +12 -1
  299. package/es-custom/components/code-snippet/src/dom-utils.js.map +1 -1
  300. package/es-custom/components/code-snippet/src/layout-utils.d.ts +9 -1
  301. package/es-custom/components/code-snippet/src/layout-utils.js +21 -16
  302. package/es-custom/components/code-snippet/src/layout-utils.js.map +1 -1
  303. package/es-custom/components/code-snippet/src/streaming-manager.js +7 -0
  304. package/es-custom/components/code-snippet/src/streaming-manager.js.map +1 -1
  305. package/es-custom/components/feedback/src/feedback-buttons.d.ts +2 -0
  306. package/es-custom/components/feedback/src/feedback-buttons.js +65 -3
  307. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  308. package/es-custom/components/feedback/src/feedback-buttons.scss.js +13 -0
  309. package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +1 -0
  310. package/es-custom/components/feedback/src/feedback.d.ts +20 -10
  311. package/es-custom/components/feedback/src/feedback.js +114 -20
  312. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  313. package/es-custom/components/feedback/src/feedback.scss.js +1 -1
  314. package/es-custom/components/markdown/src/markdown-renderer.d.ts +31 -21
  315. package/es-custom/components/markdown/src/markdown-renderer.js +57 -48
  316. package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
  317. package/es-custom/components/markdown/src/markdown.d.ts +34 -31
  318. package/es-custom/components/markdown/src/markdown.js +221 -138
  319. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  320. package/es-custom/components/markdown/src/markdown.scss.js +1 -1
  321. package/es-custom/components/markdown/src/markdown.template.js +1 -1
  322. package/es-custom/components/markdown/src/utils.d.ts +0 -4
  323. package/es-custom/components/markdown/src/utils.js +1 -7
  324. package/es-custom/components/markdown/src/utils.js.map +1 -1
  325. package/es-custom/components/processing/src/processing.d.ts +1 -1
  326. package/es-custom/components/processing/src/processing.js +2 -1
  327. package/es-custom/components/processing/src/processing.js.map +1 -1
  328. package/es-custom/components/processing/src/processing.scss.js +1 -1
  329. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +1 -1
  330. package/es-custom/components/reasoning-steps/src/reasoning-step.js +2 -1
  331. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  332. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +1 -1
  333. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +27 -4
  334. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  335. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +1 -1
  336. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +1 -1
  337. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +3 -5
  338. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  339. package/es-custom/components/table/src/table-pagination.template.js +3 -2
  340. package/es-custom/components/table/src/table-pagination.template.js.map +1 -1
  341. package/es-custom/components/table/src/table-skeleton.template.js +8 -6
  342. package/es-custom/components/table/src/table-skeleton.template.js.map +1 -1
  343. package/es-custom/components/table/src/table.d.ts +29 -3
  344. package/es-custom/components/table/src/table.js +99 -6
  345. package/es-custom/components/table/src/table.js.map +1 -1
  346. package/es-custom/components/table/src/table.scss.js +1 -1
  347. package/es-custom/components/table/src/table.template.js +11 -2
  348. package/es-custom/components/table/src/table.template.js.map +1 -1
  349. package/es-custom/components/toolbar/src/toolbar.d.ts +32 -5
  350. package/es-custom/components/toolbar/src/toolbar.js +111 -47
  351. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  352. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  353. package/es-custom/components/truncated-text/index.d.ts +9 -0
  354. package/es-custom/components/truncated-text/index.js +9 -0
  355. package/es-custom/components/truncated-text/index.js.map +1 -0
  356. package/es-custom/components/truncated-text/src/truncated-text.d.ts +81 -0
  357. package/es-custom/components/truncated-text/src/truncated-text.js +282 -0
  358. package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -0
  359. package/es-custom/components/truncated-text/src/truncated-text.scss.js +13 -0
  360. package/es-custom/components/truncated-text/src/truncated-text.scss.js.map +1 -0
  361. package/es-custom/components/workspace-shell/src/header-collapsible-manager.d.ts +77 -0
  362. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +223 -0
  363. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js.map +1 -0
  364. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  365. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -1
  366. package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  367. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +1 -3
  368. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +8 -6
  369. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  370. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  371. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +11 -1
  372. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +88 -14
  373. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  374. package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +1 -1
  375. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +16 -2
  376. package/es-custom/components/workspace-shell/src/workspace-shell.js +77 -7
  377. package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -1
  378. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  379. package/es-custom/globals/scss/common.scss.js +13 -0
  380. package/es-custom/globals/scss/common.scss.js.map +1 -0
  381. package/es-custom/globals/utils/focus-utils.d.ts +57 -0
  382. package/es-custom/globals/utils/focus-utils.js +180 -0
  383. package/es-custom/globals/utils/focus-utils.js.map +1 -0
  384. package/es-custom/react/card.d.ts +3 -6
  385. package/es-custom/react/chain-of-thought-step.d.ts +1 -2
  386. package/es-custom/react/chain-of-thought-toggle.d.ts +1 -2
  387. package/es-custom/react/chain-of-thought.d.ts +1 -2
  388. package/es-custom/react/chat-button.d.ts +2 -2
  389. package/es-custom/react/chat-button.js +1 -1
  390. package/es-custom/react/chat-header.d.ts +73 -0
  391. package/es-custom/react/chat-header.js +55 -0
  392. package/es-custom/react/chat-header.js.map +1 -0
  393. package/es-custom/react/chat-shell.d.ts +1 -2
  394. package/es-custom/react/code-snippet.d.ts +35 -2
  395. package/es-custom/react/code-snippet.js +65 -9
  396. package/es-custom/react/code-snippet.js.map +1 -1
  397. package/es-custom/react/feedback-buttons.d.ts +1 -2
  398. package/es-custom/react/feedback.d.ts +1 -2
  399. package/es-custom/react/markdown.d.ts +1 -2
  400. package/es-custom/react/markdown.js +11 -1
  401. package/es-custom/react/markdown.js.map +1 -1
  402. package/es-custom/react/panel.d.ts +1 -2
  403. package/es-custom/react/processing.d.ts +1 -2
  404. package/es-custom/react/reasoning-step.d.ts +1 -2
  405. package/es-custom/react/reasoning-steps-toggle.d.ts +1 -2
  406. package/es-custom/react/reasoning-steps.d.ts +1 -2
  407. package/es-custom/react/tool-call-data.d.ts +1 -2
  408. package/es-custom/react/toolbar.d.ts +14 -10
  409. package/es-custom/react/toolbar.js +2 -0
  410. package/es-custom/react/toolbar.js.map +1 -1
  411. package/es-custom/react/utils/withWebComponentBridge.d.ts +5 -2
  412. package/es-custom/react/utils/withWebComponentBridge.js +49 -1
  413. package/es-custom/react/utils/withWebComponentBridge.js.map +1 -1
  414. package/es-custom/react/workspace-shell.d.ts +4 -8
  415. package/es-custom/testing/PageObjectId.d.ts +22 -0
  416. package/es-custom/testing/PageObjectId.js +38 -0
  417. package/es-custom/testing/PageObjectId.js.map +1 -0
  418. package/es-custom/typings/overflow-menu.d.ts +30 -0
  419. package/es-custom/typings/overflow-menu.js +8 -0
  420. package/es-custom/typings/overflow-menu.js.map +1 -0
  421. package/package.json +6 -4
  422. package/scss/_custom-properties.scss +70 -0
  423. package/scss/_modifiers.scss +231 -0
  424. package/scss/_tokens-component.scss +30 -0
  425. package/scss/_tokens-layout.scss +29 -0
  426. package/scss/_utilities.scss +32 -0
  427. package/scss/common.scss +150 -0
  428. package/scss/grid.scss +11 -0
  429. package/scss/themes.scss +33 -0
  430. package/scss/vars.scss +12 -0
  431. package/telemetry.yml +73 -33
  432. package/es/components/code-snippet/src/code-snippet-card.d.ts +0 -63
  433. package/es/components/code-snippet/src/code-snippet-card.js +0 -187
  434. package/es/components/code-snippet/src/code-snippet-card.js.map +0 -1
  435. package/es/components/feedback/src/feedback-buttons.template.d.ts +0 -4
  436. package/es/components/feedback/src/feedback-buttons.template.js +0 -79
  437. package/es/components/feedback/src/feedback-buttons.template.js.map +0 -1
  438. package/es/components/feedback/src/feedback.template.d.ts +0 -12
  439. package/es/components/feedback/src/feedback.template.js +0 -115
  440. package/es/components/feedback/src/feedback.template.js.map +0 -1
  441. package/es/components/reasoning-steps/src/reasoning-steps-toggle.template.d.ts +0 -3
  442. package/es/components/reasoning-steps/src/reasoning-steps-toggle.template.js +0 -43
  443. package/es/components/reasoning-steps/src/reasoning-steps-toggle.template.js.map +0 -1
  444. package/es/react/code-snippet-card.d.ts +0 -4
  445. package/es/react/code-snippet-card.js +0 -31
  446. package/es/react/code-snippet-card.js.map +0 -1
  447. package/es-custom/components/code-snippet/src/code-snippet-card.d.ts +0 -63
  448. package/es-custom/components/code-snippet/src/code-snippet-card.js +0 -187
  449. package/es-custom/components/code-snippet/src/code-snippet-card.js.map +0 -1
  450. package/es-custom/components/feedback/src/feedback-buttons.template.d.ts +0 -4
  451. package/es-custom/components/feedback/src/feedback-buttons.template.js +0 -79
  452. package/es-custom/components/feedback/src/feedback-buttons.template.js.map +0 -1
  453. package/es-custom/components/feedback/src/feedback.template.d.ts +0 -12
  454. package/es-custom/components/feedback/src/feedback.template.js +0 -115
  455. package/es-custom/components/feedback/src/feedback.template.js.map +0 -1
  456. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.d.ts +0 -3
  457. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js +0 -43
  458. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js.map +0 -1
  459. package/es-custom/react/code-snippet-card.d.ts +0 -4
  460. package/es-custom/react/code-snippet-card.js +0 -31
  461. package/es-custom/react/code-snippet-card.js.map +0 -1
@@ -0,0 +1,70 @@
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
+ // CSS Custom Properties for AI Chat Components
9
+ // This file exports all tokens as CSS custom properties that can be customized by consumers
10
+
11
+ @use "./utilities" as utilities;
12
+ @use "./tokens-layout" as layout;
13
+ @use "./tokens-component" as component;
14
+
15
+ // ============================================================================
16
+ // CSS Custom Properties Export
17
+ // ============================================================================
18
+ // These are the public API for customizing AI Chat Components
19
+ // All properties use the --cds-aichat-* prefix
20
+ :root {
21
+ // Layout tokens
22
+ @include utilities.declaration(
23
+ "messages-max-width",
24
+ layout.$messages-max-width
25
+ );
26
+ @include utilities.declaration(
27
+ "messages-min-width",
28
+ layout.$messages-min-width
29
+ );
30
+ @include utilities.declaration(
31
+ "workspace-min-width",
32
+ layout.$workspace-min-width
33
+ );
34
+ @include utilities.declaration("history-width", layout.$history-width);
35
+ @include utilities.declaration("card-max-width", layout.$card-max-width);
36
+
37
+ // Component tokens
38
+ @include utilities.declaration("border-radius", component.$border-radius);
39
+ @include utilities.declaration(
40
+ "card-border-radius",
41
+ component.$card-border-radius
42
+ );
43
+ @include utilities.declaration("border-radius", component.$border-radius);
44
+ @include utilities.declaration(
45
+ "border-radius-start-start",
46
+ component.$border-radius-start-start
47
+ );
48
+ @include utilities.declaration(
49
+ "border-radius-start-end",
50
+ component.$border-radius-start-end
51
+ );
52
+ @include utilities.declaration(
53
+ "border-radius-end-start",
54
+ component.$border-radius-end-start
55
+ );
56
+ @include utilities.declaration(
57
+ "border-radius-end-end",
58
+ component.$border-radius-end-end
59
+ );
60
+ }
61
+
62
+ // ============================================================================
63
+ // Internal/Computed Properties (Documentation Only)
64
+ // ============================================================================
65
+ // These properties are set at runtime by JavaScript and should not be defined here:
66
+ // - --cds-aichat-header-height: Set dynamically by chat-shell component based on header size
67
+ // - --cds-aichat-scrollbar-width: May be set dynamically based on browser scrollbar width
68
+ // - --cds-aichat-homescreen-starter-index: Set per-element for staggered animations
69
+
70
+ // Made with Bob
@@ -0,0 +1,231 @@
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
+ @use "@carbon/layout";
9
+ @use "@carbon/styles/scss/theme";
10
+ @use "@carbon/styles/scss/utilities/convert" as *;
11
+ @use "./vars" as *;
12
+
13
+ // Note: This file is utilized at multiple places. please ensure changes here
14
+ // are compatible across all usages. since these modifiers are built with DRY principles,
15
+ // any changes here will affect all components that use these mixins.
16
+
17
+ /* ----- HELPERS ----- */
18
+ @mixin host-and-attr($selector) {
19
+ :host(#{$selector}),
20
+ #{$selector} {
21
+ @content;
22
+ }
23
+ }
24
+
25
+ @mixin radius($positions...) {
26
+ @each $pos in $positions {
27
+ border-#{$pos}-radius: calc(
28
+ var(
29
+ --#{$prefix}-border-radius-#{$pos},
30
+ var(--#{$prefix}-border-radius)
31
+ ) - rem(1px)
32
+ );
33
+ }
34
+ }
35
+
36
+ /* ----- SHARED CHILD + BUTTON ROUNDING ----- */
37
+ @mixin round-child($selector, $positions...) {
38
+ > #{$selector} {
39
+ @include radius($positions...);
40
+
41
+ &::part(button) {
42
+ @include radius($positions...);
43
+ }
44
+ }
45
+ }
46
+
47
+ /* ----- ROUNDED MODIFIERS ----- */
48
+
49
+ /* ----- BASE (HOST-LEVEL ROUNDING) ----- */
50
+ @mixin rounded-base {
51
+ @include host-and-attr('[data-rounded=""]') {
52
+ @include rounded-self;
53
+
54
+ &::part(link),
55
+ &::part(button) {
56
+ @include rounded-self;
57
+
58
+ outline-offset: rem(-1px);
59
+ }
60
+
61
+ > :only-child {
62
+ @include rounded-self;
63
+ }
64
+ }
65
+ }
66
+
67
+ /* ----- HOST-ONLY POSITIONAL ROUNDING ----- */
68
+ $rounded-host-map: (
69
+ top: (
70
+ start-start,
71
+ start-end,
72
+ ),
73
+ top-left: (
74
+ start-start,
75
+ ),
76
+ top-right: (
77
+ start-end,
78
+ ),
79
+ bottom: (
80
+ end-start,
81
+ end-end,
82
+ ),
83
+ bottom-left: (
84
+ end-start,
85
+ ),
86
+ bottom-right: (
87
+ end-end,
88
+ ),
89
+ );
90
+
91
+ @mixin rounded-host-positions {
92
+ @each $key, $positions in $rounded-host-map {
93
+ @include host-and-attr('[data-rounded="#{$key}"]') {
94
+ @include radius($positions...);
95
+ }
96
+ }
97
+ }
98
+
99
+ @mixin rounded-self {
100
+ @each $key, $positions in $rounded-host-map {
101
+ @include radius($positions...);
102
+ }
103
+ }
104
+
105
+ /* ----- NON-STACKED CHILDREN ROUNDING ----- */
106
+ $non-stacked-map: (
107
+ top: (
108
+ first: (
109
+ start-start,
110
+ ),
111
+ last: (
112
+ start-end,
113
+ ),
114
+ ),
115
+ top-left: (
116
+ first: (
117
+ start-start,
118
+ ),
119
+ ),
120
+ top-right: (
121
+ last: (
122
+ start-end,
123
+ ),
124
+ ),
125
+ bottom: (
126
+ first: (
127
+ end-start,
128
+ ),
129
+ last: (
130
+ end-end,
131
+ ),
132
+ ),
133
+ bottom-left: (
134
+ first: (
135
+ end-start,
136
+ ),
137
+ ),
138
+ bottom-right: (
139
+ last: (
140
+ end-end,
141
+ ),
142
+ ),
143
+ );
144
+
145
+ @mixin rounded-non-stacked {
146
+ @each $key, $children in $non-stacked-map {
147
+ @include host-and-attr('[data-rounded="#{$key}"]:not([data-stacked])') {
148
+ @each $pos, $radius in $children {
149
+ @include round-child(":#{$pos}-child", $radius...);
150
+ }
151
+ }
152
+ }
153
+ }
154
+
155
+ /* ----- STACKED CHILDREN ROUNDING ----- */
156
+ $stacked-map: (
157
+ top: (
158
+ first: (
159
+ start-start,
160
+ start-end,
161
+ ),
162
+ ),
163
+ top-right: (
164
+ first: (
165
+ start-end,
166
+ ),
167
+ ),
168
+ top-left: (
169
+ first: (
170
+ start-start,
171
+ ),
172
+ ),
173
+ bottom: (
174
+ last: (
175
+ end-start,
176
+ end-end,
177
+ ),
178
+ ),
179
+ bottom-right: (
180
+ last: (
181
+ end-end,
182
+ ),
183
+ ),
184
+ bottom-left: (
185
+ last: (
186
+ end-start,
187
+ ),
188
+ ),
189
+ );
190
+
191
+ @mixin rounded-stacked {
192
+ @each $key, $children in $stacked-map {
193
+ @include host-and-attr('[data-rounded="#{$key}"][data-stacked]') {
194
+ @each $pos, $radius in $children {
195
+ @include round-child(":#{$pos}-child", $radius...);
196
+ }
197
+ }
198
+ }
199
+ }
200
+
201
+ /* ----- PUBLIC ROUNDED MODIFIERS ENTRY POINT ----- */
202
+ @mixin rounded-modifiers {
203
+ @include rounded-base;
204
+ @include rounded-host-positions;
205
+ @include rounded-non-stacked;
206
+ @include rounded-stacked;
207
+ }
208
+
209
+ /* ----- LAYOUT MODIFIERS ----- */
210
+ @mixin stacked-modifiers {
211
+ @include host-and-attr("[data-stacked]") {
212
+ display: flex;
213
+ flex-direction: column;
214
+ }
215
+ }
216
+
217
+ @mixin flush-modifiers {
218
+ @include host-and-attr('[data-flush=""]') {
219
+ margin: calc(-1 * layout.$spacing-05);
220
+ }
221
+
222
+ @include host-and-attr('[data-flush="top"]') {
223
+ margin-block-start: calc(-1 * layout.$spacing-05);
224
+ margin-inline: calc(-1 * layout.$spacing-05);
225
+ }
226
+
227
+ @include host-and-attr('[data-flush="bottom"]') {
228
+ margin-block-end: calc(-1 * layout.$spacing-05);
229
+ margin-inline: calc(-1 * layout.$spacing-05);
230
+ }
231
+ }
@@ -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
+ // Component tokens for AI Chat Components
9
+ // These control component-specific styling like borders, radii, and typography
10
+
11
+ @use "@carbon/layout";
12
+
13
+ // ============================================================================
14
+ // Component Tokens - Public Configurable
15
+ // ============================================================================
16
+ // These tokens can be customized by developers to adjust component appearance
17
+
18
+ // Border radius tokens
19
+ $border-radius: 0 !default;
20
+ $card-border-radius: layout.$spacing-03 !default;
21
+
22
+ // Rounded modifier radius tokens
23
+ // These are used by the data-rounded modifier system to apply contextual rounding
24
+ $border-radius: layout.$spacing-03 !default;
25
+ $border-radius-start-start: layout.$spacing-03 !default;
26
+ $border-radius-start-end: layout.$spacing-03 !default;
27
+ $border-radius-end-start: layout.$spacing-03 !default;
28
+ $border-radius-end-end: layout.$spacing-03 !default;
29
+
30
+ // Made with Bob
@@ -0,0 +1,29 @@
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
+ // Layout tokens for AI Chat Components
9
+ // These control structural layout, spacing, and sizing across components
10
+
11
+ @use "@carbon/layout";
12
+
13
+ // ============================================================================
14
+ // Layout Tokens - Public Configurable
15
+ // ============================================================================
16
+ // These tokens can be customized by developers to adjust layout dimensions
17
+
18
+ // Messages area width constraints
19
+ $messages-max-width: 672px !default;
20
+ $messages-min-width: 320px !default;
21
+
22
+ // Workspace and history panel widths
23
+ $workspace-min-width: 480px !default;
24
+ $history-width: 320px !default;
25
+
26
+ // Card sizing
27
+ $card-max-width: 424px !default;
28
+
29
+ // Made with Bob
@@ -0,0 +1,32 @@
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
+ // Configuration for AI Chat Components CSS custom properties and SASS variables
9
+ // Following @carbon/styles patterns for consistent naming and structure
10
+
11
+ @use "./vars" as *;
12
+
13
+ // Feature flags for fallback behavior
14
+ $use-fallback-value: true !default;
15
+
16
+ // Utility functions following Carbon's custom property patterns
17
+ @function get-name($name) {
18
+ @return --#{$prefix}-#{$name};
19
+ }
20
+
21
+ @function get-var($name, $fallback: false) {
22
+ @if $fallback {
23
+ @return var(--#{$prefix}-#{$name}, #{$fallback});
24
+ }
25
+ @return var(--#{$prefix}-#{$name});
26
+ }
27
+
28
+ @mixin declaration($name, $value) {
29
+ #{get-name($name)}: #{$value};
30
+ }
31
+
32
+ // Made with Bob
@@ -0,0 +1,150 @@
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
+ @use "@carbon/styles/scss/layout";
9
+ @use "@carbon/styles/scss/utilities/component-reset";
10
+
11
+ :host {
12
+ @include layout.emit-layout-tokens;
13
+ @include component-reset.reset;
14
+ }
15
+
16
+ div,
17
+ span,
18
+ applet,
19
+ object,
20
+ iframe,
21
+ h1,
22
+ h2,
23
+ h3,
24
+ h4,
25
+ h5,
26
+ h6,
27
+ p,
28
+ blockquote,
29
+ pre,
30
+ a,
31
+ abbr,
32
+ acronym,
33
+ address,
34
+ big,
35
+ cite,
36
+ code,
37
+ del,
38
+ dfn,
39
+ em,
40
+ img,
41
+ ins,
42
+ kbd,
43
+ q,
44
+ s,
45
+ samp,
46
+ small,
47
+ strike,
48
+ strong,
49
+ sub,
50
+ sup,
51
+ tt,
52
+ var,
53
+ b,
54
+ u,
55
+ i,
56
+ center,
57
+ dl,
58
+ dt,
59
+ dd,
60
+ ol,
61
+ ul,
62
+ li,
63
+ fieldset,
64
+ form,
65
+ label,
66
+ legend,
67
+ table,
68
+ caption,
69
+ tbody,
70
+ tfoot,
71
+ thead,
72
+ tr,
73
+ th,
74
+ td,
75
+ article,
76
+ aside,
77
+ canvas,
78
+ details,
79
+ embed,
80
+ figure,
81
+ figcaption,
82
+ footer,
83
+ header,
84
+ hgroup,
85
+ menu,
86
+ nav,
87
+ output,
88
+ ruby,
89
+ section,
90
+ summary,
91
+ time,
92
+ mark,
93
+ audio,
94
+ video {
95
+ padding: 0;
96
+ border: 0;
97
+ margin: 0;
98
+ font: inherit;
99
+ font-size: 1em;
100
+ vertical-align: baseline;
101
+ }
102
+
103
+ // Chrome 62 fix
104
+ button,
105
+ select,
106
+ input,
107
+ textarea {
108
+ border-radius: 0;
109
+ font-family: inherit;
110
+ }
111
+
112
+ // HTML5 display-role reset for older browsers
113
+ article,
114
+ aside,
115
+ details,
116
+ figcaption,
117
+ figure,
118
+ footer,
119
+ header,
120
+ hgroup,
121
+ menu,
122
+ nav,
123
+ section {
124
+ display: block;
125
+ }
126
+
127
+ // List reset
128
+ ol,
129
+ ul {
130
+ list-style: none;
131
+ }
132
+
133
+ // Blockquote reset
134
+ blockquote,
135
+ q {
136
+ quotes: none;
137
+ }
138
+
139
+ blockquote::before,
140
+ blockquote::after,
141
+ q::before,
142
+ q::after {
143
+ content: none;
144
+ }
145
+
146
+ // Table reset
147
+ table {
148
+ border-collapse: collapse;
149
+ border-spacing: 0;
150
+ }
package/scss/grid.scss ADDED
@@ -0,0 +1,11 @@
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
+ @use "@carbon/grid";
9
+
10
+ // Emit the css-grid styles
11
+ @include grid.css-grid();
@@ -0,0 +1,33 @@
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
+ @use "@carbon/styles/scss/config" as *;
9
+ @use "@carbon/themes/scss/themes";
10
+ @use "@carbon/styles/scss/theme";
11
+
12
+ @use "@carbon/styles/scss/components/button/tokens" as button-tokens;
13
+ @use "@carbon/styles/scss/components/tag/tokens" as tag-tokens;
14
+ @use "@carbon/styles/scss/components/notification/tokens" as notification-tokens;
15
+ @include theme.add-component-tokens(button-tokens.$button-tokens);
16
+ @include theme.add-component-tokens(tag-tokens.$tag-tokens);
17
+ @include theme.add-component-tokens(notification-tokens.$notification-tokens);
18
+
19
+ .#{$prefix}-theme-zone-white {
20
+ @include theme.theme(themes.$white);
21
+ }
22
+
23
+ .#{$prefix}-theme-zone-g10 {
24
+ @include theme.theme(themes.$g10);
25
+ }
26
+
27
+ .#{$prefix}-theme-zone-g90 {
28
+ @include theme.theme(themes.$g90);
29
+ }
30
+
31
+ .#{$prefix}-theme-zone-g100 {
32
+ @include theme.theme(themes.$g100);
33
+ }
package/scss/vars.scss ADDED
@@ -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
+ // prefix for Carbon Design System components
9
+ $cds-prefix: "cds" !default;
10
+
11
+ // Set this to a suitable prefix for your project to use in style files
12
+ $prefix: "#{$cds-prefix}-aichat" !default;