@contentful/field-editor-reference 6.13.14 → 6.15.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/cjs/assets/WrappedAssetCard/FetchingWrappedAssetCard.js +2 -1
- package/dist/cjs/entries/WrappedEntryCard/FetchingWrappedEntryCard.js +2 -1
- package/dist/esm/assets/WrappedAssetCard/FetchingWrappedAssetCard.js +2 -1
- package/dist/esm/entries/WrappedEntryCard/FetchingWrappedEntryCard.js +2 -1
- package/package.json +7 -6
|
@@ -69,7 +69,8 @@ function FetchingWrappedAssetCard(props) {
|
|
|
69
69
|
entity: asset,
|
|
70
70
|
previousEntityOnTimeline: currentEntity,
|
|
71
71
|
release: props.sdk.release,
|
|
72
|
-
locales: props.sdk.locales
|
|
72
|
+
locales: props.sdk.locales,
|
|
73
|
+
isReference: true
|
|
73
74
|
});
|
|
74
75
|
_react.useEffect(()=>{
|
|
75
76
|
if (asset) {
|
|
@@ -86,7 +86,8 @@ function FetchingWrappedEntryCard(props) {
|
|
|
86
86
|
entity: entry,
|
|
87
87
|
previousEntityOnTimeline: currentEntity,
|
|
88
88
|
release: props.sdk.release,
|
|
89
|
-
locales: props.sdk.locales
|
|
89
|
+
locales: props.sdk.locales,
|
|
90
|
+
isReference: true
|
|
90
91
|
});
|
|
91
92
|
const size = props.viewType === 'link' ? 'small' : 'default';
|
|
92
93
|
const { getEntity } = (0, _EntityStore.useEntityLoader)();
|
|
@@ -18,7 +18,8 @@ export function FetchingWrappedAssetCard(props) {
|
|
|
18
18
|
entity: asset,
|
|
19
19
|
previousEntityOnTimeline: currentEntity,
|
|
20
20
|
release: props.sdk.release,
|
|
21
|
-
locales: props.sdk.locales
|
|
21
|
+
locales: props.sdk.locales,
|
|
22
|
+
isReference: true
|
|
22
23
|
});
|
|
23
24
|
React.useEffect(()=>{
|
|
24
25
|
if (asset) {
|
|
@@ -35,7 +35,8 @@ export function FetchingWrappedEntryCard(props) {
|
|
|
35
35
|
entity: entry,
|
|
36
36
|
previousEntityOnTimeline: currentEntity,
|
|
37
37
|
release: props.sdk.release,
|
|
38
|
-
locales: props.sdk.locales
|
|
38
|
+
locales: props.sdk.locales,
|
|
39
|
+
isReference: true
|
|
39
40
|
});
|
|
40
41
|
const size = props.viewType === 'link' ? 'small' : 'default';
|
|
41
42
|
const { getEntity } = useEntityLoader();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-reference",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.15.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@contentful/f36-components": "^5.4.1",
|
|
40
40
|
"@contentful/f36-icons": "^5.4.1",
|
|
41
41
|
"@contentful/f36-tokens": "^5.1.0",
|
|
42
|
-
"@contentful/field-editor-shared": "^2.
|
|
42
|
+
"@contentful/field-editor-shared": "^2.16.0",
|
|
43
43
|
"@contentful/mimetype": "^2.2.29",
|
|
44
44
|
"@dnd-kit/core": "^6.0.8",
|
|
45
|
-
"@dnd-kit/modifiers": "^7.0.0",
|
|
46
45
|
"@dnd-kit/sortable": "^8.0.0",
|
|
46
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
47
47
|
"@tanstack/react-query": "^4.3.9",
|
|
48
48
|
"constate": "^3.3.2",
|
|
49
49
|
"contentful-management": "^11.45.1",
|
|
@@ -51,11 +51,12 @@
|
|
|
51
51
|
"lodash": "^4.17.15",
|
|
52
52
|
"moment": "^2.20.0",
|
|
53
53
|
"p-queue": "^4.0.0",
|
|
54
|
-
"react-intersection-observer": "9.4.0"
|
|
54
|
+
"react-intersection-observer": "9.4.0",
|
|
55
|
+
"truncate": "^3.0.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@contentful/app-sdk": "^4.42.0",
|
|
58
|
-
"@contentful/field-editor-test-utils": "^1.
|
|
59
|
+
"@contentful/field-editor-test-utils": "^1.7.0",
|
|
59
60
|
"@lingui/core": "5.3.0",
|
|
60
61
|
"@testing-library/react-hooks": "^8.0.1"
|
|
61
62
|
},
|
|
@@ -67,5 +68,5 @@
|
|
|
67
68
|
"publishConfig": {
|
|
68
69
|
"registry": "https://npm.pkg.github.com/"
|
|
69
70
|
},
|
|
70
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "e685baec786ae9c9a6e0660bdb17005304646593"
|
|
71
72
|
}
|