Comparing version 0.17.1-nightly.20240826.0 to 0.17.1
@@ -9,3 +9,3 @@ /** | ||
import type { EditorState, SerializedEditorState } from './LexicalEditorState'; | ||
import type { DOMConversion, DOMConversionMap, DOMExportOutput, NodeKey } from './LexicalNode'; | ||
import type { DOMConversion, DOMConversionMap, DOMExportOutput, DOMExportOutputMap, NodeKey } from './LexicalNode'; | ||
import { LexicalNode } from './LexicalNode'; | ||
@@ -118,3 +118,3 @@ export type Spread<T1, T2> = Omit<T2, keyof T1> & T1; | ||
export type HTMLConfig = { | ||
export?: Map<Klass<LexicalNode>, (editor: LexicalEditor, target: LexicalNode) => DOMExportOutput>; | ||
export?: DOMExportOutputMap; | ||
import?: DOMConversionMap; | ||
@@ -121,0 +121,0 @@ }; |
@@ -10,3 +10,3 @@ /** | ||
import type { BaseSelection, RangeSelection } from './LexicalSelection'; | ||
import type { KlassConstructor } from 'lexical'; | ||
import type { Klass, KlassConstructor } from 'lexical'; | ||
import { type DecoratorNode, ElementNode } from '.'; | ||
@@ -32,2 +32,3 @@ export type NodeMap = Map<NodeKey, LexicalNode>; | ||
}; | ||
export type DOMExportOutputMap = Map<Klass<LexicalNode>, (editor: LexicalEditor, target: LexicalNode) => DOMExportOutput>; | ||
export type DOMExportOutput = { | ||
@@ -34,0 +35,0 @@ after?: (generatedElement: HTMLElement | Text | null | undefined) => HTMLElement | Text | null | undefined; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.17.1-nightly.20240826.0", | ||
"version": "0.17.1", | ||
"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 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
23090
1081009