Comparing version 0.24.1-nightly.20250218.0 to 0.24.1-nightly.20250219.0
@@ -425,2 +425,7 @@ /** | ||
/** | ||
* Construct a CaretRange that starts at anchor and goes to the end of the | ||
* document in the anchor caret's direction. | ||
*/ | ||
export declare function $extendCaretToRange<D extends CaretDirection>(anchor: PointCaret<D>): CaretRange<D>; | ||
/** | ||
* Construct a CaretRange from anchor and focus carets pointing in the | ||
@@ -427,0 +432,0 @@ * same direction. In order to get the expected behavior, |
@@ -9,3 +9,3 @@ /** | ||
export type { BaseCaret, CaretDirection, CaretRange, CaretType, ChildCaret, FlipDirection, NodeCaret, PointCaret, RootMode, SiblingCaret, StepwiseIteratorConfig, TextPointCaret, TextPointCaretSlice, TextPointCaretSliceTuple, } from './caret/LexicalCaret'; | ||
export { $getAdjacentChildCaret, $getCaretRange, $getChildCaret, $getChildCaretOrSelf, $getSiblingCaret, $getTextNodeOffset, $getTextPointCaret, $getTextPointCaretSlice, $isChildCaret, $isNodeCaret, $isSiblingCaret, $isTextPointCaret, $isTextPointCaretSlice, flipDirection, makeStepwiseIterator, } from './caret/LexicalCaret'; | ||
export { $extendCaretToRange, $getAdjacentChildCaret, $getCaretRange, $getChildCaret, $getChildCaretOrSelf, $getSiblingCaret, $getTextNodeOffset, $getTextPointCaret, $getTextPointCaretSlice, $isChildCaret, $isNodeCaret, $isSiblingCaret, $isTextPointCaret, $isTextPointCaretSlice, flipDirection, makeStepwiseIterator, } from './caret/LexicalCaret'; | ||
export { $caretFromPoint, $caretRangeFromSelection, $getAdjacentSiblingOrParentSiblingCaret, $getCaretInDirection, $getCaretRangeInDirection, $getChildCaretAtIndex, $normalizeCaret, $removeTextFromCaretRange, $rewindSiblingCaret, $setPointFromCaret, $setSelectionFromCaretRange, $updateRangeSelectionFromCaretRange, } from './caret/LexicalCaretUtils'; | ||
@@ -12,0 +12,0 @@ export type { PasteCommandType } from './LexicalCommands'; |
@@ -67,3 +67,9 @@ /** | ||
export declare function getTextNodeOffset(node: TextNode, moveSelectionToEnd: boolean): number; | ||
export declare function doesContainGrapheme(str: string): boolean; | ||
/** | ||
* Return true if `str` contains any valid surrogate pair. | ||
* | ||
* See also $updateCaretSelectionForUnicodeCharacter for | ||
* a discussion on when and why this is useful. | ||
*/ | ||
export declare function doesContainSurrogatePair(str: string): boolean; | ||
export declare function getEditorsToPropagate(editor: LexicalEditor): Array<LexicalEditor>; | ||
@@ -70,0 +76,0 @@ export declare function createUID(): string; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.24.1-nightly.20250218.0", | ||
"version": "0.24.1-nightly.20250219.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
1325618
27884