@carbon/ai-chat-components 1.0.0 → 1.1.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 +2 -2
- package/custom-elements.json +198 -9
- package/es/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
- package/es/components/card/src/card-footer.scss.js +1 -1
- package/es/components/card/src/card-steps.scss.js +1 -1
- package/es/components/card/src/card.scss.js +1 -1
- package/es/components/carousel/index.d.ts +9 -0
- package/es/components/carousel/index.js +9 -0
- package/es/components/carousel/index.js.map +1 -0
- package/es/components/carousel/src/carousel.d.ts +39 -0
- package/es/components/carousel/src/carousel.js +130 -0
- package/es/components/carousel/src/carousel.js.map +1 -0
- package/es/components/carousel/src/carousel.scss.js +13 -0
- package/es/components/carousel/src/carousel.scss.js.map +1 -0
- package/es/components/chat-button/src/chat-button.js +9 -4
- package/es/components/chat-button/src/chat-button.js.map +1 -1
- package/es/components/chat-button/src/chat-button.scss.js +1 -1
- package/es/components/chat-history/src/history-panel-item-input.d.ts +0 -705
- package/es/components/chat-history/src/history-panel-item.d.ts +0 -699
- package/es/components/chat-history/src/history-search-item.d.ts +0 -699
- package/es/components/chat-shell/src/shell.scss.js +1 -1
- package/es/components/chat-shell/src/slot-observer.js +3 -3
- package/es/components/chat-shell/src/slot-observer.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.d.ts +0 -353
- package/es/components/markdown/src/markdown.js +1 -1
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-step.scss.js +1 -1
- package/es/components/shared/media-utils/script-loader.js +3 -2
- package/es/components/shared/media-utils/script-loader.js.map +1 -1
- package/es/components/toolbar/src/toolbar.d.ts +5 -0
- package/es/components/toolbar/src/toolbar.js +38 -0
- package/es/components/toolbar/src/toolbar.js.map +1 -1
- package/es/components/video-player/src/providers/native-video-provider.js +2 -1
- package/es/components/video-player/src/providers/native-video-provider.js.map +1 -1
- package/es-custom/components/audio-player/src/audio-player.d.ts +5 -5
- package/es-custom/components/audio-player/src/audio-player.js +9 -9
- package/es-custom/components/audio-player/src/audio-player.scss.js +1 -1
- package/es-custom/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
- package/es-custom/components/audio-player/src/transcript.d.ts +2 -2
- package/es-custom/components/audio-player/src/transcript.js +5 -5
- package/es-custom/components/audio-player/src/transcript.scss.js +1 -1
- package/es-custom/components/card/src/card-footer.d.ts +1 -1
- package/es-custom/components/card/src/card-footer.js +2 -2
- package/es-custom/components/card/src/card-footer.scss.js +1 -1
- package/es-custom/components/card/src/card-steps.d.ts +1 -1
- package/es-custom/components/card/src/card-steps.js +1 -1
- package/es-custom/components/card/src/card-steps.scss.js +1 -1
- package/es-custom/components/card/src/card.d.ts +1 -1
- package/es-custom/components/card/src/card.js +1 -1
- package/es-custom/components/card/src/card.scss.js +1 -1
- package/es-custom/components/carousel/index.d.ts +9 -0
- package/es-custom/components/carousel/index.js +9 -0
- package/es-custom/components/carousel/index.js.map +1 -0
- package/es-custom/components/carousel/src/carousel.d.ts +39 -0
- package/es-custom/components/carousel/src/carousel.js +130 -0
- package/es-custom/components/carousel/src/carousel.js.map +1 -0
- package/es-custom/components/carousel/src/carousel.scss.js +13 -0
- package/es-custom/components/carousel/src/carousel.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +2 -2
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +1 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +1 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +1 -1
- package/es-custom/components/chat-button/src/chat-button.d.ts +2 -2
- package/es-custom/components/chat-button/src/chat-button.js +10 -5
- package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
- package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
- package/es-custom/components/chat-history/src/chat-history.scss.js +1 -1
- package/es-custom/components/chat-history/src/history-content.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-content.js +1 -1
- package/es-custom/components/chat-history/src/history-delete-panel.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-delete-panel.js +6 -6
- package/es-custom/components/chat-history/src/history-header.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-header.js +1 -1
- package/es-custom/components/chat-history/src/history-loading.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-loading.js +1 -1
- package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +1 -706
- package/es-custom/components/chat-history/src/history-panel-item-input.js +1 -1
- package/es-custom/components/chat-history/src/history-panel-item.d.ts +1 -700
- package/es-custom/components/chat-history/src/history-panel-item.js +3 -3
- package/es-custom/components/chat-history/src/history-panel-items.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel-items.js +1 -1
- package/es-custom/components/chat-history/src/history-panel-menu.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel-menu.js +1 -1
- package/es-custom/components/chat-history/src/history-panel.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel.js +1 -1
- package/es-custom/components/chat-history/src/history-search-item.d.ts +1 -700
- package/es-custom/components/chat-history/src/history-search-item.js +1 -1
- package/es-custom/components/chat-history/src/history-shell.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-shell.js +1 -1
- package/es-custom/components/chat-history/src/history-toolbar.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-toolbar.js +1 -1
- package/es-custom/components/chat-shell/src/chat-header.d.ts +2 -2
- package/es-custom/components/chat-shell/src/chat-header.js +6 -6
- package/es-custom/components/chat-shell/src/chat-header.scss.js +1 -1
- package/es-custom/components/chat-shell/src/panel-manager.js +2 -2
- package/es-custom/components/chat-shell/src/shell.js +4 -4
- package/es-custom/components/chat-shell/src/shell.scss.js +1 -1
- package/es-custom/components/chat-shell/src/slot-observer.js +3 -3
- package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
- package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/workspace-manager.js +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +2 -355
- package/es-custom/components/code-snippet/src/code-snippet.js +3 -3
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +2 -2
- package/es-custom/components/feedback/src/feedback-buttons.js +1 -1
- package/es-custom/components/feedback/src/feedback-buttons.scss.js +1 -1
- package/es-custom/components/feedback/src/feedback.d.ts +2 -2
- package/es-custom/components/feedback/src/feedback.js +3 -3
- package/es-custom/components/feedback/src/feedback.scss.js +1 -1
- package/es-custom/components/markdown/src/markdown-renderer.js +7 -7
- package/es-custom/components/markdown/src/markdown.d.ts +2 -2
- package/es-custom/components/markdown/src/markdown.js +3 -3
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/markdown/src/markdown.scss.js +1 -1
- package/es-custom/components/markdown/src/markdown.template.js +1 -1
- package/es-custom/components/markdown/src/utils/table-helpers.d.ts +1 -1
- package/es-custom/components/markdown/src/utils/table-helpers.js +1 -1
- package/es-custom/components/processing/src/processing.d.ts +2 -2
- package/es-custom/components/processing/src/processing.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +1 -1
- package/es-custom/components/shared/media-utils/script-loader.js +3 -2
- package/es-custom/components/shared/media-utils/script-loader.js.map +1 -1
- package/es-custom/components/table/src/table.d.ts +2 -2
- package/es-custom/components/table/src/table.js +1 -1
- package/es-custom/components/toolbar/src/toolbar.d.ts +6 -1
- package/es-custom/components/toolbar/src/toolbar.js +41 -3
- 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/truncated-text/src/truncated-text.d.ts +3 -3
- package/es-custom/components/truncated-text/src/truncated-text.js +2 -2
- package/es-custom/components/truncated-text/src/truncated-text.scss.js +1 -1
- package/es-custom/components/video-player/src/providers/native-video-provider.js +2 -1
- package/es-custom/components/video-player/src/providers/native-video-provider.js.map +1 -1
- package/es-custom/components/video-player/src/video-player.d.ts +5 -5
- package/es-custom/components/video-player/src/video-player.js +9 -9
- package/es-custom/components/video-player/src/video-player.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +5 -5
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
- package/es-custom/globals/settings.d.ts +1 -1
- package/es-custom/globals/settings.js +1 -1
- package/es-custom/react/audio-player.js +5 -5
- package/es-custom/react/card.js +4 -4
- package/es-custom/react/chain-of-thought-step.js +1 -1
- package/es-custom/react/chain-of-thought-toggle.js +1 -1
- package/es-custom/react/chain-of-thought.js +1 -1
- package/es-custom/react/chat-button.js +1 -1
- package/es-custom/react/chat-header.js +1 -1
- package/es-custom/react/chat-shell.js +1 -1
- package/es-custom/react/code-snippet.js +1 -1
- package/es-custom/react/feedback-buttons.js +1 -1
- package/es-custom/react/feedback.js +1 -1
- package/es-custom/react/history/history-content.js +1 -1
- package/es-custom/react/history/history-delete-panel.js +1 -1
- package/es-custom/react/history/history-header.js +1 -1
- package/es-custom/react/history/history-loading.js +1 -1
- package/es-custom/react/history/history-panel-item-input.js +1 -1
- package/es-custom/react/history/history-panel-item.js +1 -1
- package/es-custom/react/history/history-panel-items.js +1 -1
- package/es-custom/react/history/history-panel-menu.js +1 -1
- package/es-custom/react/history/history-panel.js +1 -1
- package/es-custom/react/history/history-search-item.js +1 -1
- package/es-custom/react/history/history-shell.js +1 -1
- package/es-custom/react/history/history-toolbar.js +1 -1
- package/es-custom/react/markdown.js +1 -1
- package/es-custom/react/panel.js +1 -1
- package/es-custom/react/processing.js +1 -1
- package/es-custom/react/reasoning-step.js +1 -1
- package/es-custom/react/reasoning-steps-toggle.js +1 -1
- package/es-custom/react/reasoning-steps.js +1 -1
- package/es-custom/react/tool-call-data.js +1 -1
- package/es-custom/react/toolbar.js +1 -1
- package/es-custom/react/transcript.js +2 -2
- package/es-custom/react/video-player.js +5 -5
- package/es-custom/react/workspace-shell.js +5 -5
- package/package.json +10 -9
- package/scss/_utilities.scss +1 -0
- package/telemetry.yml +4 -0
|
@@ -27,7 +27,7 @@ import '../../truncated-text/src/truncated-text.js';
|
|
|
27
27
|
/**
|
|
28
28
|
* Workspace Shell Header.
|
|
29
29
|
*
|
|
30
|
-
* @element cds-aichat-workspace-shell-header
|
|
30
|
+
* @element cds-custom-aichat-workspace-shell-header
|
|
31
31
|
*
|
|
32
32
|
* @slot header-description - Represents the description area in the Header.
|
|
33
33
|
* @slot header-action - Represents the action area in the workspace.
|
|
@@ -92,11 +92,11 @@ let CDSAIChatWorkspaceShellHeader = class CDSAIChatWorkspaceShellHeader extends
|
|
|
92
92
|
html `
|
|
93
93
|
<summary class="${prefix}-workspace-shell__header-summary">
|
|
94
94
|
<h1 class="${prefix}-workspace-shell__header-title">
|
|
95
|
-
<cds-aichat-truncated-text
|
|
95
|
+
<cds-custom-aichat-truncated-text
|
|
96
96
|
value=${titleText}
|
|
97
97
|
lines="1"
|
|
98
98
|
type="tooltip"
|
|
99
|
-
></cds-aichat-truncated-text>
|
|
99
|
+
></cds-custom-aichat-truncated-text>
|
|
100
100
|
</h1>
|
|
101
101
|
<span class="${prefix}-workspace-shell__header-chevron">
|
|
102
102
|
${iconLoader(ChevronDown16)}
|
|
@@ -115,11 +115,11 @@ let CDSAIChatWorkspaceShellHeader = class CDSAIChatWorkspaceShellHeader extends
|
|
|
115
115
|
${titleText &&
|
|
116
116
|
html `
|
|
117
117
|
<h1 class="${prefix}-workspace-shell__header-title">
|
|
118
|
-
<cds-aichat-truncated-text
|
|
118
|
+
<cds-custom-aichat-truncated-text
|
|
119
119
|
value=${titleText}
|
|
120
120
|
lines="1"
|
|
121
121
|
type="tooltip"
|
|
122
|
-
></cds-aichat-truncated-text>
|
|
122
|
+
></cds-custom-aichat-truncated-text>
|
|
123
123
|
</h1>
|
|
124
124
|
`}
|
|
125
125
|
${headerContent}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { css } from 'lit';
|
|
9
9
|
|
|
10
|
-
var styles = css([":host(cds-aichat-workspace-shell-header){border-block-end:solid .0625rem var(--cds-chat-bubble-border,#e0e0e0);color:var(--cds-text-secondary,#525252);font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);padding:1.5rem 2rem}@media (max-width:41.98rem){:host(cds-aichat-workspace-shell-header){gap:16px;grid-auto-flow:row}}:host(cds-aichat-workspace-shell-header) ::marker{content:\"\"}:host(cds-aichat-workspace-shell-header) ::-webkit-details-marker{display:none}.cds-aichat-workspace-shell__header-details{cursor:pointer}.cds-aichat-workspace-shell__header-details:open{overflow:auto}.cds-aichat-workspace-shell__header-details:open .cds-aichat-workspace-shell__header-chevron{transform:rotate(180deg)}.cds-aichat-workspace-shell__header-content{display:flex;flex-direction:column;gap:1rem}.cds-aichat-workspace-shell__header-title{color:var(--cds-text-primary,#161616);font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}.cds-aichat-workspace-shell__header-sub-title{color:var(--cds-text-secondary,#525252);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin-block-start:-.875rem}.cds-aichat-workspace-shell__header-summary{align-items:baseline;display:flex;justify-content:space-between}"]);
|
|
10
|
+
var styles = css([":host(cds-custom-aichat-workspace-shell-header){border-block-end:solid .0625rem var(--cds-chat-bubble-border,#e0e0e0);color:var(--cds-text-secondary,#525252);font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);padding:1.5rem 2rem}@media (max-width:41.98rem){:host(cds-custom-aichat-workspace-shell-header){gap:16px;grid-auto-flow:row}}:host(cds-custom-aichat-workspace-shell-header) ::marker{content:\"\"}:host(cds-custom-aichat-workspace-shell-header) ::-webkit-details-marker{display:none}.cds-custom-aichat-workspace-shell__header-details{cursor:pointer}.cds-custom-aichat-workspace-shell__header-details:open{overflow:auto}.cds-custom-aichat-workspace-shell__header-details:open .cds-custom-aichat-workspace-shell__header-chevron{transform:rotate(180deg)}.cds-custom-aichat-workspace-shell__header-content{display:flex;flex-direction:column;gap:1rem}.cds-custom-aichat-workspace-shell__header-title{color:var(--cds-text-primary,#161616);font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}.cds-custom-aichat-workspace-shell__header-sub-title{color:var(--cds-text-secondary,#525252);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin-block-start:-.875rem}.cds-custom-aichat-workspace-shell__header-summary{align-items:baseline;display:flex;justify-content:space-between}"]);
|
|
11
11
|
|
|
12
12
|
export { styles as default };
|
|
13
13
|
//# sourceMappingURL=workspace-shell-header.scss.js.map
|
|
@@ -2,7 +2,7 @@ import { LitElement, PropertyValues } from "lit";
|
|
|
2
2
|
/**
|
|
3
3
|
* Workspace Shell.
|
|
4
4
|
*
|
|
5
|
-
* @element cds-aichat-workspace-shell
|
|
5
|
+
* @element cds-custom-aichat-workspace-shell
|
|
6
6
|
* @slot toolbar - Represents the toolbar area of the workspace.
|
|
7
7
|
* @slot header - Represents the header section, containing title, subtitle and actions.
|
|
8
8
|
* @slot notification - Area for displaying workspace notifications.
|
|
@@ -25,7 +25,7 @@ import { HeaderCollapsibleManager } from './header-collapsible-manager.js';
|
|
|
25
25
|
/**
|
|
26
26
|
* Workspace Shell.
|
|
27
27
|
*
|
|
28
|
-
* @element cds-aichat-workspace-shell
|
|
28
|
+
* @element cds-custom-aichat-workspace-shell
|
|
29
29
|
* @slot toolbar - Represents the toolbar area of the workspace.
|
|
30
30
|
* @slot header - Represents the header section, containing title, subtitle and actions.
|
|
31
31
|
* @slot notification - Area for displaying workspace notifications.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { css } from 'lit';
|
|
9
9
|
|
|
10
|
-
var styles = css([":host(cds-aichat-workspace-shell){background-color:var(--cds-chat-shell-background);block-size:100%;border:.0625rem solid var(--cds-chat-bubble-border,#e0e0e0);border-radius:.5rem;box-shadow:-10px 0 100px -24px var(--cds-ai-popover-shadow-outer-01,rgba(0,67,206,.06)),0 10px 40px -24px var(--cds-ai-popover-shadow-outer-02,rgba(0,0,0,.04));box-sizing:border-box!important;color:var(--cds-text-secondary,#525252);display:flex;flex-direction:column;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);min-block-size:25rem}:host(cds-aichat-workspace-shell) slot[name=toolbar]{flex-shrink:0;min-inline-size:0}:host(cds-aichat-workspace-shell) slot[name=notification]{flex-shrink:0}:host(cds-aichat-workspace-shell) ::slotted([slot=notification]){box-sizing:border-box;max-inline-size:100%!important}:host(cds-aichat-workspace-shell) slot[name=header]{flex-shrink:0}:host(cds-aichat-workspace-shell) slot[name=body]{flex:1 1 auto;min-block-size:0}:host(cds-aichat-workspace-shell) slot[name=footer]{flex-shrink:0}::slotted(cds-aichat-toolbar){border-block-end:.0625rem solid var(--cds-chat-bubble-border);box-sizing:border-box;inline-size:100%;max-inline-size:100%;min-inline-size:0}.cds-aichat-workspace-shell__toolbar-action{display:grid;grid-auto-columns:2.5rem;grid-auto-flow:column}.cds-aichat-workspace-shell__toolbar-action ::slotted(cds-custom-ai-label){block-size:2.5rem}:host(cds-aichat-workspace-shell-body){display:flex;flex-direction:column;min-block-size:0;overflow:auto;padding:1.5rem 2rem}"]);
|
|
10
|
+
var styles = css([":host(cds-custom-aichat-workspace-shell){background-color:var(--cds-chat-shell-background);block-size:100%;border:.0625rem solid var(--cds-chat-bubble-border,#e0e0e0);border-radius:.5rem;box-shadow:-10px 0 100px -24px var(--cds-ai-popover-shadow-outer-01,rgba(0,67,206,.06)),0 10px 40px -24px var(--cds-ai-popover-shadow-outer-02,rgba(0,0,0,.04));box-sizing:border-box!important;color:var(--cds-text-secondary,#525252);display:flex;flex-direction:column;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);min-block-size:25rem}:host(cds-custom-aichat-workspace-shell) slot[name=toolbar]{flex-shrink:0;min-inline-size:0}:host(cds-custom-aichat-workspace-shell) slot[name=notification]{flex-shrink:0}:host(cds-custom-aichat-workspace-shell) ::slotted([slot=notification]){box-sizing:border-box;max-inline-size:100%!important}:host(cds-custom-aichat-workspace-shell) slot[name=header]{flex-shrink:0}:host(cds-custom-aichat-workspace-shell) slot[name=body]{flex:1 1 auto;min-block-size:0}:host(cds-custom-aichat-workspace-shell) slot[name=footer]{flex-shrink:0}::slotted(cds-custom-aichat-toolbar){border-block-end:.0625rem solid var(--cds-chat-bubble-border);box-sizing:border-box;inline-size:100%;max-inline-size:100%;min-inline-size:0}.cds-custom-aichat-workspace-shell__toolbar-action{display:grid;grid-auto-columns:2.5rem;grid-auto-flow:column}.cds-custom-aichat-workspace-shell__toolbar-action ::slotted(cds-custom-ai-label){block-size:2.5rem}:host(cds-custom-aichat-workspace-shell-body){display:flex;flex-direction:column;min-block-size:0;overflow:auto;padding:1.5rem 2rem}"]);
|
|
11
11
|
|
|
12
12
|
export { styles as default };
|
|
13
13
|
//# sourceMappingURL=workspace-shell.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const prefix = "cds-aichat";
|
|
1
|
+
declare const prefix = "cds-custom-aichat";
|
|
2
2
|
export default prefix;
|
|
@@ -19,14 +19,14 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
|
20
20
|
*/
|
|
21
21
|
const AudioPlayer = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-audio-player",
|
|
22
|
+
tagName: "cds-custom-aichat-audio-player",
|
|
23
23
|
elementClass: CDSAIChatAudioPlayer,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
26
|
-
onPlay: "cds-aichat-audio-player-play",
|
|
27
|
-
onPause: "cds-aichat-audio-player-pause",
|
|
28
|
-
onReady: "cds-aichat-audio-player-ready",
|
|
29
|
-
onError: "cds-aichat-audio-player-error",
|
|
26
|
+
onPlay: "cds-custom-aichat-audio-player-play",
|
|
27
|
+
onPause: "cds-custom-aichat-audio-player-pause",
|
|
28
|
+
onReady: "cds-custom-aichat-audio-player-ready",
|
|
29
|
+
onError: "cds-custom-aichat-audio-player-error",
|
|
30
30
|
},
|
|
31
31
|
}));
|
|
32
32
|
// Made with Bob
|
package/es-custom/react/card.js
CHANGED
|
@@ -21,20 +21,20 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
21
21
|
* @license
|
|
22
22
|
*/
|
|
23
23
|
const Card = withWebComponentBridge(createComponent({
|
|
24
|
-
tagName: "cds-aichat-card",
|
|
24
|
+
tagName: "cds-custom-aichat-card",
|
|
25
25
|
elementClass: CDSAIChatCard,
|
|
26
26
|
react: React,
|
|
27
27
|
}));
|
|
28
28
|
const CardFooter = withWebComponentBridge(createComponent({
|
|
29
|
-
tagName: "cds-aichat-card-footer",
|
|
29
|
+
tagName: "cds-custom-aichat-card-footer",
|
|
30
30
|
elementClass: CDSAIChatCardFooter,
|
|
31
31
|
react: React,
|
|
32
32
|
events: {
|
|
33
|
-
onFooterAction: "cds-aichat-card-footer-action",
|
|
33
|
+
onFooterAction: "cds-custom-aichat-card-footer-action",
|
|
34
34
|
},
|
|
35
35
|
}));
|
|
36
36
|
const CardSteps = withWebComponentBridge(createComponent({
|
|
37
|
-
tagName: "cds-aichat-card-steps",
|
|
37
|
+
tagName: "cds-custom-aichat-card-steps",
|
|
38
38
|
elementClass: CDSAIChatCardSteps,
|
|
39
39
|
react: React,
|
|
40
40
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ChainOfThoughtStep = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-chain-of-thought-step",
|
|
22
|
+
tagName: "cds-custom-aichat-chain-of-thought-step",
|
|
23
23
|
elementClass: CDSAIChatChainOfThoughtStep,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ChainOfThoughtToggle = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-chain-of-thought-toggle",
|
|
22
|
+
tagName: "cds-custom-aichat-chain-of-thought-toggle",
|
|
23
23
|
elementClass: CDSAIChatChainOfThoughtToggle,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -20,7 +20,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
20
20
|
* @license
|
|
21
21
|
*/
|
|
22
22
|
const ChainOfThought = withWebComponentBridge(createComponent({
|
|
23
|
-
tagName: "cds-aichat-chain-of-thought",
|
|
23
|
+
tagName: "cds-custom-aichat-chain-of-thought",
|
|
24
24
|
elementClass: CDSAIChatChainOfThought,
|
|
25
25
|
react: React,
|
|
26
26
|
events: {
|
|
@@ -21,7 +21,7 @@ export { BUTTON_KIND as CHAT_BUTTON_KIND, BUTTON_TOOLTIP_ALIGNMENT as CHAT_BUTTO
|
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
22
|
*/
|
|
23
23
|
const ChatButton = withWebComponentBridge(createComponent({
|
|
24
|
-
tagName: "cds-aichat-button",
|
|
24
|
+
tagName: "cds-custom-aichat-button",
|
|
25
25
|
elementClass: AIChatButton,
|
|
26
26
|
react: React,
|
|
27
27
|
}));
|
|
@@ -14,7 +14,7 @@ import { transformReactIconToCarbonIcon } from './utils/iconTransform.js';
|
|
|
14
14
|
|
|
15
15
|
// Base chat header component from @lit/react
|
|
16
16
|
const BaseChatHeader = withWebComponentBridge(createComponent({
|
|
17
|
-
tagName: "cds-aichat-chat-header",
|
|
17
|
+
tagName: "cds-custom-aichat-chat-header",
|
|
18
18
|
elementClass: CdsAiChatChatHeader,
|
|
19
19
|
react: React,
|
|
20
20
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
|
20
20
|
*/
|
|
21
21
|
const CDSAIChatShell = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-shell",
|
|
22
|
+
tagName: "cds-custom-aichat-shell",
|
|
23
23
|
elementClass: CDSChatShellElement,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -14,7 +14,7 @@ import { transformReactIconToCarbonIcon } from './utils/iconTransform.js';
|
|
|
14
14
|
|
|
15
15
|
// Base code snippet component from @lit/react
|
|
16
16
|
const BaseCodeSnippet = withWebComponentBridge(createComponent({
|
|
17
|
-
tagName: "cds-aichat-code-snippet",
|
|
17
|
+
tagName: "cds-custom-aichat-code-snippet",
|
|
18
18
|
elementClass: CDSAIChatCodeSnippet,
|
|
19
19
|
react: React,
|
|
20
20
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const FeedbackButtons = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-feedback-buttons",
|
|
22
|
+
tagName: "cds-custom-aichat-feedback-buttons",
|
|
23
23
|
elementClass: CDSAIChatFeedbackButtons,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const Feedback = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-feedback",
|
|
22
|
+
tagName: "cds-custom-aichat-feedback",
|
|
23
23
|
elementClass: CDSAIChatFeedbackElement,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryContent = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-content",
|
|
22
|
+
tagName: "cds-custom-aichat-history-content",
|
|
23
23
|
elementClass: CDSAIChatHistoryContent,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryDeletePanel = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-delete-panel",
|
|
22
|
+
tagName: "cds-custom-aichat-history-delete-panel",
|
|
23
23
|
elementClass: CDSAIChatHistoryDeletePanel,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryHeader = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-header",
|
|
22
|
+
tagName: "cds-custom-aichat-history-header",
|
|
23
23
|
elementClass: CDSAIChatHistoryHeader,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryLoading = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-loading",
|
|
22
|
+
tagName: "cds-custom-aichat-history-loading",
|
|
23
23
|
elementClass: CDSAIChatHistoryLoading,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryPanelItemInput = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-panel-item-input",
|
|
22
|
+
tagName: "cds-custom-aichat-history-panel-item-input",
|
|
23
23
|
elementClass: CDSAIChatHistoryPanelItemInput,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryPanelItem = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-panel-item",
|
|
22
|
+
tagName: "cds-custom-aichat-history-panel-item",
|
|
23
23
|
elementClass: CDSAIChatHistoryPanelItem,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryPanelItems = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-panel-items",
|
|
22
|
+
tagName: "cds-custom-aichat-history-panel-items",
|
|
23
23
|
elementClass: CDSAIChatHistoryPanelItems,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryPanelMenu = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-panel-menu",
|
|
22
|
+
tagName: "cds-custom-aichat-history-panel-menu",
|
|
23
23
|
elementClass: CDSAIChatHistoryPanelMenu,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryPanel = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-panel",
|
|
22
|
+
tagName: "cds-custom-aichat-history-panel",
|
|
23
23
|
elementClass: CDSAIChatHistoryPanel,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistorySearchItem = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-search-item",
|
|
22
|
+
tagName: "cds-custom-aichat-history-search-item",
|
|
23
23
|
elementClass: CDSAIChatHistorySearchItem,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryShell = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-shell",
|
|
22
|
+
tagName: "cds-custom-aichat-history-shell",
|
|
23
23
|
elementClass: CDSAIChatHistoryShell,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from '../utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const HistoryToolbar = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-history-toolbar",
|
|
22
|
+
tagName: "cds-custom-aichat-history-toolbar",
|
|
23
23
|
elementClass: CDSAIChatHistoryToolbar,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const BaseMarkdown = createComponent({
|
|
22
|
-
tagName: "cds-aichat-markdown",
|
|
22
|
+
tagName: "cds-custom-aichat-markdown",
|
|
23
23
|
elementClass: CDSAIChatMarkdown,
|
|
24
24
|
react: React,
|
|
25
25
|
});
|
package/es-custom/react/panel.js
CHANGED
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const CDSAIChatPanel = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-panel",
|
|
22
|
+
tagName: "cds-custom-aichat-panel",
|
|
23
23
|
elementClass: CdsChatPanelElement,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const Processing = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-processing",
|
|
22
|
+
tagName: "cds-custom-aichat-processing",
|
|
23
23
|
elementClass: CDSAIChatProcessing,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ReasoningStep = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-reasoning-step",
|
|
22
|
+
tagName: "cds-custom-aichat-reasoning-step",
|
|
23
23
|
elementClass: CDSAIChatReasoningStep,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ReasoningStepsToggle = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-reasoning-steps-toggle",
|
|
22
|
+
tagName: "cds-custom-aichat-reasoning-steps-toggle",
|
|
23
23
|
elementClass: CDSAIChatReasoningStepsToggle,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ReasoningSteps = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-reasoning-steps",
|
|
22
|
+
tagName: "cds-custom-aichat-reasoning-steps",
|
|
23
23
|
elementClass: CDSAIChatReasoningSteps,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -19,7 +19,7 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* @license
|
|
20
20
|
*/
|
|
21
21
|
const ToolCallData = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-tool-call-data",
|
|
22
|
+
tagName: "cds-custom-aichat-tool-call-data",
|
|
23
23
|
elementClass: CDSAIChatToolCallData,
|
|
24
24
|
react: React,
|
|
25
25
|
}));
|
|
@@ -14,7 +14,7 @@ import { transformReactIconToCarbonIcon } from './utils/iconTransform.js';
|
|
|
14
14
|
|
|
15
15
|
// Base toolbar component from @lit/react
|
|
16
16
|
const BaseToolbar = withWebComponentBridge(createComponent({
|
|
17
|
-
tagName: "cds-aichat-toolbar",
|
|
17
|
+
tagName: "cds-custom-aichat-toolbar",
|
|
18
18
|
elementClass: CDSAIChatToolbar,
|
|
19
19
|
react: React,
|
|
20
20
|
}));
|
|
@@ -18,11 +18,11 @@ import TranscriptElement from '../components/audio-player/src/transcript.js';
|
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
19
|
*/
|
|
20
20
|
const Transcript = createComponent({
|
|
21
|
-
tagName: "cds-aichat-transcript",
|
|
21
|
+
tagName: "cds-custom-aichat-transcript",
|
|
22
22
|
elementClass: TranscriptElement,
|
|
23
23
|
react: React,
|
|
24
24
|
events: {
|
|
25
|
-
onTranscriptToggle: "cds-aichat-transcript-toggle",
|
|
25
|
+
onTranscriptToggle: "cds-custom-aichat-transcript-toggle",
|
|
26
26
|
},
|
|
27
27
|
displayName: "Transcript",
|
|
28
28
|
});
|
|
@@ -19,14 +19,14 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
|
20
20
|
*/
|
|
21
21
|
const VideoPlayer = withWebComponentBridge(createComponent({
|
|
22
|
-
tagName: "cds-aichat-video-player",
|
|
22
|
+
tagName: "cds-custom-aichat-video-player",
|
|
23
23
|
elementClass: CDSAIChatVideoPlayer,
|
|
24
24
|
react: React,
|
|
25
25
|
events: {
|
|
26
|
-
onPlay: "cds-aichat-video-player-play",
|
|
27
|
-
onPause: "cds-aichat-video-player-pause",
|
|
28
|
-
onReady: "cds-aichat-video-player-ready",
|
|
29
|
-
onError: "cds-aichat-video-player-error",
|
|
26
|
+
onPlay: "cds-custom-aichat-video-player-play",
|
|
27
|
+
onPause: "cds-custom-aichat-video-player-pause",
|
|
28
|
+
onReady: "cds-custom-aichat-video-player-ready",
|
|
29
|
+
onError: "cds-custom-aichat-video-player-error",
|
|
30
30
|
},
|
|
31
31
|
}));
|
|
32
32
|
// Made with Bob
|
|
@@ -22,26 +22,26 @@ import { withWebComponentBridge } from './utils/withWebComponentBridge.js';
|
|
|
22
22
|
* @license
|
|
23
23
|
*/
|
|
24
24
|
const WorkspaceShell = withWebComponentBridge(createComponent({
|
|
25
|
-
tagName: "cds-aichat-workspace-shell",
|
|
25
|
+
tagName: "cds-custom-aichat-workspace-shell",
|
|
26
26
|
elementClass: CDSAIChatWorkspaceShell,
|
|
27
27
|
react: React,
|
|
28
28
|
}));
|
|
29
29
|
const WorkspaceShellHeader = withWebComponentBridge(createComponent({
|
|
30
|
-
tagName: "cds-aichat-workspace-shell-header",
|
|
30
|
+
tagName: "cds-custom-aichat-workspace-shell-header",
|
|
31
31
|
elementClass: CDSAIChatWorkspaceShellHeader,
|
|
32
32
|
react: React,
|
|
33
33
|
}));
|
|
34
34
|
const WorkspaceShellBody = withWebComponentBridge(createComponent({
|
|
35
|
-
tagName: "cds-aichat-workspace-shell-body",
|
|
35
|
+
tagName: "cds-custom-aichat-workspace-shell-body",
|
|
36
36
|
elementClass: CDSAIChatWorkspaceShellBody,
|
|
37
37
|
react: React,
|
|
38
38
|
}));
|
|
39
39
|
const WorkspaceShellFooter = withWebComponentBridge(createComponent({
|
|
40
|
-
tagName: "cds-aichat-workspace-shell-footer",
|
|
40
|
+
tagName: "cds-custom-aichat-workspace-shell-footer",
|
|
41
41
|
elementClass: CDSAIChatWorkspaceShellFooter,
|
|
42
42
|
react: React,
|
|
43
43
|
events: {
|
|
44
|
-
onFooterClicked: "cds-aichat-workspace-shell-footer-clicked",
|
|
44
|
+
onFooterClicked: "cds-custom-aichat-workspace-shell-footer-clicked",
|
|
45
45
|
},
|
|
46
46
|
}));
|
|
47
47
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ai-chat-components",
|
|
3
3
|
"description": "AI Chat Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
"./es/*": "./es/*",
|
|
18
18
|
"./es-custom/*": "./es-custom/*",
|
|
19
|
-
"./es/globals
|
|
19
|
+
"./es/globals/*": "./es/globals/*",
|
|
20
20
|
"./scss/*": "./scss/*",
|
|
21
21
|
"./custom-elements.json": "./custom-elements.json",
|
|
22
22
|
"./package.json": "./package.json"
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@carbon/icon-helpers": "^10.47.0",
|
|
53
53
|
"@carbon/icons": "^11.53.0",
|
|
54
|
-
"@carbon/styles": "
|
|
54
|
+
"@carbon/styles": "1.104.0",
|
|
55
55
|
"@carbon/utilities": "^0.18.0",
|
|
56
|
-
"@carbon/web-components": "^2.
|
|
56
|
+
"@carbon/web-components": "^2.51.1",
|
|
57
57
|
"@codemirror/autocomplete": "^6.20.0",
|
|
58
58
|
"@codemirror/commands": "^6.10.1",
|
|
59
59
|
"@codemirror/lang-angular": "^0.1.4",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"csv-stringify": "^6.5.2",
|
|
89
89
|
"dompurify": "^3.1.6",
|
|
90
90
|
"lit": "^3.1.0",
|
|
91
|
-
"lodash-es": "^4.
|
|
91
|
+
"lodash-es": "^4.18.1",
|
|
92
92
|
"markdown-it": "^14.1.0",
|
|
93
93
|
"program-language-detector": "^0.0.12",
|
|
94
94
|
"tslib": "^2.6.3"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
107
107
|
"@happy-dom/jest-environment": "^20.0.2",
|
|
108
108
|
"@isaacs/brace-expansion": "^5.0.0",
|
|
109
|
-
"@mordech/vite-lit-loader": "^0.
|
|
109
|
+
"@mordech/vite-lit-loader": "^0.40.0",
|
|
110
110
|
"@open-wc/testing": "4.0.0",
|
|
111
111
|
"@rollup/plugin-alias": "^6.0.0",
|
|
112
112
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
@@ -144,8 +144,9 @@
|
|
|
144
144
|
"rollup-plugin-postcss-lit": "^2.1.0",
|
|
145
145
|
"storybook": "^10.2.8",
|
|
146
146
|
"typescript": "^5.2.2",
|
|
147
|
-
"vite": "^8.0.
|
|
148
|
-
"web-dev-server-plugin-lit-css": "^4.0.0"
|
|
147
|
+
"vite": "^8.0.5",
|
|
148
|
+
"web-dev-server-plugin-lit-css": "^4.0.0",
|
|
149
|
+
"webpack-dev-server": "^5.2.3"
|
|
149
150
|
},
|
|
150
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "14c0747bdf6f513b47339cc998c572319ef6ba13"
|
|
151
152
|
}
|
package/scss/_utilities.scss
CHANGED
package/telemetry.yml
CHANGED
|
@@ -55,6 +55,10 @@ collect:
|
|
|
55
55
|
- oncds-aichat-card-footer-action
|
|
56
56
|
# cds-aichat-card-steps
|
|
57
57
|
- steps
|
|
58
|
+
# cds-aichat-carousel
|
|
59
|
+
- nextBtnText
|
|
60
|
+
- oncds-aichat-carousel-onchange
|
|
61
|
+
- previousBtnText
|
|
58
62
|
# cds-aichat-chain-of-thought
|
|
59
63
|
- onchain-of-thought-toggled
|
|
60
64
|
# cds-aichat-chain-of-thought-step
|