@lv-x-software-house/x_view 1.2.6-dev.22 → 1.2.6-dev.23
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/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13103,6 +13103,10 @@ function RichGroupEditor({
|
|
|
13103
13103
|
dismissedTriggerRef.current = null;
|
|
13104
13104
|
return null;
|
|
13105
13105
|
}
|
|
13106
|
+
const charBeforeAt = atIndex > 0 ? textBefore[atIndex - 1] : null;
|
|
13107
|
+
if (charBeforeAt && !/\s/.test(charBeforeAt)) {
|
|
13108
|
+
return null;
|
|
13109
|
+
}
|
|
13106
13110
|
if (dismissedTriggerRef.current && dismissedTriggerRef.current.node === node && dismissedTriggerRef.current.atIndex === atIndex) {
|
|
13107
13111
|
return null;
|
|
13108
13112
|
}
|
|
@@ -13230,10 +13234,6 @@ function RichGroupEditor({
|
|
|
13230
13234
|
}
|
|
13231
13235
|
return;
|
|
13232
13236
|
}
|
|
13233
|
-
setTimeout(() => {
|
|
13234
|
-
const ctx = getMentionContext();
|
|
13235
|
-
setMentionState(ctx);
|
|
13236
|
-
}, 0);
|
|
13237
13237
|
},
|
|
13238
13238
|
[onMentionClick, getMentionContext, searchItems]
|
|
13239
13239
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -13153,6 +13153,10 @@ function RichGroupEditor({
|
|
|
13153
13153
|
dismissedTriggerRef.current = null;
|
|
13154
13154
|
return null;
|
|
13155
13155
|
}
|
|
13156
|
+
const charBeforeAt = atIndex > 0 ? textBefore[atIndex - 1] : null;
|
|
13157
|
+
if (charBeforeAt && !/\s/.test(charBeforeAt)) {
|
|
13158
|
+
return null;
|
|
13159
|
+
}
|
|
13156
13160
|
if (dismissedTriggerRef.current && dismissedTriggerRef.current.node === node && dismissedTriggerRef.current.atIndex === atIndex) {
|
|
13157
13161
|
return null;
|
|
13158
13162
|
}
|
|
@@ -13280,10 +13284,6 @@ function RichGroupEditor({
|
|
|
13280
13284
|
}
|
|
13281
13285
|
return;
|
|
13282
13286
|
}
|
|
13283
|
-
setTimeout(() => {
|
|
13284
|
-
const ctx = getMentionContext();
|
|
13285
|
-
setMentionState(ctx);
|
|
13286
|
-
}, 0);
|
|
13287
13287
|
},
|
|
13288
13288
|
[onMentionClick, getMentionContext, searchItems]
|
|
13289
13289
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.6-dev.
|
|
3
|
+
"version": "1.2.6-dev.23",
|
|
4
4
|
"description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
|
|
5
5
|
"author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
|
|
6
6
|
"license": "UNLICENSED",
|