@prismicio/editor-fields 0.4.79-alpha.jp-release-script.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.
Files changed (39) hide show
  1. package/dist/EditorConfig.d.ts +0 -11
  2. package/dist/GroupEditor.d.ts +12 -2
  3. package/dist/NestableWidgetSwitch.d.ts +1 -1
  4. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +20 -39
  5. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
  6. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +11 -1
  7. package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +3 -6
  8. package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +0 -11
  9. package/dist/core/APIExplorer/components/Request/components/index.d.ts +0 -1
  10. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +2 -5
  11. package/dist/core/APIExplorer/utils.d.ts +2 -4
  12. package/dist/core/document.d.ts +1 -1
  13. package/dist/core/imageUtils.d.ts +2 -0
  14. package/dist/core/service/document.d.ts +12 -30
  15. package/dist/core/service/documentSearch.d.ts +0 -5
  16. package/dist/core/service/onboarding.d.ts +3 -3
  17. package/dist/fields/ImageField/ImageField.d.ts +0 -1
  18. package/dist/fields/KeyTextField.d.ts +1 -1
  19. package/dist/fields/LinkField/Documents/documentsData.d.ts +0 -1
  20. package/dist/fields/RichTextField/RichTextField.d.ts +3 -5
  21. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +1 -2
  22. package/dist/fields/RichTextField/coreExtensions/Text.d.ts +1 -2
  23. package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +1 -2
  24. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +1 -2
  25. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +1 -2
  26. package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +1 -2
  27. package/dist/fields/RichTextField/models/EditorExtension.d.ts +7 -8
  28. package/dist/index.cjs.js +50 -45
  29. package/dist/index.es.js +48147 -40599
  30. package/dist/slices/utils.d.ts +1 -1
  31. package/dist/zones/RepeatableZoneEditor.d.ts +0 -1
  32. package/package.json +8 -66
  33. package/dist/core/APIExplorer/components/Request/components/RequestAPIPathFieldset.d.ts +0 -26
  34. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/OrderingConfigDialog.d.ts +0 -8
  35. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/RequestOrderingsFieldset.d.ts +0 -5
  36. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/constants.d.ts +0 -1
  37. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/index.d.ts +0 -2
  38. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/queryOrderingsToOrderings.d.ts +0 -2
  39. package/dist/core/Collaboration/CollaborationPresence.d.ts +0 -7
@@ -362,7 +362,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
362
362
  content: ({
363
363
  key: string;
364
364
  } & {
365
- type: "tableHeader" | "tableCell";
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-alpha.jp-release-script.1",
5
+ "@prismicio/editor-support": "0.4.79-bump-types-internal.0",
7
6
  "@prismicio/richtext": "2.1.1",
8
- "@prismicio/types-internal": "3.15.0-alpha.0",
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
- "@liveblocks/react": "2.24.3",
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.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
- "@liveblocks/react": "2.18.3",
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.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-alpha.jp-release-script.1",
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 {};
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface OrderingConfigDialogProps {
3
- open: boolean;
4
- onOpenChange: (open: boolean) => void;
5
- editIndex?: number;
6
- }
7
- export declare function OrderingConfigDialog(props: OrderingConfigDialogProps): JSX.Element;
8
- export {};
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Display a fieldset managing a request orderings setting.
4
- */
5
- export declare function RequestOrderingsFieldset(): JSX.Element | null;
@@ -1 +0,0 @@
1
- export declare const allowedOrderingPaths: string[];
@@ -1,2 +0,0 @@
1
- export { queryOrderingsToOrderings } from "./queryOrderingsToOrderings";
2
- export { RequestOrderingsFieldset } from "./RequestOrderingsFieldset";
@@ -1,2 +0,0 @@
1
- import type { Ordering } from "@prismicio/client";
2
- export declare function queryOrderingsToOrderings(rawOrderings: string[]): Ordering[];
@@ -1,7 +0,0 @@
1
- import type { ReactNode } from "react";
2
- interface CollaborationPresenceProps {
3
- children: ReactNode;
4
- id: string;
5
- }
6
- export declare function CollaborationPresence(props: CollaborationPresenceProps): JSX.Element;
7
- export {};