@eshal-bot/chat-widget 0.1.103 → 0.1.104
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-DNvWzRHr.esm.js → chat-widget-MarkdownRenderer-U7u2DTh0.esm.js} +1 -1
- package/dist/chat-widget-index-DpoyZhy6.esm.js +20 -0
- package/dist/chat-widget.esm.js +1 -1
- package/dist/chat-widget.js +7 -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-index-2LNAzlMS.esm.js +0 -20
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-DpoyZhy6.esm.js";import"react";import"react-dom/client";import"react-dom";import"react/jsx-runtime";
|
package/dist/chat-widget.js
CHANGED
|
@@ -14295,8 +14295,13 @@
|
|
|
14295
14295
|
// EV-2351: Unicode ranges for RTL scripts (Arabic, Hebrew, and their
|
|
14296
14296
|
// Extended-A blocks + Arabic Presentation Forms) and for common LTR scripts.
|
|
14297
14297
|
// Used by detectTextDirection's "first strong character" scan below.
|
|
14298
|
-
const RTL_CHAR_RANGE =
|
|
14299
|
-
|
|
14298
|
+
const RTL_CHAR_RANGE =
|
|
14299
|
+
// Escaped ON PURPOSE. This copy's bound was always right, but the raw
|
|
14300
|
+
// glyphs did not survive being pasted into the frontend's two copies -
|
|
14301
|
+
// the precomposed U+FB1D arrived as U+05D9 U+05B4, read as the range
|
|
14302
|
+
// U+05B4-U+FB4F. Escapes cannot be mangled that way.
|
|
14303
|
+
/[\u0590-\u05ff\u0600-\u06ff\u0700-\u074f\u0750-\u077f\u08a0-\u08ff\ufb1d-\ufb4f\ufb50-\ufdff\ufe70-\ufeff]/;
|
|
14304
|
+
const LTR_CHAR_RANGE = /[A-Za-z\u00c0-\u024f\u0370-\u03ff\u0400-\u04ff]/;
|
|
14300
14305
|
|
|
14301
14306
|
/**
|
|
14302
14307
|
* EV-2351: detect the writing direction of a piece of TEXT, not the
|