@lexical/headless 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LexicalHeadless.d.ts +1 -0
- package/LexicalHeadless.js.flow +1 -0
- package/package.json +5 -2
package/LexicalHeadless.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import {Class} from 'utility-types';
|
|
|
18
18
|
export function createHeadlessEditor(editorConfig?: {
|
|
19
19
|
editorState?: EditorState;
|
|
20
20
|
theme?: EditorThemeClasses;
|
|
21
|
+
namespace: string;
|
|
21
22
|
parentEditor?: LexicalEditor;
|
|
22
23
|
nodes?: ReadonlyArray<Class<LexicalNode>>;
|
|
23
24
|
onError: (error: Error) => void;
|
package/LexicalHeadless.js.flow
CHANGED
|
@@ -17,6 +17,7 @@ import type {
|
|
|
17
17
|
declare export function createHeadlessEditor(editorConfig?: {
|
|
18
18
|
namespace?: string,
|
|
19
19
|
editorState?: EditorState,
|
|
20
|
+
namespace: string,
|
|
20
21
|
theme?: EditorThemeClasses,
|
|
21
22
|
parentEditor?: LexicalEditor,
|
|
22
23
|
nodes?: $ReadOnlyArray<Class<LexicalNode>>,
|
package/package.json
CHANGED
|
@@ -8,14 +8,17 @@
|
|
|
8
8
|
"headless"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.3.
|
|
11
|
+
"version": "0.3.3",
|
|
12
12
|
"main": "LexicalHeadless.js",
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"lexical": "0.3.
|
|
14
|
+
"lexical": "0.3.3"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "https://github.com/facebook/lexical",
|
|
19
19
|
"directory": "packages/lexical-headless"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"utility-types": "^3.10.0"
|
|
20
23
|
}
|
|
21
24
|
}
|