@remirror/extension-mention-atom
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -1,2 +0,2 @@ | ||
var _initClass, _MentionAtomExtension, _dec, _dec2, _initProto; | ||
var _initClass, _MentionAtomExtension, _dec, _dec2, _initProto, _class; | ||
function createAddInitializerMethod(e, t) { return function (r) { assertNotFinished(t, "addInitializer"), assertCallable(r, "An initializer"), e.push(r); }; } | ||
@@ -43,9 +43,3 @@ function assertInstanceIfPrivate(e, t) { if (!e(t)) throw new TypeError("Attempted to access private element on non-instance"); } | ||
staticKeys: ["selectable", "draggable", "mentionTag", "matchers"] | ||
}), _dec2 = command(), class MentionAtomExtension extends NodeExtension { | ||
static { | ||
({ | ||
e: [_initProto], | ||
c: [_MentionAtomExtension, _initClass] | ||
} = _applyDecs(this, [[_dec2, 2, "createMentionAtom"]], [_dec])); | ||
} | ||
}), _dec2 = command(), (_class = class MentionAtomExtension extends NodeExtension { | ||
constructor(...args) { | ||
@@ -109,3 +103,3 @@ super(...args); | ||
}; | ||
return [matcher?.mentionTag ?? this.options.mentionTag, attrs, label]; | ||
return [(matcher === null || matcher === void 0 ? void 0 : matcher.mentionTag) ?? this.options.mentionTag, attrs, label]; | ||
} | ||
@@ -190,6 +184,6 @@ }; | ||
} | ||
static { | ||
_initClass(); | ||
} | ||
}), _MentionAtomExtension); | ||
}, ({ | ||
e: [_initProto], | ||
c: [_MentionAtomExtension, _initClass] | ||
} = _applyDecs(_class, [[_dec2, 2, "createMentionAtom"]], [_dec])), _initClass())), _MentionAtomExtension); | ||
var DEFAULT_MATCHER = { | ||
@@ -196,0 +190,0 @@ ...pick(DEFAULT_SUGGESTER, ["startOfLine", "supportedCharacters", "validPrefixCharacters", "invalidPrefixCharacters"]), |
{ | ||
"name": "@remirror/extension-mention-atom", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"description": "Atom mentions for the remirror wysiwyg editor", | ||
@@ -34,4 +34,4 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/remirror__extension-mention-atom", | ||
"@babel/runtime": "^7.22.3", | ||
"@remirror/core": "3.0.0-beta.1", | ||
"@remirror/extension-events": "3.0.0-beta.1", | ||
"@remirror/core": "3.0.0-beta.2", | ||
"@remirror/extension-events": "3.0.0-beta.2", | ||
"@remirror/messages": "3.0.0-beta.1", | ||
@@ -38,0 +38,0 @@ "@remirror/theme": "3.0.0-beta.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
124243
1112
+ Added@remirror/core@3.0.0-beta.2(transitive)
+ Added@remirror/extension-events@3.0.0-beta.2(transitive)
- Removed@remirror/core@3.0.0-beta.1(transitive)
- Removed@remirror/extension-events@3.0.0-beta.1(transitive)
Updated@remirror/core@3.0.0-beta.2