@prismicio/editor-fields 0.4.79-alpha.jp-release-script-tests.1 → 0.4.79-bump-types-internal.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 +0 -11
- package/dist/GroupEditor.d.ts +12 -2
- package/dist/NestableWidgetSwitch.d.ts +1 -1
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +20 -39
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +11 -1
- package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +3 -6
- package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +0 -11
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +0 -1
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +2 -5
- package/dist/core/APIExplorer/utils.d.ts +2 -4
- package/dist/core/document.d.ts +1 -1
- package/dist/core/imageUtils.d.ts +2 -0
- package/dist/core/service/document.d.ts +12 -30
- package/dist/core/service/documentSearch.d.ts +0 -5
- package/dist/core/service/onboarding.d.ts +3 -3
- package/dist/fields/ImageField/ImageField.d.ts +0 -1
- package/dist/fields/KeyTextField.d.ts +1 -1
- package/dist/fields/LinkField/Documents/documentsData.d.ts +0 -1
- package/dist/fields/RichTextField/RichTextField.d.ts +3 -5
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +1 -2
- package/dist/fields/RichTextField/coreExtensions/Text.d.ts +1 -2
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +1 -2
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +1 -2
- package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +1 -2
- package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +1 -2
- package/dist/fields/RichTextField/models/EditorExtension.d.ts +7 -8
- package/dist/index.cjs.js +50 -45
- package/dist/index.es.js +48147 -40599
- package/dist/slices/utils.d.ts +1 -1
- package/dist/zones/RepeatableZoneEditor.d.ts +0 -1
- package/package.json +8 -66
- package/dist/core/APIExplorer/components/Request/components/RequestAPIPathFieldset.d.ts +0 -26
- package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/OrderingConfigDialog.d.ts +0 -8
- package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/RequestOrderingsFieldset.d.ts +0 -5
- package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/constants.d.ts +0 -1
- package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/index.d.ts +0 -2
- package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/queryOrderingsToOrderings.d.ts +0 -2
- package/dist/core/Collaboration/CollaborationPresence.d.ts +0 -7
package/dist/slices/utils.d.ts
CHANGED
|
@@ -362,7 +362,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
|
|
|
362
362
|
content: ({
|
|
363
363
|
key: string;
|
|
364
364
|
} & {
|
|
365
|
-
type: "
|
|
365
|
+
type: "tableCell" | "tableHeader";
|
|
366
366
|
content: {
|
|
367
367
|
__TYPE__: "StructuredTextContent";
|
|
368
368
|
value: (({
|
|
@@ -20,5 +20,4 @@ type RepeatableZoneEditorProps = {
|
|
|
20
20
|
addItemButtonTitle?: undefined;
|
|
21
21
|
});
|
|
22
22
|
export declare function RepeatableZoneEditor(props: RepeatableZoneEditorProps): JSX.Element | null;
|
|
23
|
-
export declare function createEmptyGroupItemContent(): GroupItemContent;
|
|
24
23
|
export {};
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@floating-ui/react-dom-interactions": "0.9.3",
|
|
4
|
-
"@liveblocks/react": "2.24.3",
|
|
5
4
|
"@prismicio/client": "7.15.1",
|
|
6
|
-
"@prismicio/editor-support": "0.4.79-
|
|
5
|
+
"@prismicio/editor-support": "0.4.79-bump-types-internal.0",
|
|
7
6
|
"@prismicio/richtext": "2.1.1",
|
|
8
|
-
"@prismicio/types-internal": "3.
|
|
7
|
+
"@prismicio/types-internal": "3.12.0",
|
|
9
8
|
"@tiptap/core": "2.11.5",
|
|
10
9
|
"@tiptap/extension-bold": "2.11.5",
|
|
11
10
|
"@tiptap/extension-bullet-list": "2.11.5",
|
|
@@ -39,13 +38,8 @@
|
|
|
39
38
|
"zod": "3.23.8"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
|
-
"@
|
|
43
|
-
"@liveblocks/react-tiptap": "2.24.3",
|
|
44
|
-
"@liveblocks/react-ui": "2.24.3",
|
|
45
|
-
"@prismicio/editor-ui": "^0.4.79-alpha.jp-release-script-tests.1",
|
|
41
|
+
"@prismicio/editor-ui": "^0.4.79-bump-types-internal.0",
|
|
46
42
|
"@testing-library/react": "15.0.7",
|
|
47
|
-
"@tiptap/extension-collaboration": "2.22.3",
|
|
48
|
-
"@tiptap/extension-collaboration-cursor": "2.22.3",
|
|
49
43
|
"@types/react": "18.0.18",
|
|
50
44
|
"@types/react-dom": "18.3.0",
|
|
51
45
|
"@vitejs/plugin-react": "4.0.3",
|
|
@@ -56,17 +50,11 @@
|
|
|
56
50
|
"eslint-plugin-react": "7.31.7",
|
|
57
51
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
58
52
|
"jsdom": "24.0.0",
|
|
59
|
-
"prosemirror-model": "1.24.1",
|
|
60
|
-
"prosemirror-state": "1.4.3",
|
|
61
|
-
"prosemirror-view": "1.38.0",
|
|
62
53
|
"react": "18.2.0",
|
|
63
54
|
"react-dom": "18.3.1",
|
|
64
55
|
"typescript": "5.2.2",
|
|
65
56
|
"vite": "5.1.5",
|
|
66
|
-
"vitest": "1.3.1"
|
|
67
|
-
"y-prosemirror": "1.2.15",
|
|
68
|
-
"y-protocols": "1.0.6",
|
|
69
|
-
"yjs": "13.6.23"
|
|
57
|
+
"vitest": "1.3.1"
|
|
70
58
|
},
|
|
71
59
|
"exports": {
|
|
72
60
|
"./src/index.ts": "./src/index.ts",
|
|
@@ -84,56 +72,10 @@
|
|
|
84
72
|
"module": "./dist/index.es.js",
|
|
85
73
|
"name": "@prismicio/editor-fields",
|
|
86
74
|
"peerDependencies": {
|
|
87
|
-
"@
|
|
88
|
-
"@liveblocks/react-tiptap": "2.18.3",
|
|
89
|
-
"@liveblocks/react-ui": "2.18.3",
|
|
90
|
-
"@prismicio/editor-ui": "^0.4.79-alpha.jp-release-script-tests.1",
|
|
75
|
+
"@prismicio/editor-ui": "^0.4.79-bump-types-internal.0",
|
|
91
76
|
"@tanstack/react-query": "5.55.4",
|
|
92
|
-
"@tiptap/extension-collaboration": "2.11.5",
|
|
93
|
-
"@tiptap/extension-collaboration-cursor": "2.11.5",
|
|
94
|
-
"prosemirror-model": "1.24.1",
|
|
95
|
-
"prosemirror-state": "1.4.3",
|
|
96
|
-
"prosemirror-view": "1.38.0",
|
|
97
77
|
"react": "18",
|
|
98
|
-
"react-dom": "18"
|
|
99
|
-
"y-prosemirror": "1.2.15",
|
|
100
|
-
"y-protocols": "1.0.6",
|
|
101
|
-
"yjs": "13.6.23"
|
|
102
|
-
},
|
|
103
|
-
"peerDependenciesMeta": {
|
|
104
|
-
"@liveblocks/react": {
|
|
105
|
-
"optional": true
|
|
106
|
-
},
|
|
107
|
-
"@liveblocks/react-tiptap": {
|
|
108
|
-
"optional": true
|
|
109
|
-
},
|
|
110
|
-
"@liveblocks/react-ui": {
|
|
111
|
-
"optional": true
|
|
112
|
-
},
|
|
113
|
-
"@tiptap/extension-collaboration": {
|
|
114
|
-
"optional": true
|
|
115
|
-
},
|
|
116
|
-
"@tiptap/extension-collaboration-cursor": {
|
|
117
|
-
"optional": true
|
|
118
|
-
},
|
|
119
|
-
"prosemirror-model": {
|
|
120
|
-
"optional": true
|
|
121
|
-
},
|
|
122
|
-
"prosemirror-state": {
|
|
123
|
-
"optional": true
|
|
124
|
-
},
|
|
125
|
-
"prosemirror-view": {
|
|
126
|
-
"optional": true
|
|
127
|
-
},
|
|
128
|
-
"y-prosemirror": {
|
|
129
|
-
"optional": true
|
|
130
|
-
},
|
|
131
|
-
"y-protocols": {
|
|
132
|
-
"optional": true
|
|
133
|
-
},
|
|
134
|
-
"yjs": {
|
|
135
|
-
"optional": true
|
|
136
|
-
}
|
|
78
|
+
"react-dom": "18"
|
|
137
79
|
},
|
|
138
80
|
"repository": {
|
|
139
81
|
"type": "git",
|
|
@@ -146,7 +88,7 @@
|
|
|
146
88
|
"vitest": "vitest"
|
|
147
89
|
},
|
|
148
90
|
"sideEffects": false,
|
|
91
|
+
"stableVersion": "0.0.0",
|
|
149
92
|
"types": "./dist/index.d.ts",
|
|
150
|
-
"version": "0.4.79-
|
|
151
|
-
"stableVersion": "0.4.78"
|
|
93
|
+
"version": "0.4.79-bump-types-internal.0"
|
|
152
94
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const apiPaths: {
|
|
3
|
-
doc: string;
|
|
4
|
-
docType: string;
|
|
5
|
-
docTags: string;
|
|
6
|
-
docFirstPublicationDate: string;
|
|
7
|
-
docLastPublicationDate: string;
|
|
8
|
-
docId: string;
|
|
9
|
-
myDocUid: string;
|
|
10
|
-
myDocField: string;
|
|
11
|
-
};
|
|
12
|
-
type RequestAPIPathFieldsetProps = {
|
|
13
|
-
path: string;
|
|
14
|
-
setPath: (path: string) => void;
|
|
15
|
-
description: string;
|
|
16
|
-
allowedPaths: string[];
|
|
17
|
-
context: "filter" | "ordering";
|
|
18
|
-
};
|
|
19
|
-
export declare function RequestAPIPathFieldset(props: RequestAPIPathFieldsetProps): JSX.Element;
|
|
20
|
-
interface ValidateAPIPathOptions {
|
|
21
|
-
allowedPaths: string[];
|
|
22
|
-
customTypeIds?: string[];
|
|
23
|
-
context: "filter" | "ordering";
|
|
24
|
-
}
|
|
25
|
-
export declare function validateAPIPath(path: string | undefined, options: ValidateAPIPathOptions): asserts path is string;
|
|
26
|
-
export {};
|
package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const allowedOrderingPaths: string[];
|