@eshal-bot/chat-widget 0.2.7 → 0.2.9
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-DNrjrl0W.esm.js → chat-widget-MarkdownRenderer-BzYOMvut.esm.js} +2 -2
- package/dist/{chat-widget-index-8wTGWK67.esm.js → chat-widget-index-CUDFhUWj.esm.js} +2 -2
- package/dist/chat-widget-markdown-chunk.js +9 -4
- package/dist/chat-widget-markdown-chunk.min.js +1 -1
- package/dist/chat-widget.esm.js +1 -1
- package/dist/chat-widget.js +105 -17
- package/dist/chat-widget.min.js +2 -2
- package/dist/chat-widget.umd.js +3 -3
- package/package.json +1 -1
|
@@ -88861,13 +88861,18 @@
|
|
|
88861
88861
|
flexShrink: 0,
|
|
88862
88862
|
color: isDark ? '#60a5fa' : BRAND_BLUE
|
|
88863
88863
|
}
|
|
88864
|
-
}), spec.title &&
|
|
88864
|
+
}), spec.title &&
|
|
88865
|
+
/*#__PURE__*/
|
|
88866
|
+
// Wrap the title to as many lines as it needs instead of
|
|
88867
|
+
// truncating with an ellipsis - a full sentence like "Your table
|
|
88868
|
+
// request has been received" was cut to "...has been rec..." at
|
|
88869
|
+
// the widget's default width. minWidth:0 keeps it shrinking inside
|
|
88870
|
+
// the flex row; overflowWrap handles a pathological long token.
|
|
88871
|
+
jsxRuntimeExports.jsx("div", {
|
|
88865
88872
|
style: {
|
|
88866
88873
|
fontWeight: 600,
|
|
88867
88874
|
minWidth: 0,
|
|
88868
|
-
|
|
88869
|
-
textOverflow: 'ellipsis',
|
|
88870
|
-
whiteSpace: 'nowrap'
|
|
88875
|
+
overflowWrap: 'anywhere'
|
|
88871
88876
|
},
|
|
88872
88877
|
children: spec.title
|
|
88873
88878
|
})]
|