@ni/nimble-components 20.17.3 → 20.17.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 +14 -14
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +12 -3
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/rich-text/editor/models/create-tiptap-editor.js +2 -10
- package/dist/esm/rich-text/editor/models/create-tiptap-editor.js.map +1 -1
- package/dist/esm/rich-text/editor/styles.js +10 -1
- package/dist/esm/rich-text/editor/styles.js.map +1 -1
- package/dist/esm/rich-text/models/markdown-parser.js +1 -2
- package/dist/esm/rich-text/models/markdown-parser.js.map +1 -1
- package/dist/esm/rich-text-mention/base/view/index.d.ts +0 -7
- package/dist/esm/rich-text-mention/base/view/index.js +0 -13
- package/dist/esm/rich-text-mention/base/view/index.js.map +1 -1
- package/dist/esm/rich-text-mention/users/view/styles.js +2 -22
- package/dist/esm/rich-text-mention/users/view/styles.js.map +1 -1
- package/dist/esm/rich-text-mention/users/view/template.js +2 -6
- package/dist/esm/rich-text-mention/users/view/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -16301,7 +16301,7 @@
|
|
|
16301
16301
|
|
|
16302
16302
|
/**
|
|
16303
16303
|
* Do not edit directly
|
|
16304
|
-
* Generated on
|
|
16304
|
+
* Generated on Wed, 10 Jan 2024 13:29:56 GMT
|
|
16305
16305
|
*/
|
|
16306
16306
|
|
|
16307
16307
|
const Information100DarkUi = "#a46eff";
|
|
@@ -42679,7 +42679,7 @@ img.ProseMirror-separator {
|
|
|
42679
42679
|
margin-block-end: 0;
|
|
42680
42680
|
}
|
|
42681
42681
|
|
|
42682
|
-
li > p {
|
|
42682
|
+
.ProseMirror li > p {
|
|
42683
42683
|
margin-block: 0;
|
|
42684
42684
|
}
|
|
42685
42685
|
|
|
@@ -42730,6 +42730,15 @@ img.ProseMirror-separator {
|
|
|
42730
42730
|
|
|
42731
42731
|
${ /** End of anchor styles */''}
|
|
42732
42732
|
|
|
42733
|
+
${ /* Shared styles for all mention views at edit time. */''}
|
|
42734
|
+
.ProseMirror .nimble-mention-view-edit {
|
|
42735
|
+
color: ${bodyFontColor};
|
|
42736
|
+
}
|
|
42737
|
+
|
|
42738
|
+
:host([disabled]) .ProseMirror .nimble-mention-view-edit {
|
|
42739
|
+
color: ${bodyDisabledFontColor};
|
|
42740
|
+
}
|
|
42741
|
+
|
|
42733
42742
|
.footer-section {
|
|
42734
42743
|
display: flex;
|
|
42735
42744
|
justify-content: space-between;
|
|
@@ -52054,8 +52063,7 @@ img.ProseMirror-separator {
|
|
|
52054
52063
|
currentMention.viewElement,
|
|
52055
52064
|
{
|
|
52056
52065
|
'mention-href': href,
|
|
52057
|
-
'mention-label': displayName
|
|
52058
|
-
'disable-editing': true
|
|
52066
|
+
'mention-label': displayName
|
|
52059
52067
|
}
|
|
52060
52068
|
];
|
|
52061
52069
|
}
|
|
@@ -56181,9 +56189,7 @@ img.ProseMirror-separator {
|
|
|
56181
56189
|
renderHTML({ node, HTMLAttributes }) {
|
|
56182
56190
|
return [
|
|
56183
56191
|
config.viewElement,
|
|
56184
|
-
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes,
|
|
56185
|
-
// disable-editing is a boolean attribute
|
|
56186
|
-
{ 'disable-editing': '' }),
|
|
56192
|
+
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
56187
56193
|
this.options.renderLabel({
|
|
56188
56194
|
options: this.options,
|
|
56189
56195
|
node
|
|
@@ -56193,13 +56199,7 @@ img.ProseMirror-separator {
|
|
|
56193
56199
|
}).configure({
|
|
56194
56200
|
suggestion: {
|
|
56195
56201
|
char: config.character,
|
|
56196
|
-
|
|
56197
|
-
* When rendering the view element as a decoration tag for suggestions,
|
|
56198
|
-
* it leads to the deletion of the entire suggested word in Safari when pressing backspace.
|
|
56199
|
-
* See: https://github.com/ni/nimble/issues/1716
|
|
56200
|
-
* When addressed, re-enable the view element as follows:
|
|
56201
|
-
* decorationTag: config.viewElement,
|
|
56202
|
-
*/
|
|
56202
|
+
decorationClass: 'nimble-mention-view-edit',
|
|
56203
56203
|
pluginKey: new PluginKey(config.key),
|
|
56204
56204
|
allowSpaces: true,
|
|
56205
56205
|
render: () => {
|