@prismicio/editor-fields 0.4.78 → 0.4.79-alpha.jp-release-script.1

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 +11 -0
  2. package/dist/GroupEditor.d.ts +2 -12
  3. package/dist/NestableWidgetSwitch.d.ts +1 -1
  4. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +39 -20
  5. package/dist/core/APIExplorer/components/Request/components/RequestAPIPathFieldset.d.ts +26 -0
  6. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +1 -11
  7. package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +6 -3
  8. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/OrderingConfigDialog.d.ts +8 -0
  9. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/RequestOrderingsFieldset.d.ts +5 -0
  10. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/constants.d.ts +1 -0
  11. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/index.d.ts +2 -0
  12. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/queryOrderingsToOrderings.d.ts +2 -0
  13. package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +11 -0
  14. package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
  15. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +5 -2
  16. package/dist/core/APIExplorer/utils.d.ts +4 -2
  17. package/dist/core/Collaboration/CollaborationPresence.d.ts +7 -0
  18. package/dist/core/document.d.ts +1 -1
  19. package/dist/core/imageUtils.d.ts +0 -2
  20. package/dist/core/service/document.d.ts +30 -12
  21. package/dist/core/service/documentSearch.d.ts +5 -0
  22. package/dist/core/service/onboarding.d.ts +3 -3
  23. package/dist/fields/ImageField/ImageField.d.ts +1 -0
  24. package/dist/fields/KeyTextField.d.ts +1 -1
  25. package/dist/fields/LinkField/Documents/documentsData.d.ts +1 -0
  26. package/dist/fields/RichTextField/RichTextField.d.ts +5 -3
  27. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -1
  28. package/dist/fields/RichTextField/coreExtensions/Text.d.ts +2 -1
  29. package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +2 -1
  30. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +2 -1
  31. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +2 -1
  32. package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +2 -1
  33. package/dist/fields/RichTextField/models/EditorExtension.d.ts +8 -7
  34. package/dist/index.cjs.js +45 -50
  35. package/dist/index.es.js +39312 -46714
  36. package/dist/slices/utils.d.ts +1 -1
  37. package/dist/zones/RepeatableZoneEditor.d.ts +1 -0
  38. package/package.json +66 -8
  39. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +0 -9
@@ -362,7 +362,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
362
362
  content: ({
363
363
  key: string;
364
364
  } & {
365
- type: "tableCell" | "tableHeader";
365
+ type: "tableHeader" | "tableCell";
366
366
  content: {
367
367
  __TYPE__: "StructuredTextContent";
368
368
  value: (({
@@ -20,4 +20,5 @@ 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;
23
24
  export {};
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@floating-ui/react-dom-interactions": "0.9.3",
4
+ "@liveblocks/react": "2.24.3",
4
5
  "@prismicio/client": "7.15.1",
5
- "@prismicio/editor-support": "0.4.78",
6
+ "@prismicio/editor-support": "0.4.79-alpha.jp-release-script.1",
6
7
  "@prismicio/richtext": "2.1.1",
7
- "@prismicio/types-internal": "3.11.2",
8
+ "@prismicio/types-internal": "3.15.0-alpha.0",
8
9
  "@tiptap/core": "2.11.5",
9
10
  "@tiptap/extension-bold": "2.11.5",
10
11
  "@tiptap/extension-bullet-list": "2.11.5",
@@ -38,8 +39,13 @@
38
39
  "zod": "3.23.8"
39
40
  },
40
41
  "devDependencies": {
41
- "@prismicio/editor-ui": "^0.4.78",
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",
42
46
  "@testing-library/react": "15.0.7",
47
+ "@tiptap/extension-collaboration": "2.22.3",
48
+ "@tiptap/extension-collaboration-cursor": "2.22.3",
43
49
  "@types/react": "18.0.18",
44
50
  "@types/react-dom": "18.3.0",
45
51
  "@vitejs/plugin-react": "4.0.3",
@@ -50,11 +56,17 @@
50
56
  "eslint-plugin-react": "7.31.7",
51
57
  "eslint-plugin-react-hooks": "4.6.0",
52
58
  "jsdom": "24.0.0",
59
+ "prosemirror-model": "1.24.1",
60
+ "prosemirror-state": "1.4.3",
61
+ "prosemirror-view": "1.38.0",
53
62
  "react": "18.2.0",
54
63
  "react-dom": "18.3.1",
55
64
  "typescript": "5.2.2",
56
65
  "vite": "5.1.5",
57
- "vitest": "1.3.1"
66
+ "vitest": "1.3.1",
67
+ "y-prosemirror": "1.2.15",
68
+ "y-protocols": "1.0.6",
69
+ "yjs": "13.6.23"
58
70
  },
59
71
  "exports": {
60
72
  "./src/index.ts": "./src/index.ts",
@@ -72,10 +84,56 @@
72
84
  "module": "./dist/index.es.js",
73
85
  "name": "@prismicio/editor-fields",
74
86
  "peerDependencies": {
75
- "@prismicio/editor-ui": "^0.4.78",
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",
76
91
  "@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",
77
97
  "react": "18",
78
- "react-dom": "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
+ }
79
137
  },
80
138
  "repository": {
81
139
  "type": "git",
@@ -88,7 +146,7 @@
88
146
  "vitest": "vitest"
89
147
  },
90
148
  "sideEffects": false,
91
- "stableVersion": "0.0.0",
92
149
  "types": "./dist/index.d.ts",
93
- "version": "0.4.78"
150
+ "version": "0.4.79-alpha.jp-release-script.1",
151
+ "stableVersion": "0.4.78"
94
152
  }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- type FilterConfigPathInputProps = {
3
- path: string;
4
- setPath: (path: string) => void;
5
- description: string;
6
- allowedPaths: string[];
7
- };
8
- export declare function FilterConfigPathInput(props: FilterConfigPathInputProps): JSX.Element;
9
- export {};