@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.
@@ -1 +1 @@
1
- export{S as default}from"./chat-widget-index-CnsqQX_h.esm.js";import"react";import"react-dom/client";import"react/jsx-runtime";import"react-dom";
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";
@@ -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: primaryColor,
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.15';
21632
+ const WIDGET_VERSION = '0.2.16';
21629
21633
 
21630
21634
  /**
21631
21635
  * API utility functions