@prismicio/editor-fields 0.4.75-alpha.support-new-cr-model.1 → 0.4.75
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.cjs.js +1 -1
- package/dist/index.es.js +1 -5
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -38325,11 +38325,7 @@ function H2(t) {
|
|
|
38325
38325
|
onOpenChange: q,
|
|
38326
38326
|
onSelectDocument: j,
|
|
38327
38327
|
fixedCustomTypes: new Set(
|
|
38328
|
-
|
|
38329
|
-
// allows field content relationships. Currently this map keeps the
|
|
38330
|
-
// code running the same as before.
|
|
38331
|
-
// TODO: Update this to support the new CR model.
|
|
38332
|
-
(M = (L = n.config) == null ? void 0 : L.customtypes) == null ? void 0 : M.flatMap((V) => typeof V == "string" ? [V] : [])
|
|
38328
|
+
(M = (L = n.config) == null ? void 0 : L.customtypes) == null ? void 0 : M.map((V) => typeof V == "string" ? V : V.id)
|
|
38333
38329
|
),
|
|
38334
38330
|
fixedTags: new Set((x = n.config) == null ? void 0 : x.tags),
|
|
38335
38331
|
linkedDocumentId: e && de.FilledDocumentLinkContent.is(e.value) ? e.value.id : void 0
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.75
|
|
5
|
+
"@prismicio/editor-support": "0.4.75",
|
|
6
6
|
"@prismicio/richtext": "2.1.1",
|
|
7
7
|
"@prismicio/types-internal": "3.9.0",
|
|
8
8
|
"@tiptap/core": "2.11.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"zod": "3.23.8"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@prismicio/editor-ui": "^0.4.75
|
|
41
|
+
"@prismicio/editor-ui": "^0.4.75",
|
|
42
42
|
"@testing-library/react": "15.0.7",
|
|
43
43
|
"@types/react": "18.0.18",
|
|
44
44
|
"@types/react-dom": "18.3.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"module": "./dist/index.es.js",
|
|
73
73
|
"name": "@prismicio/editor-fields",
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@prismicio/editor-ui": "^0.4.75
|
|
75
|
+
"@prismicio/editor-ui": "^0.4.75",
|
|
76
76
|
"@tanstack/react-query": "5.55.4",
|
|
77
77
|
"react": "18",
|
|
78
78
|
"react-dom": "18"
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"sideEffects": false,
|
|
91
91
|
"stableVersion": "0.0.0",
|
|
92
92
|
"types": "./dist/index.d.ts",
|
|
93
|
-
"version": "0.4.75
|
|
93
|
+
"version": "0.4.75"
|
|
94
94
|
}
|