@epam/ai-dial-conversation-messages 1.2.0-dev.141 → 1.2.0-dev.142
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/MessageBubble.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKtE,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/MessageBubble.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKtE,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/UserMessageBubble.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAS,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAO1E,kGAAkG;AAClG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"UserMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/UserMessageBubble.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAS,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAO1E,kGAAkG;AAClG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6JxD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
._activeRating_ygoee_1{color:var(--ma-active-rating-text,var(--text-accent,#1d4ed8))}._userBubble_cq829_1{border-color:var(--cm-bubble-user-border,var(--stroke-secondary,#d1dbea));background:var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7))}._collapsibleText_cq829_6{max-height:var(--cm-bubble-collapsed-height);transition:max-height .2s ease-out}._expandedText_cq829_11{max-height:var(--cm-bubble-expanded-height)}._collapsedText_cq829_15:after{content:"";pointer-events:none;background:linear-gradient(to bottom, var(--cm-bubble-fade-start,var(--shadow-xs-2,#161b2d08)), var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7)));height:3rem;position:absolute;bottom:0;left:0;right:0}@media (prefers-reduced-motion:reduce){._collapsibleText_cq829_6{transition:none}}._startersDivider_cq829_26{border-color:var(--cm-starters-divider,var(--stroke-secondary,#d1dbea))}._text_cq829_30{color:var(--cm-bubble-text,var(--text-primary,#161b2d))}
|
|
2
|
-
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.collapse{visibility:collapse}.static{position:static}.absolute{position:absolute}.relative{position:relative}.start-0{inset-inline-start:0}.top-0{top:0}
|
|
2
|
+
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.collapse{visibility:collapse}.static{position:static}.absolute{position:absolute}.relative{position:relative}.start-0{inset-inline-start:0}.top-0{top:0}.-me-1{margin-inline-end:-.25rem}.-ms-1{margin-inline-start:-.25rem}.ms-auto{margin-inline-start:auto}.mt-3{margin-top:.75rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.w-\[calc\(100\%\+8px\)\]{width:calc(100% + 8px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[40px\]{min-width:40px}.max-w-\[640px\]{max-width:640px}.max-w-full{max-width:100%}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-ee-2xl{border-end-end-radius:1rem}.rounded-ee-md{border-end-end-radius:.375rem}.rounded-es-2xl{border-end-start-radius:1rem}.rounded-se-2xl{border-start-end-radius:1rem}.rounded-se-md{border-start-end-radius:.375rem}.rounded-ss-2xl{border-start-start-radius:1rem}.border{border-width:1px}.border-t{border-top-width:1px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pe-1{padding-inline-end:.25rem}.ps-1{padding-inline-start:.25rem}.pt-5{padding-top:1.25rem}.text-start{text-align:start}.opacity-0{opacity:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\[overflow-wrap\:anywhere\]{overflow-wrap:anywhere}.group:hover .group-hover\:opacity-100{opacity:1}.\[\&\>\.cm-bubble-markdown\>div\>\*\:first-child\]\:indent-\[var\(--cm-bubble-first-line-indent\2c 0px\)\]>.cm-bubble-markdown>div>:first-child{text-indent:var(--cm-bubble-first-line-indent,0)}
|
package/index.js
CHANGED
|
@@ -252,7 +252,7 @@ var L = {
|
|
|
252
252
|
})
|
|
253
253
|
}), q = /* @__PURE__ */ function(e) {
|
|
254
254
|
return e.Bottom = "Bottom", e.Top = "Top", e;
|
|
255
|
-
}({}), J = 10, Y = ({ text: e, position: t = q.Bottom, styles: n, actions: r, hasAlwaysVisibleActions: i, attachments: o, collapsedLineCount: f = J, labels: m,
|
|
255
|
+
}({}), J = 10, Y = ({ text: e, position: t = q.Bottom, styles: n, actions: r, hasAlwaysVisibleActions: i, attachments: o, collapsedLineCount: f = J, labels: m, textSegments: g, onAttachmentClick: _, onDownloadAll: v, onAttachmentRetry: y, selectedAttachmentId: x }) => {
|
|
256
256
|
let { colors: S, typography: C, className: E, bubbleClassName: D } = n ?? {}, { showMoreLabel: O = "Show more", showLessLabel: k = "Show less", showMoreAriaLabel: A, showLessAriaLabel: j, attachmentClickLabel: M, attachmentRetryLabel: N, attachmentOpenInNewTabLabel: R, userMessageAriaLabel: z = "User message" } = m ?? {}, { textRef: B, isTextCollapsed: V, isOverflowing: W, collapsedMaxHeight: G, expandedMaxHeight: K, isCollapsed: Y, toggleCollapsed: X } = l({
|
|
257
257
|
text: e ?? "",
|
|
258
258
|
collapsedLineCount: f
|
|
@@ -285,38 +285,31 @@ var L = {
|
|
|
285
285
|
styles: { className: "max-w-[640px]" },
|
|
286
286
|
selectedAttachmentId: x
|
|
287
287
|
}),
|
|
288
|
-
|
|
288
|
+
e && /* @__PURE__ */ F("div", {
|
|
289
289
|
className: c(U.userBubble, "flex w-fit items-center justify-end rounded-es-2xl rounded-ss-2xl border px-6 py-4", Q, D, L.userBubble),
|
|
290
290
|
children: /* @__PURE__ */ I("div", {
|
|
291
291
|
className: "flex min-w-0 flex-col items-start",
|
|
292
|
-
children: [
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
children: [g != null && /* @__PURE__ */ F("span", {
|
|
300
|
-
className: "me-1",
|
|
301
|
-
children: g
|
|
302
|
-
}), e]
|
|
303
|
-
})
|
|
304
|
-
}),
|
|
305
|
-
g != null && !e && /* @__PURE__ */ F("div", { children: g }),
|
|
306
|
-
W && /* @__PURE__ */ F(h, {
|
|
307
|
-
label: /* @__PURE__ */ F(P, { children: ne }),
|
|
308
|
-
iconBefore: /* @__PURE__ */ F(ie, {
|
|
309
|
-
size: d.SM,
|
|
310
|
-
"aria-hidden": "true"
|
|
311
|
-
}),
|
|
312
|
-
"aria-label": re,
|
|
313
|
-
"aria-expanded": !Y,
|
|
314
|
-
"aria-controls": ae,
|
|
315
|
-
className: "mt-3",
|
|
316
|
-
onClick: X,
|
|
317
|
-
size: p.Small
|
|
292
|
+
children: [/* @__PURE__ */ F("div", {
|
|
293
|
+
id: ae,
|
|
294
|
+
className: c("relative -me-1 -ms-1 w-[calc(100%+8px)] overflow-hidden pe-1 ps-1", W && U.collapsibleText, W && !Y && U.expandedText, V && U.collapsedText),
|
|
295
|
+
children: /* @__PURE__ */ F("p", {
|
|
296
|
+
ref: B,
|
|
297
|
+
className: c($, "whitespace-pre-wrap text-start [overflow-wrap:anywhere]"),
|
|
298
|
+
children: g ?? e
|
|
318
299
|
})
|
|
319
|
-
|
|
300
|
+
}), W && /* @__PURE__ */ F(h, {
|
|
301
|
+
label: /* @__PURE__ */ F(P, { children: ne }),
|
|
302
|
+
iconBefore: /* @__PURE__ */ F(ie, {
|
|
303
|
+
size: d.SM,
|
|
304
|
+
"aria-hidden": "true"
|
|
305
|
+
}),
|
|
306
|
+
"aria-label": re,
|
|
307
|
+
"aria-expanded": !Y,
|
|
308
|
+
"aria-controls": ae,
|
|
309
|
+
className: "mt-3",
|
|
310
|
+
onClick: X,
|
|
311
|
+
size: p.Small
|
|
312
|
+
})]
|
|
320
313
|
})
|
|
321
314
|
}),
|
|
322
315
|
/* @__PURE__ */ F(H, {
|
|
@@ -327,20 +320,20 @@ var L = {
|
|
|
327
320
|
]
|
|
328
321
|
})
|
|
329
322
|
});
|
|
330
|
-
}, X = ({ role: e, beforeContent: t,
|
|
331
|
-
titleText:
|
|
332
|
-
bodyText:
|
|
323
|
+
}, X = ({ role: e, beforeContent: t, textSegments: n, onAttachmentClick: r, responseFormat: i, markdownComponents: o, markdownUrlTransform: s, ...c }) => e === a.Status ? /* @__PURE__ */ F(K, { labels: {
|
|
324
|
+
titleText: c.labels?.statusTitleText,
|
|
325
|
+
bodyText: c.labels?.statusBodyText ?? ""
|
|
333
326
|
} }) : e === a.User ? /* @__PURE__ */ F(Y, {
|
|
334
|
-
...
|
|
335
|
-
|
|
336
|
-
onAttachmentClick:
|
|
327
|
+
...c,
|
|
328
|
+
textSegments: n,
|
|
329
|
+
onAttachmentClick: r
|
|
337
330
|
}) : /* @__PURE__ */ F(G, {
|
|
338
|
-
...
|
|
331
|
+
...c,
|
|
339
332
|
beforeContent: t,
|
|
340
|
-
responseFormat:
|
|
341
|
-
markdownComponents:
|
|
342
|
-
markdownUrlTransform:
|
|
343
|
-
onAttachmentClick:
|
|
333
|
+
responseFormat: i,
|
|
334
|
+
markdownComponents: o,
|
|
335
|
+
markdownUrlTransform: s,
|
|
336
|
+
onAttachmentClick: r
|
|
344
337
|
});
|
|
345
338
|
//#endregion
|
|
346
339
|
export { G as AssistantMessageBubble, q as BubblePosition, L as CONVERSATION_MESSAGES_CLASS, H as MessageActions, X as MessageBubble, K as StatusMessageBubble, Y as UserMessageBubble };
|
|
@@ -106,17 +106,6 @@ interface BaseMessageBubbleProps {
|
|
|
106
106
|
onAttachmentRetry?: (id: string) => void;
|
|
107
107
|
/** ID of the attachment currently open in the canvas panel, if any. Renders that tile's selected visual state. */
|
|
108
108
|
selectedAttachmentId?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Content rendered at the inline-start of the message's first text line,
|
|
111
|
-
* which word-flows after it (e.g. a used-skill chip — inline-level content
|
|
112
|
-
* no taller than a text line). The user bubble renders it inline within
|
|
113
|
-
* the text; the assistant bubble overlays it on the first markdown block's
|
|
114
|
-
* first line, which indents past it. The user bubble renders for the slot
|
|
115
|
-
* alone even when `text` is empty; an assistant message with no text
|
|
116
|
-
* renders the slot on its own line — above the streaming placeholder while
|
|
117
|
-
* the first token has not arrived yet.
|
|
118
|
-
*/
|
|
119
|
-
beforeContent?: ReactNode;
|
|
120
109
|
}
|
|
121
110
|
/** Props for `UserMessageBubble`. */
|
|
122
111
|
export interface UserMessageBubbleProps extends BaseMessageBubbleProps {
|
|
@@ -124,6 +113,16 @@ export interface UserMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
124
113
|
position?: BubblePosition;
|
|
125
114
|
/** Maximum number of text lines shown while a long user message is collapsed. Defaults to `10`. */
|
|
126
115
|
collapsedLineCount?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Ordered content replacing the plain-text render when present —
|
|
118
|
+
* interleaved plain-text runs and inline elements (e.g. skill-mention
|
|
119
|
+
* chips at their text position), rendered in place of `text` inside the
|
|
120
|
+
* same paragraph. `text` is still required alongside this: it remains the
|
|
121
|
+
* identity/measurement input for the collapse-height calculation
|
|
122
|
+
* (`useCollapsedText`), even though `textSegments` is what's visually
|
|
123
|
+
* rendered. Absent renders `text` directly, byte-identical to today.
|
|
124
|
+
*/
|
|
125
|
+
textSegments?: ReactNode[];
|
|
127
126
|
}
|
|
128
127
|
/** Props for `AssistantMessageBubble`. */
|
|
129
128
|
export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
@@ -135,6 +134,17 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
135
134
|
* `ResponseFormat.Markdown`.
|
|
136
135
|
*/
|
|
137
136
|
responseFormat?: ResponseFormat;
|
|
137
|
+
/**
|
|
138
|
+
* Content rendered at the inline-start of the message's first markdown
|
|
139
|
+
* block's first line, which word-flows after it (e.g. used-skill chips —
|
|
140
|
+
* inline-level content no taller than a text line). Overlaid on the first
|
|
141
|
+
* line, which indents past it; an assistant message with no text renders
|
|
142
|
+
* the slot on its own line — above the streaming placeholder while the
|
|
143
|
+
* first token has not arrived yet. May itself be an array of elements
|
|
144
|
+
* (e.g. one `ChatSkill` per mention) — React renders `ReactNode[]` as a
|
|
145
|
+
* sibling sequence with no extra wrapper needed.
|
|
146
|
+
*/
|
|
147
|
+
beforeContent?: ReactNode;
|
|
138
148
|
/** react-markdown component overrides. Use to inject custom renderers (e.g. citation markers) into markdown elements. */
|
|
139
149
|
markdownComponents?: Components;
|
|
140
150
|
/** Per-element markdown typography classes. Defaults to the renderer's full-size scale; pass `COMPACT_MARKDOWN_CLASS_NAMES` for the smaller body scale. */
|
|
@@ -163,7 +173,7 @@ export interface AssistantMessageBubbleProps extends BaseMessageBubbleProps {
|
|
|
163
173
|
labels?: AssistantMessageBubbleLabels;
|
|
164
174
|
}
|
|
165
175
|
/** Props for `MessageBubble` — `AssistantMessageBubbleProps` plus user-only fields and `role`. */
|
|
166
|
-
export type MessageBubbleProps = AssistantMessageBubbleProps & Pick<UserMessageBubbleProps, 'position' | 'collapsedLineCount'> & {
|
|
176
|
+
export type MessageBubbleProps = AssistantMessageBubbleProps & Pick<UserMessageBubbleProps, 'position' | 'collapsedLineCount' | 'textSegments'> & {
|
|
167
177
|
/** Message author/type: user, assistant, or status banner. */
|
|
168
178
|
role: MessageRole;
|
|
169
179
|
};
|
|
@@ -1 +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,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,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,CAA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G;IACH,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,8CAA8C;IAC9C,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,2FAA2F;IAC3F,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2DAA2D;IAC3D,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oEAAoE;IACpE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,+FAA+F;IAC/F,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,kGAAkG;AAClG,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,GAC1D,IAAI,CACF,sBAAsB,EACtB,UAAU,GAAG,oBAAoB,GAAG,cAAc,CACnD,GAAG;IACF,8DAA8D;IAC9D,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
|
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.2.0-dev.
|
|
4
|
+
"version": "1.2.0-dev.142",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tabler/icons-react": "^3.44.0",
|
|
21
21
|
"react-markdown": "^10.1.0",
|
|
22
|
-
"@epam/ai-dial-attachment-input": "1.2.0-dev.
|
|
22
|
+
"@epam/ai-dial-attachment-input": "1.2.0-dev.142"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.8",
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.2.0-dev.
|
|
26
|
+
"@epam/ai-dial-chat-shared": "1.2.0-dev.142",
|
|
27
27
|
"@epam/ai-dial-ui-kit": "^0.15.0-dev.18"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|