@webiny/lexical-nodes 5.38.1 → 5.38.2
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/FontColorNode.d.ts +2 -0
- package/HeadingNode.d.ts +2 -0
- package/ImageNode.d.ts +2 -0
- package/ListItemNode.d.ts +2 -0
- package/ListNode.d.ts +2 -0
- package/ParagraphNode.d.ts +2 -0
- package/QuoteNode.d.ts +2 -0
- package/TypographyNode.d.ts +2 -0
- package/components/ImageNode/ImageResizer.d.ts +2 -0
- package/components/ImageNode/SharedHistoryContext.d.ts +1 -0
- package/package.json +5 -5
package/FontColorNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { EditorConfig, LexicalCommand, LexicalEditor, LexicalNode, NodeKey, RangeSelection, SerializedTextNode, Spread, TextNode } from "lexical";
|
|
2
4
|
import { EditorTheme } from "@webiny/lexical-theme";
|
|
3
5
|
export declare const ADD_FONT_COLOR_COMMAND: LexicalCommand<FontColorPayload>;
|
package/HeadingNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { EditorConfig, LexicalNode, NodeKey, RangeSelection, Spread } from "lexical";
|
|
2
4
|
import { HeadingNode as BaseHeadingNode, HeadingTagType, SerializedHeadingNode as BaseSerializedHeadingNode } from "@lexical/rich-text";
|
|
3
5
|
import { WebinyTheme, ThemeEmotionMap } from "@webiny/lexical-theme";
|
package/ImageNode.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
3
|
+
/// <reference types="react" />
|
|
2
4
|
import type { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedEditor, SerializedLexicalNode, Spread } from "lexical";
|
|
3
5
|
import { DecoratorNode } from "lexical";
|
|
4
6
|
export declare type SerializedImageNode = Spread<{
|
package/ListItemNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { DOMConversionMap, EditorConfig, ElementNode, GridSelection, LexicalNode, NodeKey, NodeSelection, ParagraphNode, RangeSelection, SerializedElementNode, Spread } from "lexical";
|
|
2
4
|
export declare type SerializedWebinyListItemNode = Spread<{
|
|
3
5
|
checked: boolean | undefined;
|
package/ListNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { DOMConversion, DOMConversionMap, EditorConfig, ElementNode, LexicalNode, NodeKey, SerializedElementNode, Spread } from "lexical";
|
|
2
4
|
import { WebinyTheme } from "@webiny/lexical-theme";
|
|
3
5
|
import { ListNodeTagType } from "@lexical/list/LexicalListNode";
|
package/ParagraphNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { DOMConversionMap, LexicalNode, NodeKey, ParagraphNode as BaseParagraphNode, SerializedParagraphNode as SerializedBaseParagraphNode, Spread } from "lexical";
|
|
2
4
|
import { EditorConfig } from "lexical";
|
|
3
5
|
import { WebinyTheme, ThemeEmotionMap } from "@webiny/lexical-theme";
|
package/QuoteNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { DOMConversion, DOMConversionMap, EditorConfig, LexicalNode, NodeKey, Spread } from "lexical";
|
|
2
4
|
import { EditorTheme, ThemeEmotionMap } from "@webiny/lexical-theme";
|
|
3
5
|
import { QuoteNode as BaseQuoteNode, SerializedQuoteNode as BaseSerializedQuoteNode } from "@lexical/rich-text";
|
package/TypographyNode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="web" />
|
|
1
3
|
import { EditorConfig, ElementNode, LexicalCommand, LexicalEditor, LexicalNode, NodeKey, SerializedElementNode, Spread } from "lexical";
|
|
2
4
|
import { EditorTheme, TypographyHTMLTag, TypographyValue } from "@webiny/lexical-theme";
|
|
3
5
|
export declare const ADD_TYPOGRAPHY_COMMAND: LexicalCommand<TypographyPayload>;
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
/// <reference types="react" />
|
|
9
|
+
/// <reference types="web" />
|
|
10
|
+
/// <reference types="react" />
|
|
9
11
|
import type { LexicalEditor } from "lexical";
|
|
10
12
|
export declare function ImageResizer({ onResizeStart, onResizeEnd, buttonRef, imageRef, maxWidth, editor, showCaption, setShowCaption, captionsEnabled }: {
|
|
11
13
|
editor: LexicalEditor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/lexical-nodes",
|
|
3
|
-
"version": "5.38.
|
|
3
|
+
"version": "5.38.2",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@lexical/code": "0.12.2",
|
|
6
6
|
"@lexical/hashtag": "0.12.2",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"@lexical/rich-text": "0.12.2",
|
|
13
13
|
"@lexical/selection": "0.12.2",
|
|
14
14
|
"@lexical/utils": "0.12.2",
|
|
15
|
-
"@webiny/lexical-theme": "5.38.
|
|
15
|
+
"@webiny/lexical-theme": "5.38.2",
|
|
16
16
|
"lexical": "0.12.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@webiny/cli": "5.38.
|
|
20
|
-
"@webiny/project-utils": "5.38.
|
|
19
|
+
"@webiny/cli": "5.38.2",
|
|
20
|
+
"@webiny/project-utils": "5.38.2",
|
|
21
21
|
"react": "17.0.2"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"build": "yarn webiny run build",
|
|
29
29
|
"watch": "yarn webiny run watch"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "443e107cc474882f558e0783a2d9068b7692bd00"
|
|
32
32
|
}
|