@prismicio/editor-fields 0.4.65 → 0.4.67-alpha.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/dist/EditorConfig.d.ts +3 -0
- package/dist/core/service/customType.d.ts +9 -9
- package/dist/core/service/document.d.ts +82 -38
- package/dist/core/service/documentSearch.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +6 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/types.d.ts +3 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableEvent.d.ts +31 -0
- package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Table/menus/utils.d.ts +5 -0
- package/dist/fields/RichTextField/extensions/Table/utils.d.ts +48 -2
- package/dist/index.cjs.js +42 -42
- package/dist/index.es.js +26838 -28827
- package/dist/slices/utils.d.ts +6 -2
- package/package.json +8 -5
package/dist/slices/utils.d.ts
CHANGED
|
@@ -355,9 +355,13 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
|
|
|
355
355
|
__TYPE__: "SeparatorContent";
|
|
356
356
|
} | {
|
|
357
357
|
__TYPE__: "TableContent";
|
|
358
|
-
content: {
|
|
358
|
+
content: ({
|
|
359
|
+
key: string;
|
|
360
|
+
} & {
|
|
359
361
|
type: "tableRow";
|
|
360
362
|
content: ({
|
|
363
|
+
key: string;
|
|
364
|
+
} & {
|
|
361
365
|
type: "tableCell" | "tableHeader";
|
|
362
366
|
content: {
|
|
363
367
|
__TYPE__: "StructuredTextContent";
|
|
@@ -516,7 +520,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
|
|
|
516
520
|
} & {
|
|
517
521
|
columnWidth?: number | undefined;
|
|
518
522
|
})[];
|
|
519
|
-
}[];
|
|
523
|
+
})[];
|
|
520
524
|
} | {
|
|
521
525
|
__TYPE__: "RepeatableContent";
|
|
522
526
|
type: "Link";
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@floating-ui/react-dom-interactions": "0.9.3",
|
|
4
4
|
"@prismicio/client": "7.15.1",
|
|
5
|
-
"@prismicio/editor-support": "0.4.
|
|
5
|
+
"@prismicio/editor-support": "0.4.67-alpha.0",
|
|
6
6
|
"@prismicio/richtext": "2.1.1",
|
|
7
|
-
"@prismicio/types-internal": "3.
|
|
7
|
+
"@prismicio/types-internal": "3.8.0",
|
|
8
8
|
"@tiptap/core": "2.11.5",
|
|
9
9
|
"@tiptap/extension-bold": "2.11.5",
|
|
10
10
|
"@tiptap/extension-bullet-list": "2.11.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"zod": "3.23.8"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@prismicio/editor-ui": "^0.4.
|
|
41
|
+
"@prismicio/editor-ui": "^0.4.67-alpha.0",
|
|
42
42
|
"@testing-library/react": "15.0.7",
|
|
43
43
|
"@types/react": "18.0.18",
|
|
44
44
|
"@types/react-dom": "18.3.0",
|
|
@@ -56,6 +56,9 @@
|
|
|
56
56
|
"vite": "5.1.5",
|
|
57
57
|
"vitest": "1.3.1"
|
|
58
58
|
},
|
|
59
|
+
"resolutions": {
|
|
60
|
+
"prosemirror-*": "@tiptap/pm"
|
|
61
|
+
},
|
|
59
62
|
"exports": {
|
|
60
63
|
"./src/index.ts": "./src/index.ts",
|
|
61
64
|
".": {
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
"module": "./dist/index.es.js",
|
|
73
76
|
"name": "@prismicio/editor-fields",
|
|
74
77
|
"peerDependencies": {
|
|
75
|
-
"@prismicio/editor-ui": "^0.4.
|
|
78
|
+
"@prismicio/editor-ui": "^0.4.67-alpha.0",
|
|
76
79
|
"@tanstack/react-query": "5.55.4",
|
|
77
80
|
"react": "18",
|
|
78
81
|
"react-dom": "18"
|
|
@@ -90,5 +93,5 @@
|
|
|
90
93
|
"sideEffects": false,
|
|
91
94
|
"stableVersion": "0.0.0",
|
|
92
95
|
"types": "./dist/index.d.ts",
|
|
93
|
-
"version": "0.4.
|
|
96
|
+
"version": "0.4.67-alpha.0"
|
|
94
97
|
}
|