@contentful/field-editor-reference 4.6.7 → 4.6.8
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/CHANGELOG.md +4 -0
- package/dist/__fixtures__/FakeSdk.d.ts +2 -0
- package/dist/field-editor-reference.cjs.development.js +4 -4
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +4 -4
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -393,6 +393,10 @@ var CreateEntryLinkButton = function CreateEntryLinkButton(_ref) {
|
|
|
393
393
|
});
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
+
function NoLinkPermissionsInfo() {
|
|
397
|
+
return React__default.createElement(Paragraph, null, "You don't have permission to view this content or this field is not correctly configured. Contact your administrator for help.");
|
|
398
|
+
}
|
|
399
|
+
|
|
396
400
|
var container$1 = /*#__PURE__*/css({
|
|
397
401
|
display: 'flex',
|
|
398
402
|
width: '100%',
|
|
@@ -402,10 +406,6 @@ var separator = /*#__PURE__*/css({
|
|
|
402
406
|
marginRight: tokens.spacingXl
|
|
403
407
|
});
|
|
404
408
|
|
|
405
|
-
function NoLinkPermissionsInfo() {
|
|
406
|
-
return React__default.createElement(Paragraph, null, "You don't have permission to view this content or this field is not correctly configured. Contact your administrator for help.");
|
|
407
|
-
}
|
|
408
|
-
|
|
409
409
|
var defaultEntryLabels = {
|
|
410
410
|
createNew: function createNew(props) {
|
|
411
411
|
return props != null && props.contentType ? "Create new " + props.contentType + " and link" : 'Create new entry and link';
|