@eshal-bot/chat-widget 0.2.15 → 0.2.16
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/dist/{chat-widget-MarkdownRenderer-VOzNYu1D.esm.js → chat-widget-MarkdownRenderer-CImk866C.esm.js} +1 -1
- package/dist/{chat-widget-index-CnsqQX_h.esm.js → chat-widget-index-DxXf_IzK.esm.js} +4 -4
- package/dist/chat-widget.esm.js +1 -1
- package/dist/chat-widget.js +6 -2
- package/dist/chat-widget.min.js +1 -1
- package/dist/chat-widget.umd.js +1 -1
- package/package.json +1 -1
package/dist/chat-widget.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{S as default}from"./chat-widget-index-
|
|
1
|
+
export{S as default}from"./chat-widget-index-DxXf_IzK.esm.js";import"react";import"react-dom/client";import"react/jsx-runtime";import"react-dom";
|
package/dist/chat-widget.js
CHANGED
|
@@ -16891,6 +16891,10 @@
|
|
|
16891
16891
|
});
|
|
16892
16892
|
}
|
|
16893
16893
|
|
|
16894
|
+
// Vertical pills: the text takes the agent bubble's own text colour (same
|
|
16895
|
+
// fallback chain MessageBubble uses), the border keeps the header colour.
|
|
16896
|
+
const chipTextColor = questionTextColor ?? textColor ?? (isDark ? "#f3f4f6" : "#1A1A1A");
|
|
16897
|
+
|
|
16894
16898
|
// Vertical layout (default) - pill style matching chat-preview
|
|
16895
16899
|
return /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
|
|
16896
16900
|
style: {
|
|
@@ -16915,7 +16919,7 @@
|
|
|
16915
16919
|
direction: questionIsRtl ? "rtl" : "ltr",
|
|
16916
16920
|
fontFamily,
|
|
16917
16921
|
fontSize,
|
|
16918
|
-
color:
|
|
16922
|
+
color: chipTextColor,
|
|
16919
16923
|
backgroundColor: isDark ? "transparent" : "#ffffff",
|
|
16920
16924
|
border: `1.5px solid ${primaryColor}`,
|
|
16921
16925
|
borderRadius: "9999px",
|
|
@@ -21625,7 +21629,7 @@
|
|
|
21625
21629
|
* value by its own test (that constant sat at 0.1.113 while this package was
|
|
21626
21630
|
* at 0.2.2 precisely because nothing enforced it - EV-2431).
|
|
21627
21631
|
*/
|
|
21628
|
-
const WIDGET_VERSION = '0.2.
|
|
21632
|
+
const WIDGET_VERSION = '0.2.16';
|
|
21629
21633
|
|
|
21630
21634
|
/**
|
|
21631
21635
|
* API utility functions
|