Comparing version 0.5.1-next.1 to 0.5.1-next.2
@@ -9,2 +9,3 @@ /** @module lexical */ | ||
*/ | ||
export type { PasteCommandType } from './LexicalCommands'; | ||
export type { CommandListenerPriority, CommandPayloadType, EditableListener, EditorConfig, EditorThemeClasses, IntentionallyMarkedAsDirtyElement, Klass, LexicalCommand, LexicalEditor, MutationListener, NodeMutation, SerializedEditor, Spread, } from './LexicalEditor'; | ||
@@ -21,5 +22,6 @@ export type { EditorState, SerializedEditorState } from './LexicalEditorState'; | ||
export type { EventHandler } from './LexicalEvents'; | ||
export { $normalizeSelection as $normalizeSelection__EXPERIMENTAL } from './LexicalNormalization'; | ||
export { $createNodeSelection, $createRangeSelection, $getPreviousSelection, $getSelection, $getTextContent, $insertNodes, $isNodeSelection, $isRangeSelection, DEPRECATED_$createGridSelection, DEPRECATED_$isGridSelection, } from './LexicalSelection'; | ||
export { $parseSerializedNode } from './LexicalUpdates'; | ||
export { $addUpdateTag, $getDecoratorNode, $getNearestNodeFromDOMNode, $getNodeByKey, $getRoot, $hasAncestor, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $nodesOfType, $setCompositionKey, $setSelection, } from './LexicalUtils'; | ||
export { $addUpdateTag, $getDecoratorNode, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getRoot, $hasAncestor, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $nodesOfType, $setCompositionKey, $setSelection, } from './LexicalUtils'; | ||
export { VERSION } from './LexicalVersion'; | ||
@@ -26,0 +28,0 @@ export { $isDecoratorNode, DecoratorNode } from './nodes/LexicalDecoratorNode'; |
@@ -9,2 +9,3 @@ /** | ||
import type { ElementFormatType, LexicalCommand, TextFormatType } from 'lexical'; | ||
export declare type PasteCommandType = ClipboardEvent | InputEvent | KeyboardEvent; | ||
export declare function createCommand<T>(type?: string): LexicalCommand<T>; | ||
@@ -17,3 +18,3 @@ export declare const SELECTION_CHANGE_COMMAND: LexicalCommand<void>; | ||
export declare const CONTROLLED_TEXT_INSERTION_COMMAND: LexicalCommand<InputEvent | string>; | ||
export declare const PASTE_COMMAND: LexicalCommand<ClipboardEvent | InputEvent | KeyboardEvent>; | ||
export declare const PASTE_COMMAND: LexicalCommand<PasteCommandType>; | ||
export declare const REMOVE_TEXT_COMMAND: LexicalCommand<void>; | ||
@@ -20,0 +21,0 @@ export declare const DELETE_WORD_COMMAND: LexicalCommand<boolean>; |
@@ -87,3 +87,3 @@ /** | ||
export declare function setMutatedNode(mutatedNodes: MutatedNodes, registeredNodes: RegisteredNodes, mutationListeners: MutationListeners, node: LexicalNode, mutation: NodeMutation): void; | ||
export declare function $nodesOfType<T extends LexicalNode>(klass: Klass<T>): Array<LexicalNode>; | ||
export declare function $nodesOfType<T extends LexicalNode>(klass: Klass<T>): Array<T>; | ||
export declare function $getDecoratorNode(focus: PointType, isBackward: boolean): null | LexicalNode; | ||
@@ -102,2 +102,3 @@ export declare function isFirefoxClipboardEvents(editor: LexicalEditor): boolean; | ||
export declare function $isInlineElementOrDecoratorNode(node: LexicalNode): boolean; | ||
export declare function $getNearestRootOrShadowRoot(node: LexicalNode): RootNode | ElementNode; | ||
export declare function $isRootOrShadowRoot(node: null | LexicalNode): boolean; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.5.1-next.1", | ||
"version": "0.5.1-next.2", | ||
"main": "Lexical.js", | ||
@@ -15,0 +15,0 @@ "repository": { |
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 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
456739
9162