@epam/ai-dial-conversation-messages 1.2.0-dev.3 → 1.2.0-dev.38

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,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAY/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA0MlE,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;AAEpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAY/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA+MlE,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*/
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-auto{margin-inline-start:auto}.mt-3{margin-top:.75rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.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}.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
@@ -1,12 +1,12 @@
1
1
  import { AttachmentType as e, CopyIconButton as t, DeploymentIcon as n, MDMessageViewer as r, MessageRating as i, MessageRole as a, buildCssVars as o, mergeClasses as s, useCollapsedText as c } from "@epam/ai-dial-chat-shared";
2
2
  import { AttachmentGroup as l } from "@epam/ai-dial-attachment-input";
3
3
  import { DIAL_ICON_SIZE as u, DIAL_KIT_ICON_STROKE as d, ElementSize as f, InfoMessageNotification as p, LinkButton as m, NeutralButton as h, ToggleIconButton as g } from "@epam/ai-dial-ui-kit";
4
- import { useCallback as _, useEffect as v, useId as y, useRef as b, useState as x } from "react";
5
- import { IconChevronDown as S, IconChevronUp as C, IconMarkdown as w, IconPencilMinus as T, IconRefresh as E, IconThumbDown as D, IconThumbDownFilled as O, IconThumbUp as k, IconThumbUpFilled as A, IconTrashX as j } from "@tabler/icons-react";
6
- import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
4
+ import { useCallback as _, useEffect as v, useId as y, useMemo as b, useRef as x, useState as S } from "react";
5
+ import { IconChevronDown as C, IconChevronUp as w, IconMarkdown as T, IconPencilMinus as E, IconRefresh as D, IconThumbDown as O, IconThumbDownFilled as k, IconThumbUp as A, IconThumbUpFilled as j, IconTrashX as M } from "@tabler/icons-react";
6
+ import { Fragment as N, jsx as P, jsxs as F } from "react/jsx-runtime";
7
7
  //#region src/hooks/useInlineStartIndent/useInlineStartIndent.ts
8
- var F = 4, I = (e) => {
9
- let t = b(null), [n, r] = x(0);
8
+ var I = 4, L = (e) => {
9
+ let t = x(null), [n, r] = S(0);
10
10
  return v(() => {
11
11
  if (!e) return;
12
12
  let n = t.current;
@@ -18,92 +18,92 @@ var F = 4, I = (e) => {
18
18
  return i.observe(n), () => i.disconnect();
19
19
  }, [e]), {
20
20
  slotRef: t,
21
- firstLineIndent: e ? `calc(${n}px + ${F}px)` : void 0
21
+ firstLineIndent: e ? `calc(${n}px + ${I}px)` : void 0
22
22
  };
23
- }, L = { activeRating: "_activeRating_ygoee_1" }, R = 2e3, z = ({ role: e = a.User, onEdit: n, onEditHover: r, onDelete: c, onRegenerate: l, onCopy: p, onCopyMarkdown: m, onLike: h, onDislike: v, activeRating: y, isAlwaysVisible: b, isDisabled: S = !1, className: C, labels: F, colors: I }) => {
24
- let { tooltips: z, ariaLabels: B } = F ?? {}, [V, H] = x(null), [U, W] = x(""), G = n != null || c != null || l != null || p != null || m != null || h != null || v != null, K = o({ "--ma-active-rating-text": I?.activeRatingText }), q = _(() => {
25
- p?.(), H("copy"), W(B?.copiedStatus ?? "Copied to clipboard"), setTimeout(() => H(null), R);
23
+ }, R = { activeRating: "_activeRating_ygoee_1" }, z = 2e3, B = ({ role: e = a.User, onEdit: n, onEditHover: r, onDelete: c, onRegenerate: l, onCopy: p, onCopyMarkdown: m, onLike: h, onDislike: v, activeRating: y, isAlwaysVisible: b, isDisabled: x = !1, className: C, labels: w, colors: I }) => {
24
+ let { tooltips: L, ariaLabels: B } = w ?? {}, [V, H] = S(null), [U, W] = S(""), G = n != null || c != null || l != null || p != null || m != null || h != null || v != null, K = o({ "--ma-active-rating-text": I?.activeRatingText }), q = _(() => {
25
+ p?.(), H("copy"), W(B?.copiedStatus ?? "Copied to clipboard"), setTimeout(() => H(null), z);
26
26
  }, [p, B?.copiedStatus]), J = _(() => {
27
- m?.(), H("markdown"), W(B?.copiedMarkdownStatus ?? "Copied as Markdown to clipboard"), setTimeout(() => H(null), R);
27
+ m?.(), H("markdown"), W(B?.copiedMarkdownStatus ?? "Copied as Markdown to clipboard"), setTimeout(() => H(null), z);
28
28
  }, [m, B?.copiedMarkdownStatus]);
29
- return G ? /* @__PURE__ */ P("div", {
29
+ return G ? /* @__PURE__ */ F("div", {
30
30
  role: "toolbar",
31
31
  "aria-label": B?.actionsGroup ?? "Message actions",
32
32
  style: K,
33
33
  className: s("flex gap-1", !b && "opacity-0 group-hover:opacity-100", C),
34
- children: [/* @__PURE__ */ N("span", {
34
+ children: [/* @__PURE__ */ P("span", {
35
35
  role: "status",
36
36
  "aria-live": "polite",
37
37
  className: "sr-only",
38
38
  children: U
39
- }), e === a.User ? /* @__PURE__ */ P(M, { children: [n && /* @__PURE__ */ N(g, {
40
- icon: /* @__PURE__ */ N(T, {
39
+ }), e === a.User ? /* @__PURE__ */ F(N, { children: [n && /* @__PURE__ */ P(g, {
40
+ icon: /* @__PURE__ */ P(E, {
41
41
  size: u.SM,
42
42
  "aria-hidden": !0,
43
43
  stroke: d
44
44
  }),
45
45
  size: f.Small,
46
46
  "aria-label": B?.editMessage ?? "Edit message",
47
- tooltipProps: { tooltip: z?.edit ?? "Edit" },
47
+ tooltipProps: { tooltip: L?.edit ?? "Edit" },
48
48
  onClick: n,
49
49
  onMouseEnter: r,
50
50
  onFocus: r,
51
- disabled: S
52
- }), c && /* @__PURE__ */ N(g, {
53
- icon: /* @__PURE__ */ N(j, {
51
+ disabled: x
52
+ }), c && /* @__PURE__ */ P(g, {
53
+ icon: /* @__PURE__ */ P(M, {
54
54
  size: u.SM,
55
55
  "aria-hidden": !0,
56
56
  stroke: d
57
57
  }),
58
58
  size: f.Small,
59
59
  "aria-label": B?.deleteMessage ?? "Delete message",
60
- tooltipProps: { tooltip: z?.delete ?? "Delete" },
60
+ tooltipProps: { tooltip: L?.delete ?? "Delete" },
61
61
  onClick: c,
62
- disabled: S
63
- })] }) : /* @__PURE__ */ P(M, { children: [
64
- l && /* @__PURE__ */ N(g, {
65
- icon: /* @__PURE__ */ N(E, {
62
+ disabled: x
63
+ })] }) : /* @__PURE__ */ F(N, { children: [
64
+ l && /* @__PURE__ */ P(g, {
65
+ icon: /* @__PURE__ */ P(D, {
66
66
  size: u.SM,
67
67
  "aria-hidden": !0,
68
68
  stroke: d
69
69
  }),
70
70
  size: f.Small,
71
71
  "aria-label": B?.regenerateResponse ?? "Regenerate response",
72
- tooltipProps: { tooltip: z?.regenerate ?? "Regenerate" },
72
+ tooltipProps: { tooltip: L?.regenerate ?? "Regenerate" },
73
73
  onClick: l,
74
- disabled: S
74
+ disabled: x
75
75
  }),
76
- p && /* @__PURE__ */ N(t, {
76
+ p && /* @__PURE__ */ P(t, {
77
77
  iconSize: u.SM,
78
78
  onClick: q,
79
79
  size: f.Small,
80
80
  isCopied: V === "copy",
81
- copyLabel: z?.copy ?? "Copy",
82
- copiedLabel: z?.copied ?? "Copied!",
81
+ copyLabel: L?.copy ?? "Copy",
82
+ copiedLabel: L?.copied ?? "Copied!",
83
83
  ariaLabel: B?.copyResponse ?? "Copy response",
84
- isDisabled: S
84
+ isDisabled: x
85
85
  }),
86
- m && /* @__PURE__ */ N(t, {
86
+ m && /* @__PURE__ */ P(t, {
87
87
  iconSize: u.SM,
88
88
  onClick: J,
89
89
  size: f.Small,
90
90
  isCopied: V === "markdown",
91
- iconCopy: /* @__PURE__ */ N(w, {
91
+ iconCopy: /* @__PURE__ */ P(T, {
92
92
  size: u.SM,
93
93
  "aria-hidden": !0,
94
94
  stroke: d
95
95
  }),
96
- copyLabel: z?.copyMarkdown ?? "Copy as Markdown",
97
- copiedLabel: z?.copiedMarkdown ?? "Copied!",
96
+ copyLabel: L?.copyMarkdown ?? "Copy as Markdown",
97
+ copiedLabel: L?.copiedMarkdown ?? "Copied!",
98
98
  ariaLabel: B?.copyAsMarkdown ?? "Copy as markdown",
99
- isDisabled: S
99
+ isDisabled: x
100
100
  }),
101
- h && /* @__PURE__ */ N(g, {
102
- icon: y === i.Like ? /* @__PURE__ */ N(A, {
103
- className: L.activeRating,
101
+ h && /* @__PURE__ */ P(g, {
102
+ icon: y === i.Like ? /* @__PURE__ */ P(j, {
103
+ className: R.activeRating,
104
104
  size: u.SM,
105
105
  "aria-hidden": !0
106
- }) : /* @__PURE__ */ N(k, {
106
+ }) : /* @__PURE__ */ P(A, {
107
107
  size: u.SM,
108
108
  "aria-hidden": !0,
109
109
  stroke: d
@@ -111,16 +111,16 @@ var F = 4, I = (e) => {
111
111
  size: f.Small,
112
112
  "aria-label": B?.likeResponse ?? "Like response",
113
113
  "aria-pressed": y === i.Like,
114
- tooltipProps: { tooltip: z?.like ?? "Like" },
114
+ tooltipProps: { tooltip: L?.like ?? "Like" },
115
115
  onClick: h,
116
- disabled: S
116
+ disabled: x
117
117
  }),
118
- v && /* @__PURE__ */ N(g, {
119
- icon: y === i.Dislike ? /* @__PURE__ */ N(O, {
120
- className: L.activeRating,
118
+ v && /* @__PURE__ */ P(g, {
119
+ icon: y === i.Dislike ? /* @__PURE__ */ P(k, {
120
+ className: R.activeRating,
121
121
  size: u.SM,
122
122
  "aria-hidden": !0
123
- }) : /* @__PURE__ */ N(D, {
123
+ }) : /* @__PURE__ */ P(O, {
124
124
  size: u.SM,
125
125
  "aria-hidden": !0,
126
126
  stroke: d
@@ -128,105 +128,108 @@ var F = 4, I = (e) => {
128
128
  size: f.Small,
129
129
  "aria-label": B?.dislikeResponse ?? "Dislike response",
130
130
  "aria-pressed": y === i.Dislike,
131
- tooltipProps: { tooltip: z?.dislike ?? "Dislike" },
131
+ tooltipProps: { tooltip: L?.dislike ?? "Dislike" },
132
132
  onClick: v,
133
- disabled: S
133
+ disabled: x
134
134
  })
135
135
  ] })]
136
136
  }) : null;
137
- }, B = {
137
+ }, V = {
138
138
  userBubble: "_userBubble_cq829_1",
139
139
  collapsibleText: "_collapsibleText_cq829_6",
140
140
  expandedText: "_expandedText_cq829_11",
141
141
  collapsedText: "_collapsedText_cq829_15",
142
142
  startersDivider: "_startersDivider_cq829_26",
143
143
  text: "_text_cq829_30"
144
- }, V = "[&>.cm-bubble-markdown>div>*:first-child]:indent-[var(--cm-bubble-first-line-indent,0px)]", H = ({ text: t, styles: i, actions: c, hasAlwaysVisibleActions: u, isStreaming: d, attachments: f, beforeContent: p, afterContent: m, starters: g, onSelectStarter: _, deploymentIconUrl: v, deploymentDisplayName: y, markdownComponents: b, markdownClassNames: x, markdownUrlTransform: S, onAttachmentClick: C, onDownloadAll: w, onAttachmentRetry: T, codeBlockTheme: E, tableOnOpenInCanvas: D, labels: O, selectedAttachmentId: k }) => {
145
- let { colors: A, typography: j, className: M, bubbleClassName: F } = i ?? {}, { attachmentClickLabel: L, attachmentRetryLabel: R, attachmentOpenInNewTabLabel: H, startersAriaLabel: U = "Quick reply buttons", thinkingLabel: W, codeBlockCopyLabel: G, codeBlockCopiedLabel: K, tableCopyCsvLabel: q, tableCopyTxtLabel: J, tableCopyMarkdownLabel: Y, tableCopiedLabel: X, tableDownloadCsvLabel: Z, tableOpenInCanvasLabel: ee, tableDownloadFilename: te, tableScrollRegionAriaLabel: ne, assistantMessageAriaLabel: re = "Assistant message", deploymentIconFallbackLabel: Q = "AI" } = O ?? {}, ie = d ? (f ?? []).filter((t) => t.type !== e.Audio) : f ?? [], { slotRef: $, firstLineIndent: ae } = I(p != null && !!t), oe = o({
146
- "--cm-bubble-text": A?.text,
147
- "--cm-starters-divider": A?.startersDivider,
144
+ }, H = "[&>.cm-bubble-markdown>div>*:first-child]:indent-[var(--cm-bubble-first-line-indent,0px)]", U = ({ text: t, styles: i, actions: c, hasAlwaysVisibleActions: u, isStreaming: d, attachments: f, beforeContent: p, afterContent: m, starters: g, onSelectStarter: _, deploymentIconUrl: v, deploymentDisplayName: y, markdownComponents: x, markdownClassNames: S, markdownUrlTransform: C, onAttachmentClick: w, onDownloadAll: T, onAttachmentRetry: E, codeBlockTheme: D, tableOnOpenInCanvas: O, labels: k, selectedAttachmentId: A }) => {
145
+ let { colors: j, typography: M, className: N, bubbleClassName: I } = i ?? {}, { attachmentClickLabel: R, attachmentRetryLabel: z, attachmentOpenInNewTabLabel: U, startersAriaLabel: W = "Quick reply buttons", thinkingLabel: G, codeBlockCopyLabel: K, codeBlockCopiedLabel: q, tableCopyLabel: J, tableCopiedLabel: Y, tableDownloadCsvLabel: X, tableOpenInCanvasLabel: Z, tableDownloadFilename: ee, tableScrollRegionAriaLabel: te, assistantMessageAriaLabel: ne = "Assistant message", deploymentIconFallbackLabel: Q = "AI" } = k ?? {}, re = b(() => ({
146
+ copyLabel: J,
147
+ copiedLabel: Y,
148
+ downloadCsvLabel: X,
149
+ openInCanvasLabel: Z
150
+ }), [
151
+ J,
152
+ Y,
153
+ X,
154
+ Z
155
+ ]), ie = d ? (f ?? []).filter((t) => t.type !== e.Audio) : f ?? [], { slotRef: $, firstLineIndent: ae } = L(p != null && !!t), oe = o({
156
+ "--cm-bubble-text": j?.text,
157
+ "--cm-starters-divider": j?.startersDivider,
148
158
  "--cm-bubble-first-line-indent": ae
149
- }), se = s(B.text, j?.fontClassName), ce = !!(v || y);
150
- return /* @__PURE__ */ P("div", {
159
+ }), se = s(V.text, M?.fontClassName), ce = !!(v || y);
160
+ return /* @__PURE__ */ F("div", {
151
161
  role: "group",
152
- "aria-label": re,
162
+ "aria-label": ne,
153
163
  style: oe,
154
- className: s("flex w-full items-start gap-3", M),
155
- children: [ce && /* @__PURE__ */ N(n, {
164
+ className: s("flex w-full items-start gap-3", N),
165
+ children: [ce && /* @__PURE__ */ P(n, {
156
166
  src: v,
157
167
  size: 28,
158
168
  initialsName: y || Q,
159
169
  labels: { tooltip: y ?? Q }
160
- }), /* @__PURE__ */ P("div", {
170
+ }), /* @__PURE__ */ F("div", {
161
171
  className: "flex w-full min-w-0 max-w-full flex-col items-start gap-5",
162
- children: [/* @__PURE__ */ P("div", {
163
- className: s("flex w-full min-w-0 max-w-full flex-col items-start gap-4", F),
172
+ children: [/* @__PURE__ */ F("div", {
173
+ className: s("flex w-full min-w-0 max-w-full flex-col items-start gap-4", I),
164
174
  children: [
165
- p != null && !t && /* @__PURE__ */ N("div", {
175
+ p != null && !t && /* @__PURE__ */ P("div", {
166
176
  className: "min-w-0",
167
177
  children: p
168
178
  }),
169
- (t || d) && /* @__PURE__ */ P("div", {
179
+ (t || d) && /* @__PURE__ */ F("div", {
170
180
  "aria-live": "polite",
171
181
  "aria-atomic": "false",
172
- className: s(se, "relative min-w-0 max-w-full text-start", p != null && t && V),
173
- children: [p != null && t && /* @__PURE__ */ N("div", {
182
+ className: s(se, "relative min-w-0 max-w-full text-start", p != null && t && H),
183
+ children: [p != null && t && /* @__PURE__ */ P("div", {
174
184
  ref: $,
175
185
  className: "absolute start-0 top-0",
176
186
  children: p
177
- }), /* @__PURE__ */ N("div", {
187
+ }), /* @__PURE__ */ P("div", {
178
188
  className: "cm-bubble-markdown min-w-0 max-w-full",
179
- children: /* @__PURE__ */ N(r, {
189
+ children: /* @__PURE__ */ P(r, {
180
190
  content: t ?? "",
181
191
  isStreaming: d,
182
- thinkingLabel: W,
183
- components: b,
184
- classNames: x,
185
- urlTransform: S,
186
- codeBlockCopyLabel: G,
187
- codeBlockCopiedLabel: K,
188
- codeBlockTheme: E,
189
- tableActionLabels: {
190
- copyCsvLabel: q,
191
- copyTxtLabel: J,
192
- copyMarkdownLabel: Y,
193
- copiedLabel: X,
194
- downloadCsvLabel: Z,
195
- openInCanvasLabel: ee
196
- },
197
- tableDownloadFilename: te,
198
- tableOnOpenInCanvas: D,
199
- tableScrollRegionAriaLabel: ne
192
+ thinkingLabel: G,
193
+ components: x,
194
+ classNames: S,
195
+ urlTransform: C,
196
+ codeBlockCopyLabel: K,
197
+ codeBlockCopiedLabel: q,
198
+ codeBlockTheme: D,
199
+ tableActionLabels: re,
200
+ tableDownloadFilename: ee,
201
+ tableOnOpenInCanvas: O,
202
+ tableScrollRegionAriaLabel: te
200
203
  })
201
204
  })]
202
205
  }),
203
- /* @__PURE__ */ N(l, {
206
+ /* @__PURE__ */ P(l, {
204
207
  attachments: ie,
205
- onAttachmentClick: (e) => C?.(f?.find((t) => t.id === e)),
206
- onDownloadAll: w,
207
- onRetry: T,
208
+ onAttachmentClick: (e) => w?.(f?.find((t) => t.id === e)),
209
+ onDownloadAll: T,
210
+ onRetry: E,
208
211
  labels: {
209
- clickLabel: L,
210
- retryLabel: R,
211
- openInNewTabLabel: H
212
+ clickLabel: R,
213
+ retryLabel: z,
214
+ openInNewTabLabel: U
212
215
  },
213
- selectedAttachmentId: k
216
+ selectedAttachmentId: A
214
217
  }),
215
218
  m,
216
- /* @__PURE__ */ N(z, {
219
+ /* @__PURE__ */ P(B, {
217
220
  ...c,
218
221
  isAlwaysVisible: u,
219
222
  role: a.Assistant
220
223
  })
221
224
  ]
222
- }), g && g.length > 0 && _ && /* @__PURE__ */ N("div", {
225
+ }), g && g.length > 0 && _ && /* @__PURE__ */ P("div", {
223
226
  role: "list",
224
- "aria-label": U,
225
- className: s("flex w-full flex-wrap gap-2 border-t pt-5", B.startersDivider),
226
- children: g.map((e, t) => /* @__PURE__ */ N("div", {
227
+ "aria-label": W,
228
+ className: s("flex w-full flex-wrap gap-2 border-t pt-5", V.startersDivider),
229
+ children: g.map((e, t) => /* @__PURE__ */ P("div", {
227
230
  role: "listitem",
228
231
  className: "min-w-[40px]",
229
- children: /* @__PURE__ */ N(h, {
232
+ children: /* @__PURE__ */ P(h, {
230
233
  label: e.title,
231
234
  className: "min-w-[40px]",
232
235
  onClick: () => _(e)
@@ -235,74 +238,74 @@ var F = 4, I = (e) => {
235
238
  })]
236
239
  })]
237
240
  });
238
- }, U = ({ labels: { titleText: e = "Model switched.", bodyText: t } }) => /* @__PURE__ */ N("div", {
241
+ }, W = ({ labels: { titleText: e = "Model switched.", bodyText: t } }) => /* @__PURE__ */ P("div", {
239
242
  role: "status",
240
243
  "aria-live": "polite",
241
- children: /* @__PURE__ */ N(p, {
244
+ children: /* @__PURE__ */ P(p, {
242
245
  title: e,
243
246
  message: t,
244
247
  textClassName: "flex-row flex-wrap gap-1"
245
248
  })
246
- }), W = /* @__PURE__ */ function(e) {
249
+ }), G = /* @__PURE__ */ function(e) {
247
250
  return e.Bottom = "Bottom", e.Top = "Top", e;
248
- }({}), G = 10, K = ({ text: e, position: t = W.Bottom, styles: n, actions: r, hasAlwaysVisibleActions: i, attachments: d, collapsedLineCount: p = G, labels: h, beforeContent: g, onAttachmentClick: _, onDownloadAll: v, onAttachmentRetry: b, selectedAttachmentId: x }) => {
249
- let { colors: w, typography: T, className: E, bubbleClassName: D } = n ?? {}, { showMoreLabel: O = "Show more", showLessLabel: k = "Show less", showMoreAriaLabel: A, showLessAriaLabel: j, attachmentClickLabel: F, attachmentRetryLabel: I, attachmentOpenInNewTabLabel: L, userMessageAriaLabel: R = "User message" } = h ?? {}, { textRef: V, isTextCollapsed: H, isOverflowing: U, collapsedMaxHeight: K, expandedMaxHeight: q, isCollapsed: J, toggleCollapsed: Y } = c({
251
+ }({}), K = 10, q = ({ text: e, position: t = G.Bottom, styles: n, actions: r, hasAlwaysVisibleActions: i, attachments: d, collapsedLineCount: p = K, labels: h, beforeContent: g, onAttachmentClick: _, onDownloadAll: v, onAttachmentRetry: b, selectedAttachmentId: x }) => {
252
+ let { colors: S, typography: T, className: E, bubbleClassName: D } = n ?? {}, { showMoreLabel: O = "Show more", showLessLabel: k = "Show less", showMoreAriaLabel: A, showLessAriaLabel: j, attachmentClickLabel: M, attachmentRetryLabel: I, attachmentOpenInNewTabLabel: L, userMessageAriaLabel: R = "User message" } = h ?? {}, { textRef: z, isTextCollapsed: H, isOverflowing: U, collapsedMaxHeight: W, expandedMaxHeight: q, isCollapsed: J, toggleCollapsed: Y } = c({
250
253
  text: e ?? "",
251
254
  collapsedLineCount: p
252
255
  }), X = o({
253
- "--cm-bubble-user-bg": w?.userBackground,
254
- "--cm-bubble-user-border": w?.userBorder,
255
- "--cm-bubble-fade-start": w?.fadeStart,
256
- "--cm-bubble-text": w?.text,
257
- "--cm-bubble-collapsed-height": U ? `${K}px` : void 0,
256
+ "--cm-bubble-user-bg": S?.userBackground,
257
+ "--cm-bubble-user-border": S?.userBorder,
258
+ "--cm-bubble-fade-start": S?.fadeStart,
259
+ "--cm-bubble-text": S?.text,
260
+ "--cm-bubble-collapsed-height": U ? `${W}px` : void 0,
258
261
  "--cm-bubble-expanded-height": U ? `${q}px` : void 0
259
- }), Z = t === W.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", ee = s(B.text, T?.fontClassName), te = A ?? O, ne = j ?? k, re = J ? O : k, Q = J ? te : ne, ie = J ? S : C, $ = y();
260
- return /* @__PURE__ */ N("div", {
262
+ }), Z = t === G.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", ee = s(V.text, T?.fontClassName), te = A ?? O, ne = j ?? k, Q = J ? O : k, re = J ? te : ne, ie = J ? C : w, $ = y();
263
+ return /* @__PURE__ */ P("div", {
261
264
  role: "group",
262
265
  "aria-label": R,
263
266
  style: X,
264
267
  className: s("flex w-full", E),
265
- children: /* @__PURE__ */ P("div", {
268
+ children: /* @__PURE__ */ F("div", {
266
269
  className: "ms-auto flex w-fit min-w-0 max-w-full flex-col items-end gap-4",
267
270
  children: [
268
- /* @__PURE__ */ N(l, {
271
+ /* @__PURE__ */ P(l, {
269
272
  attachments: d ?? [],
270
273
  onAttachmentClick: (e) => _?.(d?.find((t) => t.id === e)),
271
274
  onDownloadAll: v,
272
275
  onRetry: b,
273
276
  labels: {
274
- clickLabel: F,
277
+ clickLabel: M,
275
278
  retryLabel: I,
276
279
  openInNewTabLabel: L
277
280
  },
278
281
  styles: { className: "max-w-[640px]" },
279
282
  selectedAttachmentId: x
280
283
  }),
281
- (e || g != null) && /* @__PURE__ */ N("div", {
282
- className: s(B.userBubble, "flex w-fit items-center justify-end rounded-es-2xl rounded-ss-2xl border px-6 py-4", Z, D),
283
- children: /* @__PURE__ */ P("div", {
284
+ (e || g != null) && /* @__PURE__ */ P("div", {
285
+ className: s(V.userBubble, "flex w-fit items-center justify-end rounded-es-2xl rounded-ss-2xl border px-6 py-4", Z, D),
286
+ children: /* @__PURE__ */ F("div", {
284
287
  className: "flex min-w-0 flex-col items-start",
285
288
  children: [
286
- e && /* @__PURE__ */ N("div", {
289
+ e && /* @__PURE__ */ P("div", {
287
290
  id: $,
288
- className: s("relative overflow-hidden", U && B.collapsibleText, U && !J && B.expandedText, H && B.collapsedText),
289
- children: /* @__PURE__ */ P("p", {
290
- ref: V,
291
+ className: s("relative overflow-hidden", U && V.collapsibleText, U && !J && V.expandedText, H && V.collapsedText),
292
+ children: /* @__PURE__ */ F("p", {
293
+ ref: z,
291
294
  className: s(ee, "whitespace-pre-wrap text-start [overflow-wrap:anywhere]"),
292
- children: [g != null && /* @__PURE__ */ N("span", {
295
+ children: [g != null && /* @__PURE__ */ P("span", {
293
296
  className: "me-1",
294
297
  children: g
295
298
  }), e]
296
299
  })
297
300
  }),
298
- g != null && !e && /* @__PURE__ */ N("div", { children: g }),
299
- U && /* @__PURE__ */ N(m, {
300
- label: /* @__PURE__ */ N(M, { children: re }),
301
- iconBefore: /* @__PURE__ */ N(ie, {
301
+ g != null && !e && /* @__PURE__ */ P("div", { children: g }),
302
+ U && /* @__PURE__ */ P(m, {
303
+ label: /* @__PURE__ */ P(N, { children: Q }),
304
+ iconBefore: /* @__PURE__ */ P(ie, {
302
305
  size: u.SM,
303
306
  "aria-hidden": "true"
304
307
  }),
305
- "aria-label": Q,
308
+ "aria-label": re,
306
309
  "aria-expanded": !J,
307
310
  "aria-controls": $,
308
311
  className: "mt-3",
@@ -312,7 +315,7 @@ var F = 4, I = (e) => {
312
315
  ]
313
316
  })
314
317
  }),
315
- /* @__PURE__ */ N(z, {
318
+ /* @__PURE__ */ P(B, {
316
319
  ...r,
317
320
  isAlwaysVisible: i,
318
321
  role: a.User
@@ -320,14 +323,14 @@ var F = 4, I = (e) => {
320
323
  ]
321
324
  })
322
325
  });
323
- }, q = ({ role: e, beforeContent: t, onAttachmentClick: n, markdownComponents: r, markdownUrlTransform: i, ...o }) => e === a.Status ? /* @__PURE__ */ N(U, { labels: {
326
+ }, J = ({ role: e, beforeContent: t, onAttachmentClick: n, markdownComponents: r, markdownUrlTransform: i, ...o }) => e === a.Status ? /* @__PURE__ */ P(W, { labels: {
324
327
  titleText: o.labels?.statusTitleText,
325
328
  bodyText: o.labels?.statusBodyText ?? ""
326
- } }) : e === a.User ? /* @__PURE__ */ N(K, {
329
+ } }) : e === a.User ? /* @__PURE__ */ P(q, {
327
330
  ...o,
328
331
  beforeContent: t,
329
332
  onAttachmentClick: n
330
- }) : /* @__PURE__ */ N(H, {
333
+ }) : /* @__PURE__ */ P(U, {
331
334
  ...o,
332
335
  beforeContent: t,
333
336
  markdownComponents: r,
@@ -335,4 +338,4 @@ var F = 4, I = (e) => {
335
338
  onAttachmentClick: n
336
339
  });
337
340
  //#endregion
338
- export { H as AssistantMessageBubble, W as BubblePosition, z as MessageActions, q as MessageBubble, U as StatusMessageBubble, K as UserMessageBubble };
341
+ export { U as AssistantMessageBubble, G as BubblePosition, B as MessageActions, J as MessageBubble, W as StatusMessageBubble, q as UserMessageBubble };
@@ -67,12 +67,8 @@ export interface AssistantMessageBubbleLabels extends MessageBubbleLabels {
67
67
  codeBlockCopyLabel?: string;
68
68
  /** aria-label for the code block copy button after copying. */
69
69
  codeBlockCopiedLabel?: string;
70
- /** Label for copying a Markdown table as CSV. */
71
- tableCopyCsvLabel?: string;
72
- /** Label for copying a Markdown table as text. */
73
- tableCopyTxtLabel?: string;
74
- /** Label for copying a Markdown table as Markdown. */
75
- tableCopyMarkdownLabel?: string;
70
+ /** Label for the copy action on a Markdown table (copies as Markdown format). */
71
+ tableCopyLabel?: string;
76
72
  /** Status announced after a Markdown table has been copied. */
77
73
  tableCopiedLabel?: string;
78
74
  /** Label for downloading a Markdown table as CSV. */
@@ -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,aAAa,EACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;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EAAE,MAAM,CAAC;CAC7B;AAED,0CAA0C;AAC1C,MAAM,WAAW,2BAA4B,SAAQ,sBAAsB;IACzE,yHAAyH;IACzH,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,2JAA2J;IAC3J,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;IAChD;;;;OAIG;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,CAAC,sBAAsB,EAAE,UAAU,GAAG,oBAAoB,CAAC,GAAG;IAChE,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.3",
4
+ "version": "1.2.0-dev.38",
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.3"
22
+ "@epam/ai-dial-attachment-input": "1.2.0-dev.38"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.8",
26
- "@epam/ai-dial-chat-shared": "1.2.0-dev.3",
26
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.38",
27
27
  "@epam/ai-dial-ui-kit": "^0.14.2"
28
28
  },
29
29
  "repository": {