Comparing version 0.25.1-nightly.20250227.0 to 0.25.1-nightly.20250228.0
@@ -13,3 +13,3 @@ /** | ||
export { BLUR_COMMAND, CAN_REDO_COMMAND, CAN_UNDO_COMMAND, CLEAR_EDITOR_COMMAND, CLEAR_HISTORY_COMMAND, CLICK_COMMAND, CONTROLLED_TEXT_INSERTION_COMMAND, COPY_COMMAND, createCommand, CUT_COMMAND, DELETE_CHARACTER_COMMAND, DELETE_LINE_COMMAND, DELETE_WORD_COMMAND, DRAGEND_COMMAND, DRAGOVER_COMMAND, DRAGSTART_COMMAND, DROP_COMMAND, FOCUS_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, INDENT_CONTENT_COMMAND, INSERT_LINE_BREAK_COMMAND, INSERT_PARAGRAPH_COMMAND, INSERT_TAB_COMMAND, KEY_ARROW_DOWN_COMMAND, KEY_ARROW_LEFT_COMMAND, KEY_ARROW_RIGHT_COMMAND, KEY_ARROW_UP_COMMAND, KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND, KEY_DOWN_COMMAND, KEY_ENTER_COMMAND, KEY_ESCAPE_COMMAND, KEY_MODIFIER_COMMAND, KEY_SPACE_COMMAND, KEY_TAB_COMMAND, MOVE_TO_END, MOVE_TO_START, OUTDENT_CONTENT_COMMAND, PASTE_COMMAND, REDO_COMMAND, REMOVE_TEXT_COMMAND, SELECT_ALL_COMMAND, SELECTION_CHANGE_COMMAND, SELECTION_INSERT_CLIPBOARD_NODES_COMMAND, UNDO_COMMAND, } from './LexicalCommands'; | ||
export { IS_ALL_FORMATTING, IS_BOLD, IS_CODE, IS_HIGHLIGHT, IS_ITALIC, IS_STRIKETHROUGH, IS_SUBSCRIPT, IS_SUPERSCRIPT, IS_UNDERLINE, TEXT_TYPE_TO_FORMAT, } from './LexicalConstants'; | ||
export { IS_ALL_FORMATTING, IS_BOLD, IS_CODE, IS_HIGHLIGHT, IS_ITALIC, IS_STRIKETHROUGH, IS_SUBSCRIPT, IS_SUPERSCRIPT, IS_UNDERLINE, NODE_STATE_KEY, TEXT_TYPE_TO_FORMAT, } from './LexicalConstants'; | ||
export type { CommandListener, CommandListenerPriority, CommandPayloadType, CreateEditorArgs, EditableListener, EditorConfig, EditorSetOptions, EditorThemeClasses, EditorThemeClassName, EditorUpdateOptions, HTMLConfig, Klass, KlassConstructor, LexicalCommand, LexicalEditor, LexicalNodeReplacement, MutationListener, NodeMutation, SerializedEditor, Spread, Transform, UpdateListener, } from './LexicalEditor'; | ||
@@ -20,2 +20,3 @@ export { COMMAND_PRIORITY_CRITICAL, COMMAND_PRIORITY_EDITOR, COMMAND_PRIORITY_HIGH, COMMAND_PRIORITY_LOW, COMMAND_PRIORITY_NORMAL, createEditor, } from './LexicalEditor'; | ||
export type { DOMChildConversion, DOMConversion, DOMConversionFn, DOMConversionMap, DOMConversionOutput, DOMExportOutput, DOMExportOutputMap, LexicalNode, LexicalUpdateJSON, NodeKey, NodeMap, SerializedLexicalNode, } from './LexicalNode'; | ||
export { $getState, $getStateChange, $getWritableNodeState, $setState, type AnyStateConfig, createState, type StateConfig, type StateConfigKey, type StateConfigValue, type StateValueConfig, type ValueOrUpdater, } from './LexicalNodeState'; | ||
export { $normalizeSelection as $normalizeSelection__EXPERIMENTAL } from './LexicalNormalization'; | ||
@@ -22,0 +23,0 @@ export type { BaseSelection, ElementPointType as ElementPoint, NodeSelection, Point, PointType, RangeSelection, TextPointType as TextPoint, } from './LexicalSelection'; |
@@ -52,1 +52,2 @@ /** | ||
export declare const TEXT_TYPE_TO_MODE: Record<number, TextModeType>; | ||
export declare const NODE_STATE_KEY = "$"; |
@@ -10,4 +10,5 @@ /** | ||
import type { BaseSelection, RangeSelection } from './LexicalSelection'; | ||
import type { Klass, KlassConstructor } from 'lexical'; | ||
import { Klass, KlassConstructor, NODE_STATE_KEY } from 'lexical'; | ||
import { type DecoratorNode, ElementNode } from '.'; | ||
import { type NodeState } from './LexicalNodeState'; | ||
export type NodeMap = Map<NodeKey, LexicalNode>; | ||
@@ -22,2 +23,3 @@ /** | ||
version: number; | ||
[NODE_STATE_KEY]?: Record<string, unknown>; | ||
}; | ||
@@ -68,2 +70,4 @@ /** | ||
__next: null | NodeKey; | ||
/** @internal */ | ||
__state?: NodeState<this>; | ||
/** | ||
@@ -70,0 +74,0 @@ * Returns the string type of this node. Every node must |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.25.1-nightly.20250227.0", | ||
"version": "0.25.1-nightly.20250228.0", | ||
"main": "Lexical.js", | ||
@@ -15,0 +15,0 @@ "types": "index.d.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1407280
36
29856
3