lexical 0.7.0 → 0.7.1

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/Lexical.dev.js CHANGED
@@ -9828,7 +9828,7 @@ class LexicalEditor {
9828
9828
  * LICENSE file in the root directory of this source tree.
9829
9829
  *
9830
9830
  */
9831
- const VERSION = '0.7.0';
9831
+ const VERSION = '0.7.1';
9832
9832
 
9833
9833
  /**
9834
9834
  * Copyright (c) Meta Platforms, Inc. and affiliates.
package/Lexical.js.flow CHANGED
@@ -58,7 +58,7 @@ declare export function createCommand<T>(type?: string): LexicalCommand<T>;
58
58
  /**
59
59
  * LexicalEditor
60
60
  */
61
- type IntentionallyMarkedAsDirtyElement = Boolean;
61
+ type IntentionallyMarkedAsDirtyElement = boolean;
62
62
 
63
63
  type MutationListeners = Map<MutationListener, Class<LexicalNode>>;
64
64
  export type NodeMutation = 'created' | 'updated' | 'destroyed';
package/Lexical.prod.js CHANGED
@@ -191,6 +191,6 @@ exports.$nodesOfType=function(a){var b=I();let c=b._readOnly,d=a.getType();b=b._
191
191
  exports.CLICK_COMMAND=da;exports.COMMAND_PRIORITY_CRITICAL=4;exports.COMMAND_PRIORITY_EDITOR=0;exports.COMMAND_PRIORITY_HIGH=3;exports.COMMAND_PRIORITY_LOW=1;exports.COMMAND_PRIORITY_NORMAL=2;exports.CONTROLLED_TEXT_INSERTION_COMMAND=ia;exports.COPY_COMMAND=Ia;exports.CUT_COMMAND=Ja;exports.DELETE_CHARACTER_COMMAND=ea;exports.DELETE_LINE_COMMAND=na;exports.DELETE_WORD_COMMAND=ma;
192
192
  exports.DEPRECATED_$createGridSelection=function(){let a=new X("root",0,"element"),b=new X("root",0,"element");return new Ad("root",a,b)};exports.DEPRECATED_$isGridCellNode=Fd;exports.DEPRECATED_$isGridNode=Dd;exports.DEPRECATED_$isGridRowNode=Ed;exports.DEPRECATED_$isGridSelection=Bd;exports.DEPRECATED_GridCellNode=Ke;exports.DEPRECATED_GridNode=Le;exports.DEPRECATED_GridRowNode=Me;exports.DRAGEND_COMMAND=Ha;exports.DRAGOVER_COMMAND=Ga;exports.DRAGSTART_COMMAND=Fa;exports.DROP_COMMAND=Ea;
193
193
  exports.DecoratorNode=me;exports.ElementNode=ne;exports.FOCUS_COMMAND=Ka;exports.FORMAT_ELEMENT_COMMAND={};exports.FORMAT_TEXT_COMMAND=oa;exports.INDENT_CONTENT_COMMAND={};exports.INSERT_LINE_BREAK_COMMAND=fa;exports.INSERT_PARAGRAPH_COMMAND=ha;exports.KEY_ARROW_DOWN_COMMAND=wa;exports.KEY_ARROW_LEFT_COMMAND=ta;exports.KEY_ARROW_RIGHT_COMMAND=ra;exports.KEY_ARROW_UP_COMMAND=va;exports.KEY_BACKSPACE_COMMAND=Aa;exports.KEY_DELETE_COMMAND=Ca;exports.KEY_ENTER_COMMAND=xa;exports.KEY_ESCAPE_COMMAND=Ba;
194
- exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=ya;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=se;exports.MOVE_TO_END=sa;exports.MOVE_TO_START=ua;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=Ge;exports.REDO_COMMAND=qa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=pe;exports.SELECTION_CHANGE_COMMAND=ba;exports.TextNode=ye;exports.UNDO_COMMAND=pa;exports.VERSION="0.7.0";exports.createCommand=function(){return{}};
194
+ exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=ya;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=se;exports.MOVE_TO_END=sa;exports.MOVE_TO_START=ua;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=Ge;exports.REDO_COMMAND=qa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=pe;exports.SELECTION_CHANGE_COMMAND=ba;exports.TextNode=ye;exports.UNDO_COMMAND=pa;exports.VERSION="0.7.1";exports.createCommand=function(){return{}};
195
195
  exports.createEditor=function(a){var b=a||{},c=Z,d=b.theme||{};let e=void 0===a?c:b.parentEditor||null,f=b.disableEvents||!1,g=qe(),h=b.namespace||(null!==e?e._config.namespace:Pb()),k=b.editorState,l=[pe,ye,se,Ge,...(b.nodes||[])],m=b.onError;b=void 0!==b.editable?b.editable:!0;if(void 0===a&&null!==c)a=c._nodes;else for(a=new Map,c=0;c<l.length;c++){let n=l[c];var p=null;"function"!==typeof n&&(p=n,n=p.replace,p=p.with);let r=n.getType();a.set(r,{klass:n,replace:p,transforms:new Set})}d=new Je(g,
196
196
  e,a,{disableEvents:f,namespace:h,theme:d},m?m:console.error,Ie(a),b);void 0!==k&&(d._pendingEditorState=k,d._dirtyType=2);return d}
@@ -5,4 +5,4 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- export declare const VERSION = "0.7.0";
8
+ export declare const VERSION = "0.7.1";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "rich-text"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.7.0",
12
+ "version": "0.7.1",
13
13
  "main": "Lexical.js",
14
14
  "repository": {
15
15
  "type": "git",