@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.
- package/README.md +4 -1
- package/custom-elements.json +1705 -467
- package/es/components/card/src/card-footer.d.ts +1 -0
- package/es/components/card/src/card-footer.js +3 -2
- package/es/components/card/src/card-footer.js.map +1 -1
- package/es/components/card/src/card-footer.scss.js +1 -1
- package/es/components/card/src/card-steps.d.ts +1 -0
- package/es/components/card/src/card-steps.js +2 -1
- package/es/components/card/src/card-steps.js.map +1 -1
- package/es/components/card/src/card.d.ts +1 -0
- package/es/components/card/src/card.js +3 -1
- package/es/components/card/src/card.js.map +1 -1
- package/es/components/card/src/card.scss.js +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
- package/es/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
- package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
- package/es/components/chain-of-thought/src/chain-of-thought.js +5 -1
- package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
- package/es/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
- package/es/components/chain-of-thought/src/tool-call-data.js +5 -1
- package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
- package/es/components/chat-button/src/chat-button.js +4 -3
- package/es/components/chat-button/src/chat-button.js.map +1 -1
- package/es/components/chat-shell/index.d.ts +10 -0
- package/es/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
- package/es/components/chat-shell/index.js.map +1 -0
- package/es/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
- package/es/components/chat-shell/src/cds-aichat-panel.js +433 -0
- package/es/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
- package/es/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
- package/es/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
- package/es/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
- package/es/components/chat-shell/src/cds-aichat-shell.js +554 -0
- package/es/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
- package/es/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
- package/es/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
- package/es/components/chat-shell/src/panel-manager.d.ts +29 -0
- package/es/components/chat-shell/src/panel-manager.js +144 -0
- package/es/components/chat-shell/src/panel-manager.js.map +1 -0
- package/es/components/chat-shell/src/workspace-manager.d.ts +118 -0
- package/es/components/chat-shell/src/workspace-manager.js +465 -0
- package/es/components/chat-shell/src/workspace-manager.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet-card.js +2 -1
- package/es/components/code-snippet/src/code-snippet-card.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.d.ts +1 -0
- package/es/components/code-snippet/src/code-snippet.js +3 -1
- package/es/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es/components/feedback/src/feedback-buttons.d.ts +4 -0
- package/es/components/feedback/src/feedback-buttons.js +6 -1
- package/es/components/feedback/src/feedback-buttons.js.map +1 -1
- package/es/components/feedback/src/feedback.d.ts +1 -0
- package/es/components/feedback/src/feedback.js +3 -1
- package/es/components/feedback/src/feedback.js.map +1 -1
- package/es/components/feedback/src/feedback.scss.js +1 -1
- package/es/components/markdown/src/markdown-token-tree.js +1 -1
- package/es/components/markdown/src/markdown.d.ts +4 -0
- package/es/components/markdown/src/markdown.js +6 -1
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
- package/es/components/processing/src/processing.d.ts +4 -0
- package/es/components/processing/src/processing.js +6 -1
- package/es/components/processing/src/processing.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
- package/es/components/reasoning-steps/src/reasoning-step.js +5 -1
- package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
- package/es/components/reasoning-steps/src/reasoning-steps.js +5 -1
- package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
- package/es/components/table/src/table.d.ts +1 -0
- package/es/components/table/src/table.js +5 -3
- package/es/components/table/src/table.js.map +1 -1
- package/es/components/table/src/table.template.js +2 -2
- package/es/components/table/src/table.template.js.map +1 -1
- package/es/components/toolbar/src/toolbar.js +3 -4
- package/es/components/toolbar/src/toolbar.js.map +1 -1
- package/es/components/toolbar/src/toolbar.scss.js +1 -1
- package/es/components/workspace-shell/src/workspace-shell-body.js +2 -1
- package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.js +2 -2
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
- package/es/components/workspace-shell/src/workspace-shell-header.js +2 -2
- package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.js +2 -1
- package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.scss.js +1 -1
- package/es/react/__tests__/jest.setup.js +83 -0
- package/es/react/__tests__/jest.setup.js.map +1 -0
- package/es/react/chat-shell.d.ts +12 -0
- package/es/react/chat-shell.js +28 -0
- package/es/react/chat-shell.js.map +1 -0
- package/es/react/panel.d.ts +4 -0
- package/{es-custom/react/inline-notification.js → es/react/panel.js} +12 -6
- package/es/react/panel.js.map +1 -0
- package/es/react/toolbar.d.ts +14 -2
- package/es/react/toolbar.js +59 -9
- package/es/react/toolbar.js.map +1 -1
- package/es/react/utils/iconTransform.d.ts +37 -0
- package/es/react/utils/iconTransform.js +176 -0
- package/es/react/utils/iconTransform.js.map +1 -0
- package/es-custom/components/card/src/card-footer.d.ts +1 -0
- package/es-custom/components/card/src/card-footer.js +3 -2
- package/es-custom/components/card/src/card-footer.js.map +1 -1
- package/es-custom/components/card/src/card-footer.scss.js +1 -1
- package/es-custom/components/card/src/card-steps.d.ts +1 -0
- package/es-custom/components/card/src/card-steps.js +2 -1
- package/es-custom/components/card/src/card-steps.js.map +1 -1
- package/es-custom/components/card/src/card.d.ts +1 -0
- package/es-custom/components/card/src/card.js +3 -1
- package/es-custom/components/card/src/card.js.map +1 -1
- package/es-custom/components/card/src/card.scss.js +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +5 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +5 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
- package/es-custom/components/chat-button/src/chat-button.js +4 -3
- package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
- package/es-custom/components/chat-shell/index.d.ts +10 -0
- package/es-custom/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
- package/es-custom/components/chat-shell/index.js.map +1 -0
- package/es-custom/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
- package/es-custom/components/chat-shell/src/cds-aichat-panel.js +433 -0
- package/es-custom/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
- package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
- package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
- package/es-custom/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
- package/es-custom/components/chat-shell/src/cds-aichat-shell.js +554 -0
- package/es-custom/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
- package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
- package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
- package/es-custom/components/chat-shell/src/panel-manager.d.ts +29 -0
- package/es-custom/components/chat-shell/src/panel-manager.js +144 -0
- package/es-custom/components/chat-shell/src/panel-manager.js.map +1 -0
- package/es-custom/components/chat-shell/src/workspace-manager.d.ts +118 -0
- package/es-custom/components/chat-shell/src/workspace-manager.js +465 -0
- package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.js +2 -1
- package/es-custom/components/code-snippet/src/code-snippet-card.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +1 -0
- package/es-custom/components/code-snippet/src/code-snippet.js +3 -1
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +4 -0
- package/es-custom/components/feedback/src/feedback-buttons.js +6 -1
- package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
- package/es-custom/components/feedback/src/feedback.d.ts +1 -0
- package/es-custom/components/feedback/src/feedback.js +3 -1
- package/es-custom/components/feedback/src/feedback.js.map +1 -1
- package/es-custom/components/feedback/src/feedback.scss.js +1 -1
- package/es-custom/components/markdown/src/markdown-token-tree.js +1 -1
- package/es-custom/components/markdown/src/markdown.d.ts +4 -0
- package/es-custom/components/markdown/src/markdown.js +6 -1
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
- package/es-custom/components/processing/src/processing.d.ts +4 -0
- package/es-custom/components/processing/src/processing.js +6 -1
- package/es-custom/components/processing/src/processing.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +5 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +5 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
- package/es-custom/components/table/src/table.d.ts +1 -0
- package/es-custom/components/table/src/table.js +5 -3
- package/es-custom/components/table/src/table.js.map +1 -1
- package/es-custom/components/table/src/table.template.js +2 -2
- package/es-custom/components/table/src/table.template.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.js +3 -4
- package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.js +2 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
- package/es-custom/react/__tests__/jest.setup.js +83 -0
- package/es-custom/react/__tests__/jest.setup.js.map +1 -0
- package/es-custom/react/chat-shell.d.ts +12 -0
- package/es-custom/react/chat-shell.js +28 -0
- package/es-custom/react/chat-shell.js.map +1 -0
- package/es-custom/react/panel.d.ts +4 -0
- package/es-custom/react/{ai-label.js → panel.js} +12 -6
- package/es-custom/react/panel.js.map +1 -0
- package/es-custom/react/toolbar.d.ts +14 -2
- package/es-custom/react/toolbar.js +59 -9
- package/es-custom/react/toolbar.js.map +1 -1
- package/es-custom/react/utils/iconTransform.d.ts +37 -0
- package/es-custom/react/utils/iconTransform.js +176 -0
- package/es-custom/react/utils/iconTransform.js.map +1 -0
- package/package.json +21 -6
- package/telemetry.yml +125 -2
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
- package/es/react/ai-label.d.ts +0 -4
- package/es/react/ai-label.js +0 -28
- package/es/react/ai-label.js.map +0 -1
- package/es/react/button.d.ts +0 -6
- package/es/react/button.js +0 -29
- package/es/react/button.js.map +0 -1
- package/es/react/content-switcher.d.ts +0 -7
- package/es/react/content-switcher.js +0 -37
- package/es/react/content-switcher.js.map +0 -1
- package/es/react/icon-button.d.ts +0 -4
- package/es/react/icon-button.js +0 -28
- package/es/react/icon-button.js.map +0 -1
- package/es/react/icon.d.ts +0 -4
- package/es/react/icon.js +0 -28
- package/es/react/icon.js.map +0 -1
- package/es/react/inline-notification.d.ts +0 -4
- package/es/react/inline-notification.js +0 -28
- package/es/react/inline-notification.js.map +0 -1
- package/es/react/overflow-menu.d.ts +0 -9
- package/es/react/overflow-menu.js +0 -40
- package/es/react/overflow-menu.js.map +0 -1
- package/es/react/tag.d.ts +0 -4
- package/es/react/tag.js +0 -28
- package/es/react/tag.js.map +0 -1
- package/es/react/tile.d.ts +0 -7
- package/es/react/tile.js +0 -34
- package/es/react/tile.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
- package/es-custom/react/ai-label.d.ts +0 -4
- package/es-custom/react/ai-label.js.map +0 -1
- package/es-custom/react/button.d.ts +0 -6
- package/es-custom/react/button.js +0 -29
- package/es-custom/react/button.js.map +0 -1
- package/es-custom/react/content-switcher.d.ts +0 -7
- package/es-custom/react/content-switcher.js +0 -37
- package/es-custom/react/content-switcher.js.map +0 -1
- package/es-custom/react/icon-button.d.ts +0 -4
- package/es-custom/react/icon-button.js +0 -28
- package/es-custom/react/icon-button.js.map +0 -1
- package/es-custom/react/icon.d.ts +0 -4
- package/es-custom/react/icon.js +0 -28
- package/es-custom/react/icon.js.map +0 -1
- package/es-custom/react/inline-notification.d.ts +0 -4
- package/es-custom/react/inline-notification.js.map +0 -1
- package/es-custom/react/overflow-menu.d.ts +0 -9
- package/es-custom/react/overflow-menu.js +0 -40
- package/es-custom/react/overflow-menu.js.map +0 -1
- package/es-custom/react/tag.d.ts +0 -4
- package/es-custom/react/tag.js +0 -28
- package/es-custom/react/tag.js.map +0 -1
- package/es-custom/react/tile.d.ts +0 -7
- package/es-custom/react/tile.js +0 -34
- 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;
|
package/es/react/icon-button.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 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;;;;"}
|
package/es/react/icon.d.ts
DELETED
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
|
package/es/react/icon.js.map
DELETED
|
@@ -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
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
|
package/es/react/tag.js.map
DELETED
|
@@ -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;;;;"}
|
package/es/react/tile.d.ts
DELETED
|
@@ -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
|
package/es/react/tile.js.map
DELETED
|
@@ -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;;;;"}
|
package/es-custom/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-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;;;;"}
|
package/es-custom/react/tag.d.ts
DELETED
package/es-custom/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-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;;;;"}
|