@carbon/ai-chat-components 0.7.1 → 0.8.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 (280) hide show
  1. package/README.md +4 -1
  2. package/custom-elements.json +1705 -467
  3. package/es/components/card/src/card-footer.d.ts +1 -0
  4. package/es/components/card/src/card-footer.js +3 -2
  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 -0
  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.d.ts +1 -0
  11. package/es/components/card/src/card.js +3 -1
  12. package/es/components/card/src/card.js.map +1 -1
  13. package/es/components/card/src/card.scss.js +1 -1
  14. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
  15. package/es/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
  16. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  17. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
  18. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
  19. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  20. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
  21. package/es/components/chain-of-thought/src/chain-of-thought.js +5 -1
  22. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  23. package/es/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
  24. package/es/components/chain-of-thought/src/tool-call-data.js +5 -1
  25. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  26. package/es/components/chat-button/src/chat-button.js +4 -3
  27. package/es/components/chat-button/src/chat-button.js.map +1 -1
  28. package/es/components/chat-shell/index.d.ts +10 -0
  29. package/es/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
  30. package/es/components/chat-shell/index.js.map +1 -0
  31. package/es/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
  32. package/es/components/chat-shell/src/cds-aichat-panel.js +433 -0
  33. package/es/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
  34. package/es/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
  35. package/es/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
  36. package/es/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
  37. package/es/components/chat-shell/src/cds-aichat-shell.js +554 -0
  38. package/es/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
  39. package/es/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
  40. package/es/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
  41. package/es/components/chat-shell/src/panel-manager.d.ts +29 -0
  42. package/es/components/chat-shell/src/panel-manager.js +144 -0
  43. package/es/components/chat-shell/src/panel-manager.js.map +1 -0
  44. package/es/components/chat-shell/src/workspace-manager.d.ts +118 -0
  45. package/es/components/chat-shell/src/workspace-manager.js +465 -0
  46. package/es/components/chat-shell/src/workspace-manager.js.map +1 -0
  47. package/es/components/code-snippet/src/code-snippet-card.js +2 -1
  48. package/es/components/code-snippet/src/code-snippet-card.js.map +1 -1
  49. package/es/components/code-snippet/src/code-snippet.d.ts +1 -0
  50. package/es/components/code-snippet/src/code-snippet.js +3 -1
  51. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  52. package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
  53. package/es/components/feedback/src/feedback-buttons.d.ts +4 -0
  54. package/es/components/feedback/src/feedback-buttons.js +6 -1
  55. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  56. package/es/components/feedback/src/feedback.d.ts +1 -0
  57. package/es/components/feedback/src/feedback.js +3 -1
  58. package/es/components/feedback/src/feedback.js.map +1 -1
  59. package/es/components/feedback/src/feedback.scss.js +1 -1
  60. package/es/components/markdown/src/markdown-token-tree.js +1 -1
  61. package/es/components/markdown/src/markdown.d.ts +4 -0
  62. package/es/components/markdown/src/markdown.js +6 -1
  63. package/es/components/markdown/src/markdown.js.map +1 -1
  64. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
  65. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
  66. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
  67. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
  68. package/es/components/processing/src/processing.d.ts +4 -0
  69. package/es/components/processing/src/processing.js +6 -1
  70. package/es/components/processing/src/processing.js.map +1 -1
  71. package/es/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
  72. package/es/components/reasoning-steps/src/reasoning-step.js +5 -1
  73. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  74. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
  75. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
  76. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  77. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
  78. package/es/components/reasoning-steps/src/reasoning-steps.js +5 -1
  79. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  80. package/es/components/table/src/table.d.ts +1 -0
  81. package/es/components/table/src/table.js +5 -3
  82. package/es/components/table/src/table.js.map +1 -1
  83. package/es/components/table/src/table.template.js +2 -2
  84. package/es/components/table/src/table.template.js.map +1 -1
  85. package/es/components/toolbar/src/toolbar.js +3 -4
  86. package/es/components/toolbar/src/toolbar.js.map +1 -1
  87. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  88. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -1
  89. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  90. package/es/components/workspace-shell/src/workspace-shell-footer.js +2 -2
  91. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  92. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  93. package/es/components/workspace-shell/src/workspace-shell-header.js +2 -2
  94. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  95. package/es/components/workspace-shell/src/workspace-shell.js +2 -1
  96. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
  97. package/es/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  98. package/es/react/__tests__/jest.setup.js +83 -0
  99. package/es/react/__tests__/jest.setup.js.map +1 -0
  100. package/es/react/chat-shell.d.ts +12 -0
  101. package/es/react/chat-shell.js +28 -0
  102. package/es/react/chat-shell.js.map +1 -0
  103. package/es/react/panel.d.ts +4 -0
  104. package/{es-custom/react/inline-notification.js → es/react/panel.js} +12 -6
  105. package/es/react/panel.js.map +1 -0
  106. package/es/react/toolbar.d.ts +14 -2
  107. package/es/react/toolbar.js +59 -9
  108. package/es/react/toolbar.js.map +1 -1
  109. package/es/react/utils/iconTransform.d.ts +37 -0
  110. package/es/react/utils/iconTransform.js +176 -0
  111. package/es/react/utils/iconTransform.js.map +1 -0
  112. package/es-custom/components/card/src/card-footer.d.ts +1 -0
  113. package/es-custom/components/card/src/card-footer.js +3 -2
  114. package/es-custom/components/card/src/card-footer.js.map +1 -1
  115. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  116. package/es-custom/components/card/src/card-steps.d.ts +1 -0
  117. package/es-custom/components/card/src/card-steps.js +2 -1
  118. package/es-custom/components/card/src/card-steps.js.map +1 -1
  119. package/es-custom/components/card/src/card.d.ts +1 -0
  120. package/es-custom/components/card/src/card.js +3 -1
  121. package/es-custom/components/card/src/card.js.map +1 -1
  122. package/es-custom/components/card/src/card.scss.js +1 -1
  123. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
  124. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
  125. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  126. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
  127. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
  128. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  129. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
  130. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +5 -1
  131. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  132. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
  133. package/es-custom/components/chain-of-thought/src/tool-call-data.js +5 -1
  134. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  135. package/es-custom/components/chat-button/src/chat-button.js +4 -3
  136. package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
  137. package/es-custom/components/chat-shell/index.d.ts +10 -0
  138. package/es-custom/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
  139. package/es-custom/components/chat-shell/index.js.map +1 -0
  140. package/es-custom/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
  141. package/es-custom/components/chat-shell/src/cds-aichat-panel.js +433 -0
  142. package/es-custom/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
  143. package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
  144. package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
  145. package/es-custom/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
  146. package/es-custom/components/chat-shell/src/cds-aichat-shell.js +554 -0
  147. package/es-custom/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
  148. package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
  149. package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
  150. package/es-custom/components/chat-shell/src/panel-manager.d.ts +29 -0
  151. package/es-custom/components/chat-shell/src/panel-manager.js +144 -0
  152. package/es-custom/components/chat-shell/src/panel-manager.js.map +1 -0
  153. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +118 -0
  154. package/es-custom/components/chat-shell/src/workspace-manager.js +465 -0
  155. package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -0
  156. package/es-custom/components/code-snippet/src/code-snippet-card.js +2 -1
  157. package/es-custom/components/code-snippet/src/code-snippet-card.js.map +1 -1
  158. package/es-custom/components/code-snippet/src/code-snippet.d.ts +1 -0
  159. package/es-custom/components/code-snippet/src/code-snippet.js +3 -1
  160. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  161. package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
  162. package/es-custom/components/feedback/src/feedback-buttons.d.ts +4 -0
  163. package/es-custom/components/feedback/src/feedback-buttons.js +6 -1
  164. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  165. package/es-custom/components/feedback/src/feedback.d.ts +1 -0
  166. package/es-custom/components/feedback/src/feedback.js +3 -1
  167. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  168. package/es-custom/components/feedback/src/feedback.scss.js +1 -1
  169. package/es-custom/components/markdown/src/markdown-token-tree.js +1 -1
  170. package/es-custom/components/markdown/src/markdown.d.ts +4 -0
  171. package/es-custom/components/markdown/src/markdown.js +6 -1
  172. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  173. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
  174. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
  175. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
  176. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
  177. package/es-custom/components/processing/src/processing.d.ts +4 -0
  178. package/es-custom/components/processing/src/processing.js +6 -1
  179. package/es-custom/components/processing/src/processing.js.map +1 -1
  180. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
  181. package/es-custom/components/reasoning-steps/src/reasoning-step.js +5 -1
  182. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  183. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
  184. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
  185. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  186. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
  187. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +5 -1
  188. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  189. package/es-custom/components/table/src/table.d.ts +1 -0
  190. package/es-custom/components/table/src/table.js +5 -3
  191. package/es-custom/components/table/src/table.js.map +1 -1
  192. package/es-custom/components/table/src/table.template.js +2 -2
  193. package/es-custom/components/table/src/table.template.js.map +1 -1
  194. package/es-custom/components/toolbar/src/toolbar.js +3 -4
  195. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  196. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  197. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -1
  198. package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  199. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +2 -2
  200. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  201. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  202. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +2 -2
  203. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  204. package/es-custom/components/workspace-shell/src/workspace-shell.js +2 -1
  205. package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -1
  206. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  207. package/es-custom/react/__tests__/jest.setup.js +83 -0
  208. package/es-custom/react/__tests__/jest.setup.js.map +1 -0
  209. package/es-custom/react/chat-shell.d.ts +12 -0
  210. package/es-custom/react/chat-shell.js +28 -0
  211. package/es-custom/react/chat-shell.js.map +1 -0
  212. package/es-custom/react/panel.d.ts +4 -0
  213. package/es-custom/react/{ai-label.js → panel.js} +12 -6
  214. package/es-custom/react/panel.js.map +1 -0
  215. package/es-custom/react/toolbar.d.ts +14 -2
  216. package/es-custom/react/toolbar.js +59 -9
  217. package/es-custom/react/toolbar.js.map +1 -1
  218. package/es-custom/react/utils/iconTransform.d.ts +37 -0
  219. package/es-custom/react/utils/iconTransform.js +176 -0
  220. package/es-custom/react/utils/iconTransform.js.map +1 -0
  221. package/package.json +21 -6
  222. package/telemetry.yml +125 -2
  223. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  224. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  225. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  226. package/es/react/ai-label.d.ts +0 -4
  227. package/es/react/ai-label.js +0 -28
  228. package/es/react/ai-label.js.map +0 -1
  229. package/es/react/button.d.ts +0 -6
  230. package/es/react/button.js +0 -29
  231. package/es/react/button.js.map +0 -1
  232. package/es/react/content-switcher.d.ts +0 -7
  233. package/es/react/content-switcher.js +0 -37
  234. package/es/react/content-switcher.js.map +0 -1
  235. package/es/react/icon-button.d.ts +0 -4
  236. package/es/react/icon-button.js +0 -28
  237. package/es/react/icon-button.js.map +0 -1
  238. package/es/react/icon.d.ts +0 -4
  239. package/es/react/icon.js +0 -28
  240. package/es/react/icon.js.map +0 -1
  241. package/es/react/inline-notification.d.ts +0 -4
  242. package/es/react/inline-notification.js +0 -28
  243. package/es/react/inline-notification.js.map +0 -1
  244. package/es/react/overflow-menu.d.ts +0 -9
  245. package/es/react/overflow-menu.js +0 -40
  246. package/es/react/overflow-menu.js.map +0 -1
  247. package/es/react/tag.d.ts +0 -4
  248. package/es/react/tag.js +0 -28
  249. package/es/react/tag.js.map +0 -1
  250. package/es/react/tile.d.ts +0 -7
  251. package/es/react/tile.js +0 -34
  252. package/es/react/tile.js.map +0 -1
  253. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  254. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  255. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  256. package/es-custom/react/ai-label.d.ts +0 -4
  257. package/es-custom/react/ai-label.js.map +0 -1
  258. package/es-custom/react/button.d.ts +0 -6
  259. package/es-custom/react/button.js +0 -29
  260. package/es-custom/react/button.js.map +0 -1
  261. package/es-custom/react/content-switcher.d.ts +0 -7
  262. package/es-custom/react/content-switcher.js +0 -37
  263. package/es-custom/react/content-switcher.js.map +0 -1
  264. package/es-custom/react/icon-button.d.ts +0 -4
  265. package/es-custom/react/icon-button.js +0 -28
  266. package/es-custom/react/icon-button.js.map +0 -1
  267. package/es-custom/react/icon.d.ts +0 -4
  268. package/es-custom/react/icon.js +0 -28
  269. package/es-custom/react/icon.js.map +0 -1
  270. package/es-custom/react/inline-notification.d.ts +0 -4
  271. package/es-custom/react/inline-notification.js.map +0 -1
  272. package/es-custom/react/overflow-menu.d.ts +0 -9
  273. package/es-custom/react/overflow-menu.js +0 -40
  274. package/es-custom/react/overflow-menu.js.map +0 -1
  275. package/es-custom/react/tag.d.ts +0 -4
  276. package/es-custom/react/tag.js +0 -28
  277. package/es-custom/react/tag.js.map +0 -1
  278. package/es-custom/react/tile.d.ts +0 -7
  279. package/es-custom/react/tile.js +0 -34
  280. package/es-custom/react/tile.js.map +0 -1
@@ -1,37 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonContentSwitcherElement from '@carbon/web-components/es/components/content-switcher/content-switcher.js';
11
- import CarbonContentSwitcherItemElement from '@carbon/web-components/es/components/content-switcher/content-switcher-item.js';
12
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
13
-
14
- /*
15
- * Copyright IBM Corp. 2025
16
- *
17
- * This source code is licensed under the Apache-2.0 license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- *
20
- * @license
21
- */
22
- const ContentSwitcher = withWebComponentBridge(createComponent({
23
- tagName: "cds-content-switcher",
24
- elementClass: CarbonContentSwitcherElement,
25
- react: React,
26
- events: {
27
- onSelected: "cds-content-switcher-selected",
28
- },
29
- }));
30
- const ContentSwitcherItem = withWebComponentBridge(createComponent({
31
- tagName: "cds-content-switcher-item",
32
- elementClass: CarbonContentSwitcherItemElement,
33
- react: React,
34
- }));
35
-
36
- export { ContentSwitcher, ContentSwitcherItem, ContentSwitcher as default };
37
- //# sourceMappingURL=content-switcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-switcher.js","sources":["../../src/react/content-switcher.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH,MAAM,eAAe,GAAG,sBAAsB,CAC5C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,sBAAsB;AAC/B,IAAA,YAAY,EAAE,4BAA4B;AAC1C,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,UAAU,EAAE,+BAA+B;AAC5C,KAAA;AACF,CAAA,CAAC;AAEJ,MAAM,mBAAmB,GAAG,sBAAsB,CAChD,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,gCAAgC;AAC9C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonIconButtonElement from "@carbon/web-components/es/components/icon-button/icon-button.js";
3
- declare const IconButton: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonIconButtonElement>>;
4
- export default IconButton;
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonIconButtonElement from '@carbon/web-components/es/components/icon-button/icon-button.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 IconButton = withWebComponentBridge(createComponent({
22
- tagName: "cds-icon-button",
23
- elementClass: CarbonIconButtonElement,
24
- react: React,
25
- }));
26
-
27
- export { IconButton as default };
28
- //# sourceMappingURL=icon-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-button.js","sources":["../../src/react/icon-button.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,UAAU,GAAG,sBAAsB,CACvC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CDSIcon from "@carbon/web-components/es/components/icon/icon.js";
3
- declare const Icon: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CDSIcon>>;
4
- export default Icon;
package/es/react/icon.js DELETED
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CDSIcon from '@carbon/web-components/es/components/icon/icon.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 Icon = withWebComponentBridge(createComponent({
22
- tagName: "cds-icon",
23
- elementClass: CDSIcon,
24
- react: React,
25
- }));
26
-
27
- export { Icon as default };
28
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sources":["../../src/react/icon.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,IAAI,GAAG,sBAAsB,CACjC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,OAAO;AACrB,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonInlineNotificationElement from "@carbon/web-components/es/components/notification/inline-notification.js";
3
- declare const InlineNotification: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonInlineNotificationElement>>;
4
- export default InlineNotification;
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonInlineNotificationElement from '@carbon/web-components/es/components/notification/inline-notification.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 InlineNotification = withWebComponentBridge(createComponent({
22
- tagName: "cds-inline-notification",
23
- elementClass: CarbonInlineNotificationElement,
24
- react: React,
25
- }));
26
-
27
- export { InlineNotification as default };
28
- //# sourceMappingURL=inline-notification.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inline-notification.js","sources":["../../src/react/inline-notification.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,kBAAkB,GAAG,sBAAsB,CAC/C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,YAAY,EAAE,+BAA+B;AAC7C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import CarbonOverflowMenuElement from "@carbon/web-components/es/components/overflow-menu/overflow-menu.js";
3
- import CarbonOverflowMenuBodyElement from "@carbon/web-components/es/components/overflow-menu/overflow-menu-body.js";
4
- import CarbonOverflowMenuItemElement from "@carbon/web-components/es/components/overflow-menu/overflow-menu-item.js";
5
- declare const OverflowMenu: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuElement>>;
6
- declare const OverflowMenuBody: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuBodyElement>>;
7
- declare const OverflowMenuItem: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuItemElement>>;
8
- export default OverflowMenu;
9
- export { OverflowMenu, OverflowMenuBody, OverflowMenuItem };
@@ -1,40 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonOverflowMenuElement from '@carbon/web-components/es/components/overflow-menu/overflow-menu.js';
11
- import CarbonOverflowMenuBodyElement from '@carbon/web-components/es/components/overflow-menu/overflow-menu-body.js';
12
- import CarbonOverflowMenuItemElement from '@carbon/web-components/es/components/overflow-menu/overflow-menu-item.js';
13
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
14
-
15
- /*
16
- * Copyright IBM Corp. 2025
17
- *
18
- * This source code is licensed under the Apache-2.0 license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- *
21
- * @license
22
- */
23
- const OverflowMenu = withWebComponentBridge(createComponent({
24
- tagName: "cds-overflow-menu",
25
- elementClass: CarbonOverflowMenuElement,
26
- react: React,
27
- }));
28
- const OverflowMenuBody = withWebComponentBridge(createComponent({
29
- tagName: "cds-overflow-menu-body",
30
- elementClass: CarbonOverflowMenuBodyElement,
31
- react: React,
32
- }));
33
- const OverflowMenuItem = withWebComponentBridge(createComponent({
34
- tagName: "cds-overflow-menu-item",
35
- elementClass: CarbonOverflowMenuItemElement,
36
- react: React,
37
- }));
38
-
39
- export { OverflowMenu, OverflowMenuBody, OverflowMenuItem, OverflowMenu as default };
40
- //# sourceMappingURL=overflow-menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overflow-menu.js","sources":["../../src/react/overflow-menu.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAWH,MAAM,YAAY,GAAG,sBAAsB,CACzC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,yBAAyB;AACvC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,gBAAgB,GAAG,sBAAsB,CAC7C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,6BAA6B;AAC3C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,gBAAgB,GAAG,sBAAsB,CAC7C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,6BAA6B;AAC3C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
package/es/react/tag.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonTagElement from "@carbon/web-components/es/components/tag/tag.js";
3
- declare const Tag: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonTagElement>>;
4
- export default Tag;
package/es/react/tag.js DELETED
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonTagElement from '@carbon/web-components/es/components/tag/tag.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 Tag = withWebComponentBridge(createComponent({
22
- tagName: "cds-tag",
23
- elementClass: CarbonTagElement,
24
- react: React,
25
- }));
26
-
27
- export { Tag as default };
28
- //# sourceMappingURL=tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.js","sources":["../../src/react/tag.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,GAAG,GAAG,sBAAsB,CAChC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import CarbonTileElement from "@carbon/web-components/es/components/tile/tile.js";
3
- import CarbonClickableTileElement from "@carbon/web-components/es/components/tile/clickable-tile.js";
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>>;
6
- export default Tile;
7
- export { Tile, ClickableTile };
package/es/react/tile.js DELETED
@@ -1,34 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CDSTile from '@carbon/web-components/es/components/tile/tile.js';
11
- import CarbonClickableTileElement from '@carbon/web-components/es/components/tile/clickable-tile.js';
12
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
13
-
14
- /*
15
- * Copyright IBM Corp. 2025
16
- *
17
- * This source code is licensed under the Apache-2.0 license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- *
20
- * @license
21
- */
22
- const Tile = withWebComponentBridge(createComponent({
23
- tagName: "cds-tile",
24
- elementClass: CDSTile,
25
- react: React,
26
- }));
27
- const ClickableTile = withWebComponentBridge(createComponent({
28
- tagName: "cds-clickable-tile",
29
- elementClass: CarbonClickableTileElement,
30
- react: React,
31
- }));
32
-
33
- export { ClickableTile, Tile, Tile as default };
34
- //# sourceMappingURL=tile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tile.js","sources":["../../src/react/tile.ts"],"sourcesContent":[null],"names":["CarbonTileElement"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH,MAAM,IAAI,GAAG,sBAAsB,CACjC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAEA,OAAiB;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;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"documentLang.js","sources":["../../../../../../../../node_modules/@carbon/utilities/es/documentLang/documentLang.js"],"sourcesContent":["const t=typeof document<\"u\";let o=t?document.documentElement.lang:\"\",i=!1,n=[],r=!1;function s(){t&&(i||(i=!0,queueMicrotask(()=>{i=!1;const e=document.documentElement.lang;if(e!==o){o=e;for(const u of n)u(e)}})))}function c(){if(!t||r)return;r=!0,new MutationObserver(s).observe(document.documentElement,{attributes:!0,attributeFilter:[\"lang\"]})}function a(){return t&&(document.documentElement.lang||window.navigator.language)||\"\"}function l(e){return t?(r||c(),n.push(e),()=>{n=n.filter(u=>u!==e),n.length===0&&(r=!1)}):()=>{}}export{a as getDocumentLang,l as subscribeDocumentLangChange};\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,CAAC,CAAC,OAAO,QAAQ,CAAC,GAAG,CAAO,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE","x_google_ignoreList":[0]}
@@ -1,11 +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
- function v(e,t){if(!e)return 0;const a=e.style.display;!e.offsetParent&&getComputedStyle(e).display==="none"&&(e.style.display="inline-block");const o=e.getBoundingClientRect()[t];return e.style.display=a,o}function w({container:e,items:t,offset:a,sizes:o,fixedSizes:f,offsetSize:c,maxVisibleItems:l,dimension:m,onChange:E,previousHiddenItems:u=[]}){const H=m==="width"?e.clientWidth:e.clientHeight;let s=[],i=[];const p=o.reduce((r,d)=>r+d,0),n=f.reduce((r,d)=>r+d,0);if(p+n<=H)s=l?t.slice(0,l):[...t],i=l?t.slice(l):[];else {const r=H-c;let d=0;for(let h=0;h<t.length;h++){const g=o[h];d+g+n<=r&&(!l||s.length<l)?(s.push(t[h]),d+=g):i.push(t[h]);}}return u.length===i.length&&u.every((r,d)=>r===i[d])?u:(s.forEach(r=>r.removeAttribute("data-hidden")),i.forEach(r=>r.setAttribute("data-hidden","")),a&&a.toggleAttribute("data-hidden",i.length===0),E(s,i),i)}function L({container:e,maxVisibleItems:t,onChange:a,dimension:o="width"}){if(!(e instanceof HTMLElement))throw new Error("container must be an HTMLElement");if(typeof a!="function")throw new Error("onChange must be a function");if(t!==void 0&&(!Number.isInteger(t)||t<=0))throw new Error("maxVisibleItems must be a positive integer");const f=Array.from(e.children),c=f.find(n=>n.hasAttribute("data-offset")),l=f.filter(n=>n.hasAttribute("data-fixed")),m=f.filter(n=>n!==c&&!l.includes(n)),E=l.map(n=>v(n,o)),u=m.map(n=>v(n,o)),H=v(c,o);let s=[];function i(){s=w({container:e,items:m,offset:c,sizes:u,fixedSizes:E,offsetSize:H,maxVisibleItems:t,dimension:o,onChange:a,previousHiddenItems:s});}const p=new ResizeObserver(()=>requestAnimationFrame(i));return p.observe(e),requestAnimationFrame(i),{disconnect(){p.disconnect();}}}
9
-
10
- export { L as createOverflowHandler, v as getSize, w as updateOverflowHandler };
11
- //# sourceMappingURL=overflowHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overflowHandler.js","sources":["../../../../../../../../node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js"],"sourcesContent":["function v(e,t){if(!e)return 0;const a=e.style.display;!e.offsetParent&&getComputedStyle(e).display===\"none\"&&(e.style.display=\"inline-block\");const o=e.getBoundingClientRect()[t];return e.style.display=a,o}function w({container:e,items:t,offset:a,sizes:o,fixedSizes:f,offsetSize:c,maxVisibleItems:l,dimension:m,onChange:E,previousHiddenItems:u=[]}){const H=m===\"width\"?e.clientWidth:e.clientHeight;let s=[],i=[];const p=o.reduce((r,d)=>r+d,0),n=f.reduce((r,d)=>r+d,0);if(p+n<=H)s=l?t.slice(0,l):[...t],i=l?t.slice(l):[];else{const r=H-c;let d=0;for(let h=0;h<t.length;h++){const g=o[h];d+g+n<=r&&(!l||s.length<l)?(s.push(t[h]),d+=g):i.push(t[h])}}return u.length===i.length&&u.every((r,d)=>r===i[d])?u:(s.forEach(r=>r.removeAttribute(\"data-hidden\")),i.forEach(r=>r.setAttribute(\"data-hidden\",\"\")),a&&a.toggleAttribute(\"data-hidden\",i.length===0),E(s,i),i)}function L({container:e,maxVisibleItems:t,onChange:a,dimension:o=\"width\"}){if(!(e instanceof HTMLElement))throw new Error(\"container must be an HTMLElement\");if(typeof a!=\"function\")throw new Error(\"onChange must be a function\");if(t!==void 0&&(!Number.isInteger(t)||t<=0))throw new Error(\"maxVisibleItems must be a positive integer\");const f=Array.from(e.children),c=f.find(n=>n.hasAttribute(\"data-offset\")),l=f.filter(n=>n.hasAttribute(\"data-fixed\")),m=f.filter(n=>n!==c&&!l.includes(n)),E=l.map(n=>v(n,o)),u=m.map(n=>v(n,o)),H=v(c,o);let s=[];function i(){s=w({container:e,items:m,offset:c,sizes:u,fixedSizes:E,offsetSize:H,maxVisibleItems:t,dimension:o,onChange:a,previousHiddenItems:s})}const p=new ResizeObserver(()=>requestAnimationFrame(i));return p.observe(e),requestAnimationFrame(i),{disconnect(){p.disconnect()}}}export{L as createOverflowHandler,v as getSize,w as updateOverflowHandler};\n"],"names":[],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonAILabelElement from "@carbon/web-components/es-custom/components/ai-label/ai-label.js";
3
- declare const AILabel: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonAILabelElement>>;
4
- export default AILabel;
@@ -1 +0,0 @@
1
- {"version":3,"file":"ai-label.js","sources":["../../src/react/ai-label.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,OAAO,GAAG,sBAAsB,CACpC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { BUTTON_KIND, BUTTON_TYPE, BUTTON_SIZE, BUTTON_TOOLTIP_ALIGNMENT, BUTTON_TOOLTIP_POSITION } from "@carbon/web-components/es-custom/components/button/defs.js";
3
- import CarbonButtonElement from "@carbon/web-components/es-custom/components/button/button.js";
4
- declare const Button: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonButtonElement>>;
5
- export default Button;
6
- export { BUTTON_KIND, BUTTON_TYPE, BUTTON_SIZE, BUTTON_TOOLTIP_ALIGNMENT, BUTTON_TOOLTIP_POSITION, };
@@ -1,29 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- export { BUTTON_KIND, BUTTON_SIZE, BUTTON_TOOLTIP_ALIGNMENT, BUTTON_TOOLTIP_POSITION, BUTTON_TYPE } from '@carbon/web-components/es-custom/components/button/defs.js';
11
- import CarbonButtonElement from '@carbon/web-components/es-custom/components/button/button.js';
12
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
13
-
14
- /*
15
- * Copyright IBM Corp. 2025
16
- *
17
- * This source code is licensed under the Apache-2.0 license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- *
20
- * @license
21
- */
22
- const Button = withWebComponentBridge(createComponent({
23
- tagName: "cds-custom-button",
24
- elementClass: CarbonButtonElement,
25
- react: React,
26
- }));
27
-
28
- export { Button as default };
29
- //# sourceMappingURL=button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.js","sources":["../../src/react/button.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAeH,MAAM,MAAM,GAAG,sBAAsB,CACnC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import CarbonContentSwitcherElement from "@carbon/web-components/es-custom/components/content-switcher/content-switcher.js";
3
- import CarbonContentSwitcherItemElement from "@carbon/web-components/es-custom/components/content-switcher/content-switcher-item.js";
4
- declare const ContentSwitcher: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonContentSwitcherElement>>;
5
- declare const ContentSwitcherItem: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonContentSwitcherItemElement>>;
6
- export default ContentSwitcher;
7
- export { ContentSwitcher, ContentSwitcherItem };
@@ -1,37 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonContentSwitcherElement from '@carbon/web-components/es-custom/components/content-switcher/content-switcher.js';
11
- import CarbonContentSwitcherItemElement from '@carbon/web-components/es-custom/components/content-switcher/content-switcher-item.js';
12
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
13
-
14
- /*
15
- * Copyright IBM Corp. 2025
16
- *
17
- * This source code is licensed under the Apache-2.0 license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- *
20
- * @license
21
- */
22
- const ContentSwitcher = withWebComponentBridge(createComponent({
23
- tagName: "cds-custom-content-switcher",
24
- elementClass: CarbonContentSwitcherElement,
25
- react: React,
26
- events: {
27
- onSelected: "cds-custom-content-switcher-selected",
28
- },
29
- }));
30
- const ContentSwitcherItem = withWebComponentBridge(createComponent({
31
- tagName: "cds-custom-content-switcher-item",
32
- elementClass: CarbonContentSwitcherItemElement,
33
- react: React,
34
- }));
35
-
36
- export { ContentSwitcher, ContentSwitcherItem, ContentSwitcher as default };
37
- //# sourceMappingURL=content-switcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-switcher.js","sources":["../../src/react/content-switcher.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH,MAAM,eAAe,GAAG,sBAAsB,CAC5C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,sBAAsB;AAC/B,IAAA,YAAY,EAAE,4BAA4B;AAC1C,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,UAAU,EAAE,+BAA+B;AAC5C,KAAA;AACF,CAAA,CAAC;AAEJ,MAAM,mBAAmB,GAAG,sBAAsB,CAChD,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,2BAA2B;AACpC,IAAA,YAAY,EAAE,gCAAgC;AAC9C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonIconButtonElement from "@carbon/web-components/es-custom/components/icon-button/icon-button.js";
3
- declare const IconButton: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonIconButtonElement>>;
4
- export default IconButton;
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonIconButtonElement from '@carbon/web-components/es-custom/components/icon-button/icon-button.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 IconButton = withWebComponentBridge(createComponent({
22
- tagName: "cds-custom-icon-button",
23
- elementClass: CarbonIconButtonElement,
24
- react: React,
25
- }));
26
-
27
- export { IconButton as default };
28
- //# sourceMappingURL=icon-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-button.js","sources":["../../src/react/icon-button.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,UAAU,GAAG,sBAAsB,CACvC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CDSIcon from "@carbon/web-components/es-custom/components/icon/icon.js";
3
- declare const Icon: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CDSIcon>>;
4
- export default Icon;
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CDSIcon from '@carbon/web-components/es-custom/components/icon/icon.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 Icon = withWebComponentBridge(createComponent({
22
- tagName: "cds-custom-icon",
23
- elementClass: CDSIcon,
24
- react: React,
25
- }));
26
-
27
- export { Icon as default };
28
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sources":["../../src/react/icon.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,IAAI,GAAG,sBAAsB,CACjC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,OAAO;AACrB,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonInlineNotificationElement from "@carbon/web-components/es-custom/components/notification/inline-notification.js";
3
- declare const InlineNotification: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonInlineNotificationElement>>;
4
- export default InlineNotification;
@@ -1 +0,0 @@
1
- {"version":3,"file":"inline-notification.js","sources":["../../src/react/inline-notification.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,kBAAkB,GAAG,sBAAsB,CAC/C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,YAAY,EAAE,+BAA+B;AAC7C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import CarbonOverflowMenuElement from "@carbon/web-components/es-custom/components/overflow-menu/overflow-menu.js";
3
- import CarbonOverflowMenuBodyElement from "@carbon/web-components/es-custom/components/overflow-menu/overflow-menu-body.js";
4
- import CarbonOverflowMenuItemElement from "@carbon/web-components/es-custom/components/overflow-menu/overflow-menu-item.js";
5
- declare const OverflowMenu: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuElement>>;
6
- declare const OverflowMenuBody: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuBodyElement>>;
7
- declare const OverflowMenuItem: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonOverflowMenuItemElement>>;
8
- export default OverflowMenu;
9
- export { OverflowMenu, OverflowMenuBody, OverflowMenuItem };
@@ -1,40 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonOverflowMenuElement from '@carbon/web-components/es-custom/components/overflow-menu/overflow-menu.js';
11
- import CarbonOverflowMenuBodyElement from '@carbon/web-components/es-custom/components/overflow-menu/overflow-menu-body.js';
12
- import CarbonOverflowMenuItemElement from '@carbon/web-components/es-custom/components/overflow-menu/overflow-menu-item.js';
13
- import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
14
-
15
- /*
16
- * Copyright IBM Corp. 2025
17
- *
18
- * This source code is licensed under the Apache-2.0 license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- *
21
- * @license
22
- */
23
- const OverflowMenu = withWebComponentBridge(createComponent({
24
- tagName: "cds-custom-overflow-menu",
25
- elementClass: CarbonOverflowMenuElement,
26
- react: React,
27
- }));
28
- const OverflowMenuBody = withWebComponentBridge(createComponent({
29
- tagName: "cds-custom-overflow-menu-body",
30
- elementClass: CarbonOverflowMenuBodyElement,
31
- react: React,
32
- }));
33
- const OverflowMenuItem = withWebComponentBridge(createComponent({
34
- tagName: "cds-custom-overflow-menu-item",
35
- elementClass: CarbonOverflowMenuItemElement,
36
- react: React,
37
- }));
38
-
39
- export { OverflowMenu, OverflowMenuBody, OverflowMenuItem, OverflowMenu as default };
40
- //# sourceMappingURL=overflow-menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overflow-menu.js","sources":["../../src/react/overflow-menu.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAWH,MAAM,YAAY,GAAG,sBAAsB,CACzC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,yBAAyB;AACvC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,gBAAgB,GAAG,sBAAsB,CAC7C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,6BAA6B;AAC3C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;AAGJ,MAAM,gBAAgB,GAAG,sBAAsB,CAC7C,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,6BAA6B;AAC3C,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import CarbonTagElement from "@carbon/web-components/es-custom/components/tag/tag.js";
3
- declare const Tag: React.ForwardRefExoticComponent<Omit<Record<string, unknown>, "ref"> & React.RefAttributes<CarbonTagElement>>;
4
- export default Tag;
@@ -1,28 +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 { createComponent } from '@lit/react';
9
- import React from 'react';
10
- import CarbonTagElement from '@carbon/web-components/es-custom/components/tag/tag.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 Tag = withWebComponentBridge(createComponent({
22
- tagName: "cds-custom-tag",
23
- elementClass: CarbonTagElement,
24
- react: React,
25
- }));
26
-
27
- export { Tag as default };
28
- //# sourceMappingURL=tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.js","sources":["../../src/react/tag.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH,MAAM,GAAG,GAAG,sBAAsB,CAChC,eAAe,CAAC;AACd,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA,CAAC;;;;"}