@epam/ai-dial-conversation-messages 1.3.0-dev.10 → 1.3.0-dev.14

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":"AssistantMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/AssistantMessageBubble.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAa/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAiOlE,CAAC"}
1
+ {"version":3,"file":"AssistantMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/AssistantMessageBubble.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAa/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAyOlE,CAAC"}
package/index.js CHANGED
@@ -44,51 +44,51 @@ var z = {
44
44
  });
45
45
  let { whiteSpace: n } = window.getComputedStyle(e);
46
46
  return U.has(n) && (t.style.whiteSpace = "pre-wrap"), t;
47
- }, G = (e) => e instanceof SVGElement || window.getComputedStyle(e).display === "none", K = (e, t) => {
47
+ }, re = (e) => e instanceof SVGElement || window.getComputedStyle(e).display === "none", G = (e, t) => {
48
48
  if (!t.intersectsNode(e)) return null;
49
49
  if (e.nodeType === Node.TEXT_NODE) {
50
50
  let n = e.data, r = e === t.startContainer ? t.startOffset : 0, i = e === t.endContainer ? t.endOffset : n.length;
51
51
  return document.createTextNode(n.slice(r, i));
52
52
  }
53
- if (!(e instanceof Element) || G(e)) return null;
53
+ if (!(e instanceof Element) || re(e)) return null;
54
54
  let n = W(e);
55
55
  return e.childNodes.forEach((e) => {
56
- let r = K(e, t);
56
+ let r = G(e, t);
57
57
  r && n.appendChild(r);
58
58
  }), n;
59
- }, re = (e, t, n) => {
59
+ }, ie = (e, t, n) => {
60
60
  let r = e, i = t;
61
61
  for (; i && i !== n && n.contains(i);) {
62
62
  let e = W(i);
63
63
  e.appendChild(r), r = e, i = i.parentElement;
64
64
  }
65
65
  return r;
66
- }, ie = (e, t) => {
66
+ }, ae = (e, t) => {
67
67
  let n = e.commonAncestorContainer, r = n instanceof Element ? n : n.parentElement;
68
68
  if (!r) return null;
69
- let i = K(r, e);
70
- return i ? re(i, r.parentElement, t) : null;
71
- }, ae = (e) => {
69
+ let i = G(r, e);
70
+ return i ? ie(i, r.parentElement, t) : null;
71
+ }, oe = (e) => {
72
72
  let t = window.getSelection();
73
73
  if (!t || t.isCollapsed || t.rangeCount === 0 || !e.clipboardData) return;
74
74
  let n = t.toString();
75
75
  if (!n) return;
76
76
  let r = document.createElement("div");
77
77
  for (let n = 0; n < t.rangeCount; n++) {
78
- let i = ie(t.getRangeAt(n), e.currentTarget);
78
+ let i = ae(t.getRangeAt(n), e.currentTarget);
79
79
  i && r.appendChild(i);
80
80
  }
81
81
  e.clipboardData.setData("text/html", r.innerHTML), e.clipboardData.setData("text/plain", n), e.preventDefault();
82
- }, q = { activeRating: "_activeRating_ygoee_1" }, J = 2e3, oe = ({ role: e = a.User, onEdit: n, onEditHover: r, onDelete: o, onRegenerate: l, onCopy: u, onCopyMarkdown: d, onLike: f, onDislike: _, activeRating: v, isAlwaysVisible: y, isDisabled: x = !1, className: S, labels: C, colors: ee }) => {
82
+ }, K = { activeRating: "_activeRating_ygoee_1" }, q = 2e3, se = ({ role: e = a.User, onEdit: n, onEditHover: r, onDelete: o, onRegenerate: l, onCopy: u, onCopyMarkdown: d, onLike: f, onDislike: _, activeRating: v, isAlwaysVisible: y, isDisabled: x = !1, className: S, labels: C, colors: ee }) => {
83
83
  let { tooltips: w, ariaLabels: E } = C ?? {}, [D, O] = T(null), [R, z] = T(""), B = n != null || o != null || l != null || u != null || d != null || f != null || _ != null, V = s({ "--ma-active-rating-text": ee?.activeRatingText }), H = b(() => {
84
- u?.(), O("copy"), z(e === a.User ? E?.copiedMessageStatus ?? "Message copied to clipboard" : E?.copiedStatus ?? "Copied to clipboard"), setTimeout(() => O(null), J);
84
+ u?.(), O("copy"), z(e === a.User ? E?.copiedMessageStatus ?? "Message copied to clipboard" : E?.copiedStatus ?? "Copied to clipboard"), setTimeout(() => O(null), q);
85
85
  }, [
86
86
  u,
87
87
  e,
88
88
  E?.copiedStatus,
89
89
  E?.copiedMessageStatus
90
90
  ]), U = b(() => {
91
- d?.(), O("markdown"), z(E?.copiedMarkdownStatus ?? "Copied as Markdown to clipboard"), setTimeout(() => O(null), J);
91
+ d?.(), O("markdown"), z(E?.copiedMarkdownStatus ?? "Copied as Markdown to clipboard"), setTimeout(() => O(null), q);
92
92
  }, [d, E?.copiedMarkdownStatus]);
93
93
  return B ? /* @__PURE__ */ L("div", {
94
94
  role: "toolbar",
@@ -177,7 +177,7 @@ var z = {
177
177
  }),
178
178
  f && /* @__PURE__ */ I(g, {
179
179
  icon: v === i.Like ? /* @__PURE__ */ I(te, {
180
- className: q.activeRating,
180
+ className: K.activeRating,
181
181
  size: p.SM,
182
182
  "aria-hidden": !0
183
183
  }) : /* @__PURE__ */ I(P, {
@@ -194,7 +194,7 @@ var z = {
194
194
  }),
195
195
  _ && /* @__PURE__ */ I(g, {
196
196
  icon: v === i.Dislike ? /* @__PURE__ */ I(N, {
197
- className: q.activeRating,
197
+ className: K.activeRating,
198
198
  size: p.SM,
199
199
  "aria-hidden": !0
200
200
  }) : /* @__PURE__ */ I(M, {
@@ -211,55 +211,55 @@ var z = {
211
211
  })
212
212
  ] })]
213
213
  }) : null;
214
- }, Y = {
214
+ }, J = {
215
215
  userBubble: "_userBubble_cq829_1",
216
216
  collapsibleText: "_collapsibleText_cq829_6",
217
217
  expandedText: "_expandedText_cq829_11",
218
218
  collapsedText: "_collapsedText_cq829_15",
219
219
  startersDivider: "_startersDivider_cq829_26",
220
220
  text: "_text_cq829_30"
221
- }, se = "[&>.cm-bubble-markdown>div>*:first-child]:indent-[var(--cm-bubble-first-line-indent,0px)]", X = ({ text: t, contentRef: i, styles: l, actions: d, hasAlwaysVisibleActions: f, isStreaming: p, attachments: m, beforeContent: h, responseFormat: g, afterContent: _, hasThinkingPlaceholder: v = !0, starters: b, onSelectStarter: x, deploymentIconUrl: S, deploymentDisplayName: C, markdownComponents: w, markdownClassNames: T, markdownUrlTransform: E, onAttachmentClick: D, onDownloadAll: O, onAttachmentRetry: k, codeBlockTheme: A, tableOnOpenInCanvas: j, labels: M, selectedAttachmentId: N }) => {
222
- let { colors: P, typography: te, className: ne, bubbleClassName: F } = l ?? {}, { attachmentClickLabel: R, attachmentDownloadLabel: B, attachmentRetryLabel: H, attachmentOpenInNewTabLabel: U, startersAriaLabel: W = "Quick reply buttons", thinkingLabel: G, codeBlockCopyLabel: K, codeBlockCopiedLabel: re, codeBlockDownloadLabel: ie, tableCopyLabel: q, tableCopiedLabel: J, tableDownloadCsvLabel: X, tableOpenInCanvasLabel: Z, tableDownloadFilename: Q, tableScrollRegionAriaLabel: ce, mathScrollRegionAriaLabel: $, assistantMessageAriaLabel: le = "Assistant message", deploymentIconFallbackLabel: ue = "AI" } = M ?? {}, de = ee(() => ({
223
- copyLabel: q,
224
- copiedLabel: J,
225
- downloadCsvLabel: X,
226
- openInCanvasLabel: Z
221
+ }, ce = "[&>.cm-bubble-markdown>div>*:first-child]:indent-[var(--cm-bubble-first-line-indent,0px)]", Y = ({ text: t, contentRef: i, styles: l, actions: d, hasAlwaysVisibleActions: f, isStreaming: p, attachments: m, beforeContent: h, responseFormat: g, afterContent: _, hasThinkingPlaceholder: v = !0, starters: b, onSelectStarter: x, deploymentIconUrl: S, deploymentDisplayName: C, markdownComponents: w, markdownClassNames: T, markdownUrlTransform: E, onAttachmentClick: D, onDownloadAll: O, onAttachmentRetry: k, codeBlockTheme: A, tableOnOpenInCanvas: j, labels: M, selectedAttachmentId: N }) => {
222
+ let { colors: P, typography: te, className: ne, bubbleClassName: F } = l ?? {}, { attachmentClickLabel: R, attachmentDownloadLabel: B, attachmentRetryLabel: H, attachmentOpenInNewTabLabel: U, startersAriaLabel: W = "Quick reply buttons", thinkingLabel: re, codeBlockCopyLabel: G, codeBlockCopiedLabel: ie, codeBlockDownloadLabel: ae, tableCopyLabel: K, tableCopiedLabel: q, tableDownloadCsvLabel: Y, tableOpenInCanvasLabel: X, tableDownloadFilename: Z, tableScrollRegionAriaLabel: le, mathScrollRegionAriaLabel: Q, assistantMessageAriaLabel: ue = "Assistant message", deploymentIconFallbackLabel: de = "AI" } = M ?? {}, fe = ee(() => ({
223
+ copyLabel: K,
224
+ copiedLabel: q,
225
+ downloadCsvLabel: Y,
226
+ openInCanvasLabel: X
227
227
  }), [
228
+ K,
228
229
  q,
229
- J,
230
- X,
231
- Z
232
- ]), fe = p ? (m ?? []).filter((t) => t.type !== e.Audio) : m ?? [], { slotRef: pe, firstLineIndent: me } = V(h != null && !!t), he = s({
230
+ Y,
231
+ X
232
+ ]), pe = p ? (m ?? []).filter((t) => t.type !== e.Audio) : m ?? [], $ = !!t?.trim(), { slotRef: me, firstLineIndent: he } = V(h != null && $), ge = s({
233
233
  "--cm-bubble-text": P?.text,
234
234
  "--cm-starters-divider": P?.startersDivider,
235
- "--cm-bubble-first-line-indent": me
236
- }), ge = c(Y.text, te?.fontClassName), _e = !!(S || C);
235
+ "--cm-bubble-first-line-indent": he
236
+ }), _e = c(J.text, te?.fontClassName), ve = !!(S || C);
237
237
  return /* @__PURE__ */ L("div", {
238
238
  role: "group",
239
- "aria-label": le,
240
- style: he,
241
- onCopy: ae,
239
+ "aria-label": ue,
240
+ style: ge,
241
+ onCopy: oe,
242
242
  className: c("flex w-full items-start gap-3", ne),
243
- children: [_e && /* @__PURE__ */ I(n, {
243
+ children: [ve && /* @__PURE__ */ I(n, {
244
244
  src: S,
245
245
  size: 28,
246
- initialsName: C || ue,
247
- labels: { tooltip: C ?? ue }
246
+ initialsName: C || de,
247
+ labels: { tooltip: C ?? de }
248
248
  }), /* @__PURE__ */ L("div", {
249
249
  className: "flex w-full min-w-0 max-w-full flex-col items-start gap-5",
250
250
  children: [/* @__PURE__ */ L("div", {
251
251
  className: c("flex w-full min-w-0 max-w-full flex-col items-start gap-4", F),
252
252
  children: [
253
- h != null && !t && /* @__PURE__ */ I("div", {
253
+ h != null && !$ && /* @__PURE__ */ I("div", {
254
254
  className: "min-w-0",
255
255
  children: h
256
256
  }),
257
- (t || p && v) && /* @__PURE__ */ L("div", {
257
+ ($ || p && v) && /* @__PURE__ */ L("div", {
258
258
  "aria-live": "polite",
259
259
  "aria-atomic": "false",
260
- className: c(ge, "relative min-w-0 max-w-full text-start", h != null && t && se, z.assistantContent),
261
- children: [h != null && t && /* @__PURE__ */ I("div", {
262
- ref: pe,
260
+ className: c(_e, "relative min-w-0 max-w-full text-start", h != null && $ && ce, z.assistantContent),
261
+ children: [h != null && $ && /* @__PURE__ */ I("div", {
262
+ ref: me,
263
263
  className: "absolute start-0 top-0",
264
264
  children: h
265
265
  }), /* @__PURE__ */ I("div", {
@@ -269,24 +269,24 @@ var z = {
269
269
  content: t ?? "",
270
270
  isPlainText: g === o.PlainText,
271
271
  isStreaming: p,
272
- thinkingLabel: G,
272
+ thinkingLabel: re,
273
273
  components: w,
274
274
  classNames: T,
275
275
  urlTransform: E,
276
- codeBlockCopyLabel: K,
277
- codeBlockCopiedLabel: re,
278
- codeBlockDownloadLabel: ie,
276
+ codeBlockCopyLabel: G,
277
+ codeBlockCopiedLabel: ie,
278
+ codeBlockDownloadLabel: ae,
279
279
  codeBlockTheme: A,
280
- tableActionLabels: de,
281
- tableDownloadFilename: Q,
280
+ tableActionLabels: fe,
281
+ tableDownloadFilename: Z,
282
282
  tableOnOpenInCanvas: j,
283
- tableScrollRegionAriaLabel: ce,
284
- mathScrollRegionAriaLabel: $
283
+ tableScrollRegionAriaLabel: le,
284
+ mathScrollRegionAriaLabel: Q
285
285
  })
286
286
  })]
287
287
  }),
288
288
  /* @__PURE__ */ I(u, {
289
- attachments: fe,
289
+ attachments: pe,
290
290
  onAttachmentClick: D ? (e) => {
291
291
  let t = m?.find((t) => t.id === e);
292
292
  t && D(t);
@@ -302,7 +302,7 @@ var z = {
302
302
  selectedAttachmentId: N
303
303
  }),
304
304
  _,
305
- /* @__PURE__ */ I(oe, {
305
+ /* @__PURE__ */ I(se, {
306
306
  ...d,
307
307
  isAlwaysVisible: f,
308
308
  role: a.Assistant
@@ -311,7 +311,7 @@ var z = {
311
311
  }), b && b.length > 0 && x && /* @__PURE__ */ I("div", {
312
312
  role: "list",
313
313
  "aria-label": W,
314
- className: c("flex w-full flex-wrap gap-2 border-t pt-5", Y.startersDivider),
314
+ className: c("flex w-full flex-wrap gap-2 border-t pt-5", J.startersDivider),
315
315
  children: b.map((e, t) => /* @__PURE__ */ I("div", {
316
316
  role: "listitem",
317
317
  className: "min-w-[40px]",
@@ -324,7 +324,7 @@ var z = {
324
324
  })]
325
325
  })]
326
326
  });
327
- }, Z = ({ labels: { titleText: e = "Model switched.", bodyText: t } }) => /* @__PURE__ */ I("div", {
327
+ }, X = ({ labels: { titleText: e = "Model switched.", bodyText: t } }) => /* @__PURE__ */ I("div", {
328
328
  role: "status",
329
329
  "aria-live": "polite",
330
330
  children: /* @__PURE__ */ I(_, {
@@ -332,25 +332,25 @@ var z = {
332
332
  message: t,
333
333
  textClassName: "flex-row flex-wrap gap-1"
334
334
  })
335
- }), Q = /* @__PURE__ */ function(e) {
335
+ }), Z = /* @__PURE__ */ function(e) {
336
336
  return e.Bottom = "Bottom", e.Top = "Top", e;
337
- }({}), ce = 10, $ = ({ text: e, contentRef: t, position: n = Q.Bottom, styles: r, actions: i, hasAlwaysVisibleActions: o, attachments: d, collapsedLineCount: f = ce, labels: m, textSegments: g, onAttachmentClick: _, onDownloadAll: y, onAttachmentRetry: b, selectedAttachmentId: x }) => {
338
- let { colors: C, typography: ee, className: w, bubbleClassName: T } = r ?? {}, { showMoreLabel: E = "Show more", showLessLabel: k = "Show less", showMoreAriaLabel: A, showLessAriaLabel: j, attachmentClickLabel: M, attachmentDownloadLabel: N, attachmentRetryLabel: P, attachmentOpenInNewTabLabel: te, userMessageAriaLabel: ne = "User message" } = m ?? {}, { textRef: R, isTextCollapsed: B, isOverflowing: V, collapsedMaxHeight: H, expandedMaxHeight: U, isCollapsed: W, toggleCollapsed: G } = l({
337
+ }({}), le = 10, Q = ({ text: e, contentRef: t, position: n = Z.Bottom, styles: r, actions: i, hasAlwaysVisibleActions: o, attachments: d, collapsedLineCount: f = le, labels: m, textSegments: g, onAttachmentClick: _, onDownloadAll: y, onAttachmentRetry: b, selectedAttachmentId: x }) => {
338
+ let { colors: C, typography: ee, className: w, bubbleClassName: T } = r ?? {}, { showMoreLabel: E = "Show more", showLessLabel: k = "Show less", showMoreAriaLabel: A, showLessAriaLabel: j, attachmentClickLabel: M, attachmentDownloadLabel: N, attachmentRetryLabel: P, attachmentOpenInNewTabLabel: te, userMessageAriaLabel: ne = "User message" } = m ?? {}, { textRef: R, isTextCollapsed: B, isOverflowing: V, collapsedMaxHeight: H, expandedMaxHeight: U, isCollapsed: W, toggleCollapsed: re } = l({
339
339
  text: e ?? "",
340
340
  collapsedLineCount: f
341
- }), K = s({
341
+ }), G = s({
342
342
  "--cm-bubble-user-bg": C?.userBackground,
343
343
  "--cm-bubble-user-border": C?.userBorder,
344
344
  "--cm-bubble-fade-start": C?.fadeStart,
345
345
  "--cm-bubble-text": C?.text,
346
346
  "--cm-bubble-collapsed-height": V ? `${H}px` : void 0,
347
347
  "--cm-bubble-expanded-height": V ? `${U}px` : void 0
348
- }), re = n === Q.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", ie = c(Y.text, ee?.fontClassName), q = A ?? E, J = j ?? k, se = W ? E : k, X = W ? q : J, Z = W ? D : O, $ = S();
348
+ }), ie = n === Z.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", ae = c(J.text, ee?.fontClassName), K = A ?? E, q = j ?? k, ce = W ? E : k, Y = W ? K : q, X = W ? D : O, Q = S();
349
349
  return /* @__PURE__ */ I("div", {
350
350
  role: "group",
351
351
  "aria-label": ne,
352
- style: K,
353
- onCopy: ae,
352
+ style: G,
353
+ onCopy: oe,
354
354
  className: c("flex w-full", w),
355
355
  children: /* @__PURE__ */ L("div", {
356
356
  className: "ms-auto flex w-fit min-w-0 max-w-full flex-col items-end gap-4",
@@ -373,34 +373,34 @@ var z = {
373
373
  selectedAttachmentId: x
374
374
  }),
375
375
  e && /* @__PURE__ */ I("div", {
376
- className: c(Y.userBubble, "flex w-fit items-center justify-end rounded-es-2xl rounded-ss-2xl border px-6 py-4", re, T, z.userBubble),
376
+ className: c(J.userBubble, "flex w-fit items-center justify-end rounded-es-2xl rounded-ss-2xl border px-6 py-4", ie, T, z.userBubble),
377
377
  children: /* @__PURE__ */ L("div", {
378
378
  className: "flex min-w-0 flex-col items-start",
379
379
  children: [/* @__PURE__ */ I("div", {
380
- id: $,
380
+ id: Q,
381
381
  ref: t,
382
- className: c("relative -me-1 -ms-1 w-[calc(100%+8px)] overflow-hidden pe-1 ps-1", V && Y.collapsibleText, V && !W && Y.expandedText, B && Y.collapsedText),
382
+ className: c("relative -me-1 -ms-1 w-[calc(100%+8px)] overflow-hidden pe-1 ps-1", V && J.collapsibleText, V && !W && J.expandedText, B && J.collapsedText),
383
383
  children: /* @__PURE__ */ I("p", {
384
384
  ref: R,
385
- className: c(ie, "whitespace-pre-wrap text-start [overflow-wrap:anywhere]"),
385
+ className: c(ae, "whitespace-pre-wrap text-start [overflow-wrap:anywhere]"),
386
386
  children: g ?? e
387
387
  })
388
388
  }), V && /* @__PURE__ */ I(v, {
389
- label: /* @__PURE__ */ I(F, { children: se }),
390
- iconBefore: /* @__PURE__ */ I(Z, {
389
+ label: /* @__PURE__ */ I(F, { children: ce }),
390
+ iconBefore: /* @__PURE__ */ I(X, {
391
391
  size: p.SM,
392
392
  "aria-hidden": "true"
393
393
  }),
394
- "aria-label": X,
394
+ "aria-label": Y,
395
395
  "aria-expanded": !W,
396
- "aria-controls": $,
396
+ "aria-controls": Q,
397
397
  className: "mt-3",
398
- onClick: G,
398
+ onClick: re,
399
399
  size: h.Small
400
400
  })]
401
401
  })
402
402
  }),
403
- /* @__PURE__ */ I(oe, {
403
+ /* @__PURE__ */ I(se, {
404
404
  ...i,
405
405
  isAlwaysVisible: o,
406
406
  role: a.User
@@ -408,21 +408,21 @@ var z = {
408
408
  ]
409
409
  })
410
410
  });
411
- }, le = ({ role: e, beforeContent: t, textSegments: n, onAttachmentClick: r, responseFormat: i, markdownComponents: o, markdownUrlTransform: s, ...c }) => e === a.Status ? /* @__PURE__ */ I(Z, { labels: {
411
+ }, ue = ({ role: e, beforeContent: t, textSegments: n, onAttachmentClick: r, responseFormat: i, markdownComponents: o, markdownUrlTransform: s, ...c }) => e === a.Status ? /* @__PURE__ */ I(X, { labels: {
412
412
  titleText: c.labels?.statusTitleText,
413
413
  bodyText: c.labels?.statusBodyText ?? ""
414
- } }) : e === a.User ? /* @__PURE__ */ I($, {
414
+ } }) : e === a.User ? /* @__PURE__ */ I(Q, {
415
415
  ...c,
416
416
  textSegments: n,
417
417
  onAttachmentClick: r
418
- }) : /* @__PURE__ */ I(X, {
418
+ }) : /* @__PURE__ */ I(Y, {
419
419
  ...c,
420
420
  beforeContent: t,
421
421
  responseFormat: i,
422
422
  markdownComponents: o,
423
423
  markdownUrlTransform: s,
424
424
  onAttachmentClick: r
425
- }), ue = { button: "_button_tqo4d_3" }, de = ({ rect: e, actionRef: t, onReply: n, addedRevision: r, labels: i, styles: a, portalContainer: o }) => {
425
+ }), de = { button: "_button_tqo4d_3" }, fe = ({ rect: e, actionRef: t, onReply: n, addedRevision: r, labels: i, styles: a, portalContainer: o }) => {
426
426
  let { colors: l, typography: u, className: p, buttonClassName: g } = a ?? {}, _ = u?.fontClassName ?? "dial-small-text", v = o === void 0 ? typeof document > "u" ? null : document.body : o, y = s({
427
427
  "--cm-reply-background": l?.background,
428
428
  "--cm-reply-hover-background": l?.hoverBackground,
@@ -459,7 +459,7 @@ var z = {
459
459
  label: i.reply,
460
460
  onClick: n,
461
461
  textClassName: _,
462
- className: c(ue.button, "h-8 min-h-8 min-w-11 px-2 shadow-lg mobile:h-11 mobile:min-h-11", g),
462
+ className: c(de.button, "h-8 min-h-8 min-w-11 px-2 shadow-lg mobile:h-11 mobile:min-h-11", g),
463
463
  iconAfter: /* @__PURE__ */ I(E, {
464
464
  size: 16,
465
465
  stroke: m,
@@ -475,4 +475,4 @@ var z = {
475
475
  })] }), v) : null;
476
476
  };
477
477
  //#endregion
478
- export { X as AssistantMessageBubble, Q as BubblePosition, z as CONVERSATION_MESSAGES_CLASS, oe as MessageActions, le as MessageBubble, de as MessageSelectionReply, Z as StatusMessageBubble, $ as UserMessageBubble };
478
+ export { Y as AssistantMessageBubble, Z as BubblePosition, z as CONVERSATION_MESSAGES_CLASS, se as MessageActions, ue as MessageBubble, fe as MessageSelectionReply, X as StatusMessageBubble, Q as UserMessageBubble };
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.3.0-dev.10",
4
+ "version": "1.3.0-dev.14",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,13 +19,13 @@
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.3.0-dev.10"
22
+ "@epam/ai-dial-attachment-input": "1.3.0-dev.14"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.8",
26
26
  "react-dom": "^19.2.8",
27
- "@epam/ai-dial-chat-shared": "1.3.0-dev.10",
28
- "@epam/ai-dial-ui-kit": "^0.15.0"
27
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.14",
28
+ "@epam/ai-dial-ui-kit": "^0.15.1"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",