@epam/ai-dial-conversation-messages 1.0.0-dev.469 → 1.0.0-dev.473
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/components/{Message → MessageActions}/MessageActions.d.ts +1 -1
- package/components/MessageActions/MessageActions.d.ts.map +1 -0
- package/components/MessageBubble/AssistantMessageBubble.d.ts +2 -2
- package/components/MessageBubble/AssistantMessageBubble.d.ts.map +1 -1
- package/components/MessageBubble/MessageBubble.d.ts +1 -1
- package/components/MessageBubble/MessageBubble.d.ts.map +1 -1
- package/components/MessageBubble/StatusMessageBubble.d.ts.map +1 -1
- package/components/MessageBubble/UserMessageBubble.d.ts +2 -2
- package/components/MessageBubble/UserMessageBubble.d.ts.map +1 -1
- package/components/MessageSource/MessageSource.d.ts +1 -1
- package/components/MessageSource/MessageSource.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +278 -234
- package/models/{MessageActions.d.ts → message-actions.d.ts} +16 -5
- package/models/message-actions.d.ts.map +1 -0
- package/models/{MessageBubble.d.ts → message-bubble.d.ts} +77 -150
- package/models/message-bubble.d.ts.map +1 -0
- package/models/{MessageSource.d.ts → message-source.d.ts} +4 -10
- package/models/message-source.d.ts.map +1 -0
- package/package.json +4 -4
- package/components/Message/MessageActions.d.ts.map +0 -1
- package/models/MessageActions.d.ts.map +0 -1
- package/models/MessageBubble.d.ts.map +0 -1
- package/models/MessageSource.d.ts.map +0 -1
|
@@ -36,6 +36,19 @@ export interface MessageActionAriaLabels {
|
|
|
36
36
|
likeResponse?: string;
|
|
37
37
|
/** aria-label for the Dislike button. */
|
|
38
38
|
dislikeResponse?: string;
|
|
39
|
+
/** Accessible name for the action bar as a whole, exposed via `role="toolbar"`. */
|
|
40
|
+
actionsGroup?: string;
|
|
41
|
+
/** Status message announced to assistive tech after copying the response text. */
|
|
42
|
+
copiedStatus?: string;
|
|
43
|
+
/** Status message announced to assistive tech after copying the response as Markdown. */
|
|
44
|
+
copiedMarkdownStatus?: string;
|
|
45
|
+
}
|
|
46
|
+
/** Tooltip and accessible label overrides for the `MessageActions` component. */
|
|
47
|
+
export interface MessageActionLabels {
|
|
48
|
+
/** Override tooltip labels for individual action buttons. */
|
|
49
|
+
tooltips?: MessageActionTooltips;
|
|
50
|
+
/** Override accessible labels (aria-label) for individual action buttons. */
|
|
51
|
+
ariaLabels?: MessageActionAriaLabels;
|
|
39
52
|
}
|
|
40
53
|
/** Props accepted by the `MessageActions` component. */
|
|
41
54
|
export interface MessageActionsProps {
|
|
@@ -45,10 +58,8 @@ export interface MessageActionsProps {
|
|
|
45
58
|
className?: string;
|
|
46
59
|
/** When `true`, actions are always visible instead of appearing only on group hover. */
|
|
47
60
|
isAlwaysVisible?: boolean;
|
|
48
|
-
/** Override tooltip labels for individual action buttons. */
|
|
49
|
-
|
|
50
|
-
/** Override accessible labels (aria-label) for individual action buttons. */
|
|
51
|
-
ariaLabels?: MessageActionAriaLabels;
|
|
61
|
+
/** Override tooltip and accessible labels for individual action buttons. */
|
|
62
|
+
labels?: MessageActionLabels;
|
|
52
63
|
/** Called when the user clicks the Edit button (User source only). */
|
|
53
64
|
onEdit?: () => void;
|
|
54
65
|
/** Called when the user hovers over the Edit button (User source only). Useful for preloading the edit UI. */
|
|
@@ -68,4 +79,4 @@ export interface MessageActionsProps {
|
|
|
68
79
|
/** Currently active rating for this message, if any. When set, the matching button is visually highlighted. */
|
|
69
80
|
activeRating?: MessageRating;
|
|
70
81
|
}
|
|
71
|
-
//# sourceMappingURL=
|
|
82
|
+
//# sourceMappingURL=message-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-actions.d.ts","sourceRoot":"","sources":["../../src/models/message-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEvE,mIAAmI;AACnI,MAAM,WAAW,qBAAqB;I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I,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wFAAwF;IACxF,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,8GAA8G;IAC9G,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+GAA+G;IAC/G,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B"}
|
|
@@ -2,11 +2,15 @@ import { CodeBlockTheme, DisplayAttachment, MessageRole, StarterOption } from '@
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { Components } from 'react-markdown';
|
|
4
4
|
import { BubblePosition } from '../types/bubble-position';
|
|
5
|
-
import { MessageActionsProps } from './
|
|
5
|
+
import { MessageActionsProps } from './message-actions';
|
|
6
6
|
/** CSS custom-property overrides for message bubble components. */
|
|
7
7
|
export interface MessageBubbleColors {
|
|
8
8
|
/** Background color of the user message bubble. */
|
|
9
9
|
userBackground?: string;
|
|
10
|
+
/** Border color of the user message bubble. */
|
|
11
|
+
userBorder?: string;
|
|
12
|
+
/** Starting color of the fade-out gradient shown over a collapsed user message. Defaults to transparent. */
|
|
13
|
+
fadeStart?: string;
|
|
10
14
|
/** Text color applied to all message bubbles. */
|
|
11
15
|
text?: string;
|
|
12
16
|
/** Border color of the divider line above quick-reply starter buttons. Falls back to `--color-secondary` when omitted. */
|
|
@@ -14,16 +18,8 @@ export interface MessageBubbleColors {
|
|
|
14
18
|
}
|
|
15
19
|
/** Typography overrides for message bubble components. */
|
|
16
20
|
export interface MessageBubbleTypography {
|
|
17
|
-
/** Tailwind (or custom) class applied to message text
|
|
21
|
+
/** Tailwind (or custom) class applied to message text. */
|
|
18
22
|
fontClassName?: string;
|
|
19
|
-
/** Font family of message text (CSS value, e.g. `"'Inter', sans-serif"`). Ignored when `fontClassName` is set. */
|
|
20
|
-
fontFamily?: string;
|
|
21
|
-
/** Font size of message text (CSS value, e.g. `'16px'`). Ignored when `fontClassName` is set. */
|
|
22
|
-
fontSize?: string;
|
|
23
|
-
/** Font weight of message text. Ignored when `fontClassName` is set. */
|
|
24
|
-
fontWeight?: string | number;
|
|
25
|
-
/** Line height of message text (CSS value, e.g. `'1.5'`). Ignored when `fontClassName` is set. */
|
|
26
|
-
lineHeight?: string;
|
|
27
23
|
}
|
|
28
24
|
/** Combined style overrides (colors and typography) for message bubble components. */
|
|
29
25
|
export interface MessageBubbleStyles {
|
|
@@ -31,32 +27,13 @@ export interface MessageBubbleStyles {
|
|
|
31
27
|
colors?: MessageBubbleColors;
|
|
32
28
|
/** Typography overrides applied via CSS custom properties. */
|
|
33
29
|
typography?: MessageBubbleTypography;
|
|
34
|
-
}
|
|
35
|
-
/** Shared props for user and assistant message bubble components. */
|
|
36
|
-
interface BaseMessageBubbleProps {
|
|
37
|
-
/** Plain-text (or Markdown) content of the message. */
|
|
38
|
-
text: string;
|
|
39
30
|
/** Extra class name(s) merged onto the outer row wrapper. */
|
|
40
31
|
className?: string;
|
|
41
32
|
/** Extra class name(s) merged onto the bubble element itself. */
|
|
42
33
|
bubbleClassName?: string;
|
|
43
|
-
/** Color and typography overrides applied as CSS custom properties. */
|
|
44
|
-
styles?: MessageBubbleStyles;
|
|
45
|
-
/** Props forwarded to the `MessageActions` bar rendered below the bubble. */
|
|
46
|
-
actions?: MessageActionsProps;
|
|
47
|
-
/** When `true`, the actions bar is always visible instead of appearing only on group hover. */
|
|
48
|
-
hasAlwaysVisibleActions?: boolean;
|
|
49
|
-
/** When `true`, assistant markdown text reveals newly appended content smoothly. */
|
|
50
|
-
isStreaming?: boolean;
|
|
51
|
-
/** Display attachments associated with the message. Rendered above text for user messages and below text for assistant messages. */
|
|
52
|
-
attachments?: DisplayAttachment[];
|
|
53
34
|
}
|
|
54
|
-
/**
|
|
55
|
-
export interface
|
|
56
|
-
/** Position within a message group — controls which corner is rounded. Defaults to `BubblePosition.Bottom`. */
|
|
57
|
-
position?: BubblePosition;
|
|
58
|
-
/** Maximum number of text lines shown while a long user message is collapsed. Defaults to `10`. */
|
|
59
|
-
collapsedLineCount?: number;
|
|
35
|
+
/** Localised labels for message bubble components. */
|
|
36
|
+
export interface MessageBubbleLabels {
|
|
60
37
|
/** Button label shown when a collapsed user message can be expanded. Defaults to `"Show more"`. */
|
|
61
38
|
showMoreLabel?: string;
|
|
62
39
|
/** Button label shown when an expanded user message can be collapsed. Defaults to `"Show less"`. */
|
|
@@ -65,32 +42,61 @@ export interface UserMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
65
42
|
showMoreAriaLabel?: string;
|
|
66
43
|
/** Accessible label for the collapse button. Defaults to the `showLessLabel` value. */
|
|
67
44
|
showLessAriaLabel?: string;
|
|
68
|
-
/**
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
|
|
72
|
-
* activates the group's "download all" action. Passed through to
|
|
73
|
-
* `AttachmentGroup`.
|
|
74
|
-
*/
|
|
75
|
-
onDownloadAll?: (attachments: DisplayAttachment[]) => void;
|
|
45
|
+
/** Accessible name for the message region, exposed via `role="group"`. Defaults to `"User message"`. */
|
|
46
|
+
userMessageAriaLabel?: string;
|
|
47
|
+
/** Accessible name for the message region, exposed via `role="group"`. Defaults to `"Assistant message"`. */
|
|
48
|
+
assistantMessageAriaLabel?: string;
|
|
76
49
|
/** Accessible label forwarded to each attachment tile/row when it is interactive. */
|
|
77
50
|
attachmentClickLabel?: string;
|
|
78
|
-
/** Called when the user retries a failed attachment upload. */
|
|
79
|
-
onAttachmentRetry?: (id: string) => void;
|
|
80
51
|
/** Accessible label for each attachment row's retry action. */
|
|
81
52
|
attachmentRetryLabel?: string;
|
|
82
|
-
/** Resolves a human-readable size label for an attachment, when derivable. Omitted from display when absent. */
|
|
83
|
-
getAttachmentSizeLabel?: (attachment: DisplayAttachment) => string | undefined;
|
|
84
53
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* Forwarded to `AttachmentGroup`. Defaults to `'dark'`.
|
|
54
|
+
* Bold prefix text for the status message banner.
|
|
55
|
+
* Only used when `role === MessageRole.Status`. Defaults to `"Model switched."`.
|
|
88
56
|
*/
|
|
89
|
-
|
|
57
|
+
statusTitleText?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Full description text for the status message banner, e.g. "The model has been switched from GPT to Imagen."
|
|
60
|
+
* Required when `role === MessageRole.Status`.
|
|
61
|
+
*/
|
|
62
|
+
statusBodyText?: string;
|
|
90
63
|
}
|
|
91
|
-
/**
|
|
92
|
-
export interface
|
|
93
|
-
/**
|
|
64
|
+
/** Localised labels for the `AssistantMessageBubble` component. */
|
|
65
|
+
export interface AssistantMessageBubbleLabels extends MessageBubbleLabels {
|
|
66
|
+
/** Accessible label for the quick-reply buttons list. Defaults to `"Quick reply buttons"`. */
|
|
67
|
+
startersAriaLabel?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Label shown with a shimmer animation while `isStreaming` is true and the message text is still empty.
|
|
70
|
+
* Pass a translated string from the consuming app. Defaults to `'Thinking'`.
|
|
71
|
+
*/
|
|
72
|
+
thinkingLabel?: string;
|
|
73
|
+
/** Accessible label for the copy button in code blocks. Forwarded to `MDMessageViewer`. */
|
|
74
|
+
codeBlockCopyLabel?: string;
|
|
75
|
+
/** Accessible label for the copy button after copying. Forwarded to `MDMessageViewer`. */
|
|
76
|
+
codeBlockCopiedLabel?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Fallback accessible name for the deployment icon when `deploymentDisplayName`
|
|
79
|
+
* is not supplied. Defaults to `'AI'`.
|
|
80
|
+
*/
|
|
81
|
+
deploymentIconFallbackLabel?: string;
|
|
82
|
+
}
|
|
83
|
+
/** Shared props for user and assistant message bubble components. */
|
|
84
|
+
interface BaseMessageBubbleProps {
|
|
85
|
+
/** Plain-text (or Markdown) content of the message. */
|
|
86
|
+
text: string;
|
|
87
|
+
/** Color and typography overrides applied as CSS custom properties. */
|
|
88
|
+
styles?: MessageBubbleStyles;
|
|
89
|
+
/** Props forwarded to the `MessageActions` bar rendered below the bubble. */
|
|
90
|
+
actions?: MessageActionsProps;
|
|
91
|
+
/** When `true`, the actions bar is always visible instead of appearing only on group hover. */
|
|
92
|
+
hasAlwaysVisibleActions?: boolean;
|
|
93
|
+
/** When `true`, assistant markdown text reveals newly appended content smoothly. */
|
|
94
|
+
isStreaming?: boolean;
|
|
95
|
+
/** Display attachments associated with the message. Rendered above text for user messages and below text for assistant messages. */
|
|
96
|
+
attachments?: DisplayAttachment[];
|
|
97
|
+
/** Localised labels for the bubble's toggle button and attachment rows. */
|
|
98
|
+
labels?: MessageBubbleLabels;
|
|
99
|
+
/** Called when the user clicks an attachment tile/row. Passed through to `AttachmentGroup`. */
|
|
94
100
|
onAttachmentClick?: (attachment: DisplayAttachment) => void;
|
|
95
101
|
/**
|
|
96
102
|
* Called with every currently downloadable attachment when the user
|
|
@@ -98,12 +104,8 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
98
104
|
* `AttachmentGroup`.
|
|
99
105
|
*/
|
|
100
106
|
onDownloadAll?: (attachments: DisplayAttachment[]) => void;
|
|
101
|
-
/** Accessible label forwarded to each attachment tile/row when it is interactive. */
|
|
102
|
-
attachmentClickLabel?: string;
|
|
103
107
|
/** Called when the user retries a failed attachment upload. */
|
|
104
108
|
onAttachmentRetry?: (id: string) => void;
|
|
105
|
-
/** Accessible label for each attachment row's retry action. */
|
|
106
|
-
attachmentRetryLabel?: string;
|
|
107
109
|
/** Resolves a human-readable size label for an attachment, when derivable. Omitted from display when absent. */
|
|
108
110
|
getAttachmentSizeLabel?: (attachment: DisplayAttachment) => string | undefined;
|
|
109
111
|
/**
|
|
@@ -112,6 +114,16 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
112
114
|
* Forwarded to `AttachmentGroup`. Defaults to `'dark'`.
|
|
113
115
|
*/
|
|
114
116
|
attachmentTheme?: CodeBlockTheme;
|
|
117
|
+
}
|
|
118
|
+
/** Props accepted by the `UserMessageBubble` component. */
|
|
119
|
+
export interface UserMessageBubbleProps extends BaseMessageBubbleProps {
|
|
120
|
+
/** Position within a message group — controls which corner is rounded. Defaults to `BubblePosition.Bottom`. */
|
|
121
|
+
position?: BubblePosition;
|
|
122
|
+
/** Maximum number of text lines shown while a long user message is collapsed. Defaults to `10`. */
|
|
123
|
+
collapsedLineCount?: number;
|
|
124
|
+
}
|
|
125
|
+
/** Props accepted by the `AssistantMessageBubble` component. */
|
|
126
|
+
export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
115
127
|
/**
|
|
116
128
|
* react-markdown component overrides merged on top of the built-in map.
|
|
117
129
|
* Pass a custom `p` (or other element) renderer here to inject React nodes
|
|
@@ -125,8 +137,6 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
125
137
|
starters?: StarterOption[];
|
|
126
138
|
/** Called with the selected `StarterOption` when a quick-reply button is clicked. */
|
|
127
139
|
onSelectStarter?: (starter: StarterOption) => void;
|
|
128
|
-
/** Accessible label for the quick-reply buttons list. Defaults to `"Quick reply buttons"`. */
|
|
129
|
-
startersAriaLabel?: string;
|
|
130
140
|
/** Content rendered between the message body and the actions bar (e.g. a stages panel). */
|
|
131
141
|
afterContent?: ReactNode;
|
|
132
142
|
/**
|
|
@@ -136,102 +146,19 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
136
146
|
deploymentIconUrl?: string;
|
|
137
147
|
/** Human-readable deployment name shown as the icon's accessible label. */
|
|
138
148
|
deploymentDisplayName?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Label shown with a shimmer animation while `isStreaming` is true and the message text is still empty.
|
|
141
|
-
* Pass a translated string from the consuming app. Defaults to `'Thinking'`.
|
|
142
|
-
*/
|
|
143
|
-
thinkingLabel?: string;
|
|
144
|
-
/** Accessible label for the copy button in code blocks. Forwarded to `MDMessageViewer`. */
|
|
145
|
-
codeBlockCopyLabel?: string;
|
|
146
|
-
/** Accessible label for the copy button after copying. Forwarded to `MDMessageViewer`. */
|
|
147
|
-
codeBlockCopiedLabel?: string;
|
|
148
149
|
/** Syntax highlight color theme for code blocks. Forwarded to `MDMessageViewer`. Defaults to `'dark'`. */
|
|
149
150
|
codeBlockTheme?: CodeBlockTheme;
|
|
151
|
+
/** Localised labels for quick replies, the thinking indicator, and code block copy actions. */
|
|
152
|
+
labels?: AssistantMessageBubbleLabels;
|
|
150
153
|
}
|
|
151
|
-
/**
|
|
152
|
-
|
|
153
|
-
|
|
154
|
+
/**
|
|
155
|
+
* Props accepted by the `MessageBubble` role-switching wrapper — the union of
|
|
156
|
+
* `AssistantMessageBubbleProps` (the richer variant) with the user-only
|
|
157
|
+
* `position`/`collapsedLineCount` fields, plus the discriminant `role`.
|
|
158
|
+
*/
|
|
159
|
+
export type MessageBubbleProps = AssistantMessageBubbleProps & Pick<UserMessageBubbleProps, 'position' | 'collapsedLineCount'> & {
|
|
160
|
+
/** Whether the message was authored by the user, the assistant, or is a status banner. */
|
|
154
161
|
role: MessageRole;
|
|
155
|
-
|
|
156
|
-
position?: BubblePosition;
|
|
157
|
-
/** Maximum number of text lines shown while a long user message is collapsed. Forwarded to `UserMessageBubble`; ignored for assistant messages. */
|
|
158
|
-
collapsedLineCount?: number;
|
|
159
|
-
/** Button label shown when a collapsed user message can be expanded. Forwarded to `UserMessageBubble`; ignored for assistant messages. */
|
|
160
|
-
showMoreLabel?: string;
|
|
161
|
-
/** Button label shown when an expanded user message can be collapsed. Forwarded to `UserMessageBubble`; ignored for assistant messages. */
|
|
162
|
-
showLessLabel?: string;
|
|
163
|
-
/** Accessible label for the expand button. Forwarded to `UserMessageBubble`; ignored for assistant messages. */
|
|
164
|
-
showMoreAriaLabel?: string;
|
|
165
|
-
/** Accessible label for the collapse button. Forwarded to `UserMessageBubble`; ignored for assistant messages. */
|
|
166
|
-
showLessAriaLabel?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Quick-reply buttons derived from the assistant message's `form_schema`.
|
|
169
|
-
* Forwarded to `AssistantMessageBubble`; ignored for user messages.
|
|
170
|
-
*/
|
|
171
|
-
starters?: StarterOption[];
|
|
172
|
-
/** Called with the selected `StarterOption` when a quick-reply button is clicked. Forwarded to `AssistantMessageBubble`. */
|
|
173
|
-
onSelectStarter?: (starter: StarterOption) => void;
|
|
174
|
-
/** Accessible label for the quick-reply buttons list. Forwarded to `AssistantMessageBubble`; ignored for user messages. */
|
|
175
|
-
startersAriaLabel?: string;
|
|
176
|
-
/** Content rendered between the message body and the actions bar. Forwarded to `AssistantMessageBubble`; ignored for user messages. */
|
|
177
|
-
afterContent?: ReactNode;
|
|
178
|
-
/**
|
|
179
|
-
* Resolved deployment icon URL. Forwarded to `AssistantMessageBubble` when role is `Assistant`;
|
|
180
|
-
* used to render the `StatusMessageBubble` icon when role is `Status`.
|
|
181
|
-
* Omitted for legacy messages that pre-date this feature.
|
|
182
|
-
*/
|
|
183
|
-
deploymentIconUrl?: string;
|
|
184
|
-
/** Human-readable deployment name. Forwarded to `AssistantMessageBubble`; used in status message text when role is `Status`. */
|
|
185
|
-
deploymentDisplayName?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Bold prefix text for the status message banner.
|
|
188
|
-
* Only used when `role === MessageRole.Status`. Defaults to `"Model switched."`.
|
|
189
|
-
*/
|
|
190
|
-
statusTitleText?: string;
|
|
191
|
-
/**
|
|
192
|
-
* Full description text for the status message banner, e.g. "The model has been switched from GPT to Imagen."
|
|
193
|
-
* Required when `role === MessageRole.Status`.
|
|
194
|
-
*/
|
|
195
|
-
statusBodyText?: string;
|
|
196
|
-
/**
|
|
197
|
-
* Label shown with a shimmer animation while `isStreaming` is true and the message text is still empty.
|
|
198
|
-
* Forwarded to `AssistantMessageBubble`. Defaults to `'Thinking'`.
|
|
199
|
-
*/
|
|
200
|
-
thinkingLabel?: string;
|
|
201
|
-
/**
|
|
202
|
-
* react-markdown component overrides forwarded to `AssistantMessageBubble`.
|
|
203
|
-
* Ignored for user and status messages.
|
|
204
|
-
*/
|
|
205
|
-
markdownComponents?: Components;
|
|
206
|
-
/** Accessible label for the copy button in code blocks. Forwarded to `AssistantMessageBubble`. */
|
|
207
|
-
codeBlockCopyLabel?: string;
|
|
208
|
-
/** Accessible label for the copy button after copying. Forwarded to `AssistantMessageBubble`. */
|
|
209
|
-
codeBlockCopiedLabel?: string;
|
|
210
|
-
/** Syntax highlight color theme for code blocks. Forwarded to `AssistantMessageBubble`. Defaults to `'dark'`. */
|
|
211
|
-
codeBlockTheme?: CodeBlockTheme;
|
|
212
|
-
/** Called when the user clicks an attachment tile/row. Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`. */
|
|
213
|
-
onAttachmentClick?: (attachment: DisplayAttachment) => void;
|
|
214
|
-
/**
|
|
215
|
-
* Called with every currently downloadable attachment when the user
|
|
216
|
-
* activates the group's "download all" action. Forwarded to both
|
|
217
|
-
* `UserMessageBubble` and `AssistantMessageBubble`.
|
|
218
|
-
*/
|
|
219
|
-
onDownloadAll?: (attachments: DisplayAttachment[]) => void;
|
|
220
|
-
/** Accessible label forwarded to each attachment tile/row when it is interactive. Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`. */
|
|
221
|
-
attachmentClickLabel?: string;
|
|
222
|
-
/** Called when the user retries a failed attachment upload. Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`. */
|
|
223
|
-
onAttachmentRetry?: (id: string) => void;
|
|
224
|
-
/** Accessible label for each attachment row's retry action. Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`. */
|
|
225
|
-
attachmentRetryLabel?: string;
|
|
226
|
-
/** Resolves a human-readable size label for an attachment, when derivable. Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`. */
|
|
227
|
-
getAttachmentSizeLabel?: (attachment: DisplayAttachment) => string | undefined;
|
|
228
|
-
/**
|
|
229
|
-
* Surface color theme for non-previewable attachment tiles, matching the
|
|
230
|
-
* markdown code block's own light/dark surface (never plain white).
|
|
231
|
-
* Forwarded to both `UserMessageBubble` and `AssistantMessageBubble`.
|
|
232
|
-
* Defaults to `'dark'`.
|
|
233
|
-
*/
|
|
234
|
-
attachmentTheme?: CodeBlockTheme;
|
|
235
|
-
}
|
|
162
|
+
};
|
|
236
163
|
export {};
|
|
237
|
-
//# sourceMappingURL=
|
|
164
|
+
//# sourceMappingURL=message-bubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-bubble.d.ts","sourceRoot":"","sources":["../../src/models/message-bubble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,aAAa,EACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,mEAAmE;AACnE,MAAM,WAAW,mBAAmB;IAClC,mDAAmD;IACnD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,SAAS,CAAC,EAAE,MAAM,CAAC;IAC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;IAChC;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,qFAAqF;IACrF,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,2FAA2F;IAC3F,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,0GAA0G;IAC1G,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,+FAA+F;IAC/F,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,GAC1D,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,oBAAoB,CAAC,GAAG;IAChE,0FAA0F;IAC1F,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
|
|
@@ -13,14 +13,8 @@ export interface MessageSourceColors {
|
|
|
13
13
|
}
|
|
14
14
|
/** Typography overrides for the `MessageSource` component. */
|
|
15
15
|
export interface MessageSourceTypography {
|
|
16
|
-
/** Tailwind (or custom) class applied to the button
|
|
16
|
+
/** Tailwind (or custom) class applied to the button. */
|
|
17
17
|
fontClassName?: string;
|
|
18
|
-
/** Font size of the label (CSS value, e.g. `'10px'`). Ignored when `fontClassName` is set. */
|
|
19
|
-
fontSize?: string;
|
|
20
|
-
/** Font weight of the label. Ignored when `fontClassName` is set. */
|
|
21
|
-
fontWeight?: string | number;
|
|
22
|
-
/** Line height of the label (CSS value, e.g. `'0.75rem'`). Ignored when `fontClassName` is set. */
|
|
23
|
-
lineHeight?: string;
|
|
24
18
|
}
|
|
25
19
|
/** Combined style overrides (colors and typography) for the `MessageSource` component. */
|
|
26
20
|
export interface MessageSourceStyles {
|
|
@@ -28,16 +22,16 @@ export interface MessageSourceStyles {
|
|
|
28
22
|
colors?: MessageSourceColors;
|
|
29
23
|
/** Typography overrides applied via CSS custom properties. */
|
|
30
24
|
typography?: MessageSourceTypography;
|
|
25
|
+
/** Extra class name(s) merged onto the button element. */
|
|
26
|
+
className?: string;
|
|
31
27
|
}
|
|
32
28
|
/** Props accepted by the `MessageSource` component. */
|
|
33
29
|
export interface MessageSourceProps {
|
|
34
30
|
/** Text label displayed inside the button. */
|
|
35
31
|
label: string;
|
|
36
|
-
/** Extra class name(s) merged onto the button element. */
|
|
37
|
-
className?: string;
|
|
38
32
|
/** Called when the user clicks the source button. */
|
|
39
33
|
onClick?: () => void;
|
|
40
34
|
/** Color and typography overrides applied as CSS custom properties. */
|
|
41
35
|
styles?: MessageSourceStyles;
|
|
42
36
|
}
|
|
43
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=message-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-source.d.ts","sourceRoot":"","sources":["../../src/models/message-source.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,8DAA8D;AAC9D,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,0FAA0F;AAC1F,MAAM,WAAW,mBAAmB;IAClC,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,8DAA8D;IAC9D,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,uEAAuE;IACvE,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-messages",
|
|
3
3
|
"description": "Message bubble components for rendering conversation history with actions and source citations",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.473",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"react": "^19.0.0",
|
|
21
21
|
"@tabler/icons-react": "^3.0.0",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "0.12.0-dev.28",
|
|
23
|
-
"@epam/ai-dial-chat-shared": "1.0.0-dev.
|
|
24
|
-
"@epam/ai-dial-conversation-input": "1.0.0-dev.
|
|
25
|
-
"react-markdown": "^10.
|
|
23
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.473",
|
|
24
|
+
"@epam/ai-dial-conversation-input": "1.0.0-dev.473",
|
|
25
|
+
"react-markdown": "^10.1.0"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActions.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageActions.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,kIAAkI;AAClI,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAiJlD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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