@ni/nimble-components 20.16.3 → 20.16.4
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/all-components-bundle.js +11 -2
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2 -2
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/rich-text/editor/models/create-tiptap-editor.js +9 -0
- package/dist/esm/rich-text/editor/models/create-tiptap-editor.js.map +1 -1
- package/dist/esm/rich-text/editor/testing/rich-text-editor.pageobject.d.ts +1 -0
- package/dist/esm/rich-text/editor/testing/rich-text-editor.pageobject.js +4 -0
- package/dist/esm/rich-text/editor/testing/rich-text-editor.pageobject.js.map +1 -1
- package/dist/esm/rich-text-mention/users/view/styles.js +1 -1
- package/package.json +1 -1
|
@@ -16300,7 +16300,7 @@
|
|
|
16300
16300
|
|
|
16301
16301
|
/**
|
|
16302
16302
|
* Do not edit directly
|
|
16303
|
-
* Generated on
|
|
16303
|
+
* Generated on Fri, 15 Dec 2023 13:52:49 GMT
|
|
16304
16304
|
*/
|
|
16305
16305
|
|
|
16306
16306
|
const Information100DarkUi = "#a46eff";
|
|
@@ -42754,7 +42754,7 @@ img.ProseMirror-separator {
|
|
|
42754
42754
|
box-sizing: border-box;
|
|
42755
42755
|
font: ${bodyFont};
|
|
42756
42756
|
color: ${bodyFontColor};
|
|
42757
|
-
white-space:
|
|
42757
|
+
white-space: pre-wrap;
|
|
42758
42758
|
}
|
|
42759
42759
|
|
|
42760
42760
|
.control {
|
|
@@ -60464,6 +60464,15 @@ img.ProseMirror-separator {
|
|
|
60464
60464
|
let inSuggestionMode = false;
|
|
60465
60465
|
return {
|
|
60466
60466
|
onStart: (props) => {
|
|
60467
|
+
/**
|
|
60468
|
+
* If the cursor position moves to outside of the mention and configuration element changes,
|
|
60469
|
+
* the setMarkdown() will trigger this `onStart` without a decoration node because the cursor
|
|
60470
|
+
* position is temporarily moved out of the suggestion decoration. Ignore `onStart` in that case
|
|
60471
|
+
* and don't show the mention list box since it doesn't have anything to anchor to.
|
|
60472
|
+
*/
|
|
60473
|
+
if (props.decorationNode === null) {
|
|
60474
|
+
return;
|
|
60475
|
+
}
|
|
60467
60476
|
inSuggestionMode = true;
|
|
60468
60477
|
config.mentionUpdateEmitter(props.query);
|
|
60469
60478
|
activeMentionCharacterEmitter(props.text.slice(0, 1));
|