@uniformdev/richtext 19.179.1-alpha.1 → 19.179.2-alpha.25
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/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -144,14 +144,14 @@ declare function renderToText(node: RichTextNode | null | undefined, parentConte
|
|
|
144
144
|
declare function renderChildrenToText(children: RichTextNode[] | undefined, context: StringRenderContext): string;
|
|
145
145
|
|
|
146
146
|
declare const walkRichTextTree: (node: RichTextNode, callback: (node: RichTextNode, parent: RichTextNode | undefined) => void, parent?: RichTextNode) => void;
|
|
147
|
-
declare const richTextBuiltInElements: {
|
|
147
|
+
declare const richTextBuiltInElements: Array<{
|
|
148
148
|
label: string;
|
|
149
149
|
type: RichTextBuiltInElement;
|
|
150
|
-
}
|
|
151
|
-
declare const richTextBuiltInFormats: {
|
|
150
|
+
}>;
|
|
151
|
+
declare const richTextBuiltInFormats: Array<{
|
|
152
152
|
label: string;
|
|
153
153
|
type: RichTextBuiltInFormat;
|
|
154
|
-
}
|
|
154
|
+
}>;
|
|
155
155
|
declare const getLabelForElement: (type: string) => string;
|
|
156
156
|
declare const getLabelForFormat: (type: string) => string;
|
|
157
157
|
|
package/dist/index.d.ts
CHANGED
|
@@ -144,14 +144,14 @@ declare function renderToText(node: RichTextNode | null | undefined, parentConte
|
|
|
144
144
|
declare function renderChildrenToText(children: RichTextNode[] | undefined, context: StringRenderContext): string;
|
|
145
145
|
|
|
146
146
|
declare const walkRichTextTree: (node: RichTextNode, callback: (node: RichTextNode, parent: RichTextNode | undefined) => void, parent?: RichTextNode) => void;
|
|
147
|
-
declare const richTextBuiltInElements: {
|
|
147
|
+
declare const richTextBuiltInElements: Array<{
|
|
148
148
|
label: string;
|
|
149
149
|
type: RichTextBuiltInElement;
|
|
150
|
-
}
|
|
151
|
-
declare const richTextBuiltInFormats: {
|
|
150
|
+
}>;
|
|
151
|
+
declare const richTextBuiltInFormats: Array<{
|
|
152
152
|
label: string;
|
|
153
153
|
type: RichTextBuiltInFormat;
|
|
154
|
-
}
|
|
154
|
+
}>;
|
|
155
155
|
declare const getLabelForElement: (type: string) => string;
|
|
156
156
|
declare const getLabelForFormat: (type: string) => string;
|
|
157
157
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/richtext",
|
|
3
|
-
"version": "19.179.
|
|
3
|
+
"version": "19.179.2-alpha.25+252ca669db",
|
|
4
4
|
"description": "Common functionality and types for Uniform Rich Text parameters",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"document": "api-extractor run --local"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@lexical/headless": "0.
|
|
44
|
-
"@lexical/html": "0.
|
|
45
|
-
"@lexical/link": "0.
|
|
46
|
-
"@lexical/list": "0.
|
|
47
|
-
"@lexical/rich-text": "0.
|
|
48
|
-
"@uniformdev/canvas": "^19.179.
|
|
49
|
-
"lexical": "0.
|
|
43
|
+
"@lexical/headless": "0.17.0",
|
|
44
|
+
"@lexical/html": "0.17.0",
|
|
45
|
+
"@lexical/link": "0.17.0",
|
|
46
|
+
"@lexical/list": "0.17.0",
|
|
47
|
+
"@lexical/rich-text": "0.17.0",
|
|
48
|
+
"@uniformdev/canvas": "^19.179.2-alpha.25+252ca669db",
|
|
49
|
+
"lexical": "0.17.0"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"/dist"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "252ca669dbe0172211ab6b0465322c8cecd9a974"
|
|
58
58
|
}
|