Comparing version 0.14.2 to 0.14.3
@@ -10,3 +10,3 @@ /** @module lexical */ | ||
export type { PasteCommandType } from './LexicalCommands'; | ||
export type { CommandListener, CommandListenerPriority, CommandPayloadType, CreateEditorArgs, EditableListener, EditorConfig, EditorThemeClasses, HTMLConfig, Klass, KlassConstructor, LexicalCommand, LexicalEditor, LexicalNodeReplacement, MutationListener, NodeMutation, SerializedEditor, Spread, } from './LexicalEditor'; | ||
export type { CommandListener, CommandListenerPriority, CommandPayloadType, CreateEditorArgs, EditableListener, EditorConfig, EditorThemeClasses, HTMLConfig, Klass, KlassConstructor, LexicalCommand, LexicalEditor, LexicalNodeReplacement, MutationListener, NodeMutation, SerializedEditor, Spread, Transform, } from './LexicalEditor'; | ||
export type { EditorState, SerializedEditorState } from './LexicalEditorState'; | ||
@@ -22,3 +22,3 @@ export type { DOMChildConversion, DOMConversion, DOMConversionFn, DOMConversionMap, DOMConversionOutput, DOMExportOutput, LexicalNode, NodeKey, NodeMap, SerializedLexicalNode, } from './LexicalNode'; | ||
export { $normalizeSelection as $normalizeSelection__EXPERIMENTAL } from './LexicalNormalization'; | ||
export { $createNodeSelection, $createPoint, $createRangeSelection, $getCharacterOffsets, $getPreviousSelection, $getSelection, $getTextContent, $insertNodes, $isBlockElementNode, $isNodeSelection, $isRangeSelection, } from './LexicalSelection'; | ||
export { $createNodeSelection, $createPoint, $createRangeSelection, $createRangeSelectionFromDom, $getCharacterOffsets, $getPreviousSelection, $getSelection, $getTextContent, $insertNodes, $isBlockElementNode, $isNodeSelection, $isRangeSelection, } from './LexicalSelection'; | ||
export { $parseSerializedNode, isCurrentlyReadOnlyMode } from './LexicalUpdates'; | ||
@@ -25,0 +25,0 @@ export { $addUpdateTag, $applyNodeReplacement, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $nodesOfType, $selectAll, $setCompositionKey, $setSelection, $splitNode, getNearestEditorFromDOMNode, isHTMLAnchorElement, isHTMLElement, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, } from './LexicalUtils'; |
@@ -275,2 +275,3 @@ /** | ||
export declare function internalCreateSelection(editor: LexicalEditor): null | BaseSelection; | ||
export declare function $createRangeSelectionFromDom(domSelection: Selection | null, editor: LexicalEditor): null | RangeSelection; | ||
export declare function internalCreateRangeSelection(lastSelection: null | BaseSelection, domSelection: Selection | null, editor: LexicalEditor, event: UIEvent | Event | null): null | RangeSelection; | ||
@@ -277,0 +278,0 @@ export declare function $getSelection(): null | BaseSelection; |
@@ -11,3 +11,3 @@ /** | ||
import type { KlassConstructor, Spread } from 'lexical'; | ||
import { TextNode } from '../'; | ||
import { TextNode } from '../index'; | ||
import { LexicalNode } from '../LexicalNode'; | ||
@@ -14,0 +14,0 @@ export type SerializedElementNode<T extends SerializedLexicalNode = SerializedLexicalNode> = Spread<{ |
@@ -12,4 +12,5 @@ { | ||
"license": "MIT", | ||
"version": "0.14.2", | ||
"version": "0.14.3", | ||
"main": "Lexical.js", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -20,4 +21,17 @@ "type": "git", | ||
}, | ||
"module": "Lexical.esm.js", | ||
"sideEffects": false | ||
"module": "Lexical.mjs", | ||
"sideEffects": false, | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./index.d.ts", | ||
"node": "./Lexical.node.mjs", | ||
"default": "./Lexical.mjs" | ||
}, | ||
"require": { | ||
"types": "./index.d.ts", | ||
"default": "./Lexical.js" | ||
} | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1015609
32
21762