Comparing version 0.20.1-nightly.20241122.0 to 0.20.1-nightly.20241125.0
@@ -23,3 +23,3 @@ /** | ||
export { $parseSerializedNode, isCurrentlyReadOnlyMode } from './LexicalUpdates'; | ||
export { $addUpdateTag, $applyNodeReplacement, $cloneWithProperties, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getNodeByKeyOrThrow, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $isTokenOrSegmented, $nodesOfType, $onUpdate, $selectAll, $setCompositionKey, $setSelection, $splitNode, getEditorPropertyFromDOMNode, getNearestEditorFromDOMNode, isBlockDomNode, isDocumentFragment, isDOMUnmanaged, isHTMLAnchorElement, isHTMLElement, isInlineDomNode, isLexicalEditor, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, resetRandomKey, setDOMUnmanaged, setNodeIndentFromDOM, } from './LexicalUtils'; | ||
export { $addUpdateTag, $applyNodeReplacement, $cloneWithProperties, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getNodeByKeyOrThrow, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $isTokenOrSegmented, $nodesOfType, $onUpdate, $selectAll, $setCompositionKey, $setSelection, $splitNode, getDOMSelection, getEditorPropertyFromDOMNode, getNearestEditorFromDOMNode, isBlockDomNode, isDocumentFragment, isDOMUnmanaged, isHTMLAnchorElement, isHTMLElement, isInlineDomNode, isLexicalEditor, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, resetRandomKey, setDOMUnmanaged, setNodeIndentFromDOM, } from './LexicalUtils'; | ||
export { ArtificialNode__DO_NOT_USE } from './nodes/ArtificialNode'; | ||
@@ -26,0 +26,0 @@ export { $isDecoratorNode, DecoratorNode } from './nodes/LexicalDecoratorNode'; |
@@ -86,10 +86,6 @@ /** | ||
tableCellActionButtonContainer?: EditorThemeClassName; | ||
tableCellPrimarySelected?: EditorThemeClassName; | ||
tableCellSelected?: EditorThemeClassName; | ||
tableCell?: EditorThemeClassName; | ||
tableCellEditing?: EditorThemeClassName; | ||
tableCellHeader?: EditorThemeClassName; | ||
tableCellResizer?: EditorThemeClassName; | ||
tableCellSortedIndicator?: EditorThemeClassName; | ||
tableResizeRuler?: EditorThemeClassName; | ||
tableRow?: EditorThemeClassName; | ||
@@ -151,4 +147,4 @@ tableScrollableWrapper?: EditorThemeClassName; | ||
* | ||
* The default is currently true for backwards compatibility with <= 0.16.1 | ||
* but this default is expected to change to false in 0.17.0. | ||
* The default was previously true for backwards compatibility with <= 0.16.1 | ||
* but this default has been changed to false as of 0.21.0. | ||
*/ | ||
@@ -374,3 +370,3 @@ skipInitialization?: boolean; | ||
* nodes have the 'created' NodeMutation. This can be controlled with the skipInitialization option | ||
* (default is currently true for backwards compatibility in 0.16.x but will change to false in 0.17.0). | ||
* (whose default was previously true for backwards compatibility with <=0.16.1 but has been changed to false as of 0.21.0). | ||
* | ||
@@ -377,0 +373,0 @@ * @param klass - The class of the node that you want to listen to mutations on. |
@@ -98,2 +98,5 @@ /** | ||
export declare function setMutatedNode(mutatedNodes: MutatedNodes, registeredNodes: RegisteredNodes, mutationListeners: MutationListeners, node: LexicalNode, mutation: NodeMutation): void; | ||
/** | ||
* @deprecated Use {@link LexicalEditor.registerMutationListener} with `skipInitialization: false` instead. | ||
*/ | ||
export declare function $nodesOfType<T extends LexicalNode>(klass: Klass<T>): Array<T>; | ||
@@ -141,2 +144,9 @@ export declare function $getAdjacentNode(focus: PointType, isBackward: boolean): null | LexicalNode; | ||
export declare function updateDOMBlockCursorElement(editor: LexicalEditor, rootElement: HTMLElement, nextSelection: null | BaseSelection): void; | ||
/** | ||
* Returns the selection for the given window, or the global window if null. | ||
* Will return null if {@link CAN_USE_DOM} is false. | ||
* | ||
* @param targetWindow The window to get the selection from | ||
* @returns a Selection or null | ||
*/ | ||
export declare function getDOMSelection(targetWindow: null | Window): null | Selection; | ||
@@ -143,0 +153,0 @@ export declare function $splitNode(node: ElementNode, offset: number): [ElementNode | null, ElementNode]; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.20.1-nightly.20241122.0", | ||
"version": "0.20.1-nightly.20241125.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
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
1132686
24176