@lexical/react 0.42.1-nightly.20260408.0 → 0.43.0
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/LexicalAutoFocusPlugin.js.flow +1 -1
- package/LexicalBlockWithAlignableContents.js.flow +2 -2
- package/LexicalClearEditorPlugin.js.flow +1 -1
- package/LexicalContentEditable.js.flow +1 -1
- package/LexicalEditorRefPlugin.js.flow +1 -1
- package/LexicalErrorBoundary.js.flow +1 -1
- package/LexicalHorizontalRulePlugin.js.flow +1 -1
- package/LexicalLinkPlugin.js.flow +1 -1
- package/LexicalNestedComposer.js.flow +1 -1
- package/LexicalReactExtension.js.flow +1 -1
- package/LexicalReactPluginHostExtension.js.flow +1 -1
- package/LexicalTablePlugin.js.flow +1 -1
- package/package.json +18 -18
|
@@ -15,11 +15,11 @@ import type {
|
|
|
15
15
|
NodeKey,
|
|
16
16
|
} from 'lexical';
|
|
17
17
|
|
|
18
|
-
type Props =
|
|
18
|
+
type Props = Readonly<{
|
|
19
19
|
children: React.Node,
|
|
20
20
|
format: ?ElementFormatType,
|
|
21
21
|
nodeKey: NodeKey,
|
|
22
|
-
className:
|
|
22
|
+
className: Readonly<{
|
|
23
23
|
base: string,
|
|
24
24
|
focus: string,
|
|
25
25
|
}>,
|
|
@@ -28,7 +28,7 @@ type HTMLDivElementDOMProps = Readonly<{
|
|
|
28
28
|
'aria-invalid'?: void | boolean,
|
|
29
29
|
'aria-owns'?: void | string,
|
|
30
30
|
'title'?: void | string,
|
|
31
|
-
onClick?: void | ((e: SyntheticEvent<HTMLDivElement>) =>
|
|
31
|
+
onClick?: void | ((e: SyntheticEvent<HTMLDivElement>) => unknown),
|
|
32
32
|
autoCapitalize?: void | boolean,
|
|
33
33
|
autoComplete?: void | boolean,
|
|
34
34
|
autoCorrect?: void | boolean,
|
|
@@ -18,7 +18,7 @@ export type LexicalNestedComposerProps = {
|
|
|
18
18
|
children?: React.Node;
|
|
19
19
|
initialEditor: LexicalEditor;
|
|
20
20
|
initialTheme?: EditorThemeClasses;
|
|
21
|
-
initialNodes?:
|
|
21
|
+
initialNodes?: ReadonlyArray<Class<LexicalNode> | LexicalNodeReplacement>;
|
|
22
22
|
skipCollabChecks?: void | true;
|
|
23
23
|
skipEditableListener?: void | true;
|
|
24
24
|
};
|
|
@@ -46,7 +46,7 @@ export type ReactConfig = {
|
|
|
46
46
|
contentEditable: React.Node | null;
|
|
47
47
|
ErrorBoundary: ErrorBoundaryType;
|
|
48
48
|
EditorChildrenComponent: EditorChildrenComponentType;
|
|
49
|
-
decorators:
|
|
49
|
+
decorators: ReadonlyArray<DecoratorComponentType>;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
export type ReactOutputs = {
|
package/package.json
CHANGED
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
"rich-text"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.43.0",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@floating-ui/react": "^0.27.16",
|
|
14
|
-
"@lexical/devtools-core": "0.
|
|
15
|
-
"@lexical/dragon": "0.
|
|
16
|
-
"@lexical/extension": "0.
|
|
17
|
-
"@lexical/hashtag": "0.
|
|
18
|
-
"@lexical/history": "0.
|
|
19
|
-
"@lexical/link": "0.
|
|
20
|
-
"@lexical/list": "0.
|
|
21
|
-
"@lexical/mark": "0.
|
|
22
|
-
"@lexical/markdown": "0.
|
|
23
|
-
"@lexical/overflow": "0.
|
|
24
|
-
"@lexical/plain-text": "0.
|
|
25
|
-
"@lexical/rich-text": "0.
|
|
26
|
-
"@lexical/table": "0.
|
|
27
|
-
"@lexical/text": "0.
|
|
28
|
-
"@lexical/utils": "0.
|
|
29
|
-
"@lexical/yjs": "0.
|
|
30
|
-
"lexical": "0.
|
|
14
|
+
"@lexical/devtools-core": "0.43.0",
|
|
15
|
+
"@lexical/dragon": "0.43.0",
|
|
16
|
+
"@lexical/extension": "0.43.0",
|
|
17
|
+
"@lexical/hashtag": "0.43.0",
|
|
18
|
+
"@lexical/history": "0.43.0",
|
|
19
|
+
"@lexical/link": "0.43.0",
|
|
20
|
+
"@lexical/list": "0.43.0",
|
|
21
|
+
"@lexical/mark": "0.43.0",
|
|
22
|
+
"@lexical/markdown": "0.43.0",
|
|
23
|
+
"@lexical/overflow": "0.43.0",
|
|
24
|
+
"@lexical/plain-text": "0.43.0",
|
|
25
|
+
"@lexical/rich-text": "0.43.0",
|
|
26
|
+
"@lexical/table": "0.43.0",
|
|
27
|
+
"@lexical/text": "0.43.0",
|
|
28
|
+
"@lexical/utils": "0.43.0",
|
|
29
|
+
"@lexical/yjs": "0.43.0",
|
|
30
|
+
"lexical": "0.43.0",
|
|
31
31
|
"react-error-boundary": "^6.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|