@epam/ai-dial-conversation-messages 1.1.0-dev.55 → 1.1.0-dev.57
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/index.css +1 -1
- package/index.js +7 -7
- package/package.json +3 -3
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._userBubble_1tjh8_1{border-color:var(--cm-bubble-user-border,var(--stroke-secondary,#d1dbea));background:var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7))}._collapsibleText_1tjh8_6{max-height:var(--cm-bubble-collapsed-height);transition:max-height .2s ease-out}._expandedText_1tjh8_11{max-height:var(--cm-bubble-expanded-height)}._collapsedText_1tjh8_15:after{content:"";pointer-events:none;background:linear-gradient(to bottom, var(--cm-bubble-fade-start,var(--bg-transparent-black,#0000)), 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_1tjh8_6{transition:none}}._startersDivider_1tjh8_26{border-color:var(--cm-starters-divider,var(--stroke-secondary,#d1dbea))}._text_1tjh8_30{color:var(--cm-bubble-text,var(--text-primary,#161b2d))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.js
CHANGED
|
@@ -749,12 +749,12 @@ var lt = 2e3, ut = ({ role: e = o.User, onEdit: t, onEditHover: n, onDelete: r,
|
|
|
749
749
|
] })]
|
|
750
750
|
});
|
|
751
751
|
}, $ = {
|
|
752
|
-
userBubble: "
|
|
753
|
-
collapsibleText: "
|
|
754
|
-
expandedText: "
|
|
755
|
-
collapsedText: "
|
|
756
|
-
startersDivider: "
|
|
757
|
-
text: "
|
|
752
|
+
userBubble: "_userBubble_1tjh8_1",
|
|
753
|
+
collapsibleText: "_collapsibleText_1tjh8_6",
|
|
754
|
+
expandedText: "_expandedText_1tjh8_11",
|
|
755
|
+
collapsedText: "_collapsedText_1tjh8_15",
|
|
756
|
+
startersDivider: "_startersDivider_1tjh8_26",
|
|
757
|
+
text: "_text_1tjh8_30"
|
|
758
758
|
}, dt = ({ text: e, styles: i, actions: a, hasAlwaysVisibleActions: s, isStreaming: c, attachments: d, afterContent: f, starters: p, onSelectStarter: m, deploymentIconUrl: h, deploymentDisplayName: g, markdownComponents: _, onAttachmentClick: v, onDownloadAll: b, onAttachmentRetry: x, codeBlockTheme: S, labels: C }) => {
|
|
759
759
|
let { colors: w, typography: T, className: E, bubbleClassName: D } = i ?? {}, { attachmentClickLabel: O, attachmentRetryLabel: k, attachmentOpenInNewTabLabel: A, startersAriaLabel: j = "Quick reply buttons", thinkingLabel: M, codeBlockCopyLabel: N, codeBlockCopiedLabel: P, assistantMessageAriaLabel: F = "Assistant message", deploymentIconFallbackLabel: I = "AI" } = C ?? {}, L = c ? (d ?? []).filter((e) => e.type !== t.Audio) : d ?? [], R = l({
|
|
760
760
|
"--cm-bubble-text": w?.text,
|
|
@@ -844,7 +844,7 @@ var lt = 2e3, ut = ({ role: e = o.User, onEdit: t, onEditHover: n, onDelete: r,
|
|
|
844
844
|
"--cm-bubble-text": _?.text,
|
|
845
845
|
"--cm-bubble-collapsed-height": P ? `${F}px` : void 0,
|
|
846
846
|
"--cm-bubble-expanded-height": P ? `${I}px` : void 0
|
|
847
|
-
}), B = t === pt.Top ? "rounded-ee-
|
|
847
|
+
}), B = t === pt.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", V = u($.text, v?.fontClassName), ee = C ?? x, te = w ?? S, ne = L ? x : S, re = L ? ee : te, ie = L ? j : M, ae = Ne();
|
|
848
848
|
return /* @__PURE__ */ q("div", {
|
|
849
849
|
role: "group",
|
|
850
850
|
"aria-label": k,
|
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.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.57",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "^19.0.0",
|
|
21
21
|
"@tabler/icons-react": "^3.0.0",
|
|
22
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
23
|
-
"@epam/ai-dial-conversation-input": "1.1.0-dev.
|
|
22
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.57",
|
|
23
|
+
"@epam/ai-dial-conversation-input": "1.1.0-dev.57",
|
|
24
24
|
"react-markdown": "^10.1.0",
|
|
25
25
|
"@epam/ai-dial-ui-kit": "^0.13.0-dev.17"
|
|
26
26
|
},
|