@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 CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.6.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.7...@contentful/field-editor-reference@4.6.8) (2022-07-29)
7
+
8
+ **Note:** Version bump only for package @contentful/field-editor-reference
9
+
6
10
  ## [4.6.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.6...@contentful/field-editor-reference@4.6.7) (2022-07-29)
7
11
 
8
12
  **Note:** Version bump only for package @contentful/field-editor-reference
@@ -1,6 +1,8 @@
1
1
  import { Emitter } from 'mitt';
2
2
  import { FieldExtensionSDK } from '../types';
3
3
  export declare type ReferenceEditorSdkProps = {
4
+ initialValue?: any;
4
5
  validations?: any;
6
+ fetchDelay?: number;
5
7
  };
6
8
  export declare function newReferenceEditorFakeSdk(props?: ReferenceEditorSdkProps): [FieldExtensionSDK, Emitter];
@@ -400,6 +400,10 @@ var CreateEntryLinkButton = function CreateEntryLinkButton(_ref) {
400
400
  });
401
401
  };
402
402
 
403
+ function NoLinkPermissionsInfo() {
404
+ return React__default.createElement(f36Components.Paragraph, null, "You don't have permission to view this content or this field is not correctly configured. Contact your administrator for help.");
405
+ }
406
+
403
407
  var container$1 = /*#__PURE__*/emotion.css({
404
408
  display: 'flex',
405
409
  width: '100%',
@@ -409,10 +413,6 @@ var separator = /*#__PURE__*/emotion.css({
409
413
  marginRight: tokens.spacingXl
410
414
  });
411
415
 
412
- function NoLinkPermissionsInfo() {
413
- return React__default.createElement(f36Components.Paragraph, null, "You don't have permission to view this content or this field is not correctly configured. Contact your administrator for help.");
414
- }
415
-
416
416
  var defaultEntryLabels = {
417
417
  createNew: function createNew(props) {
418
418
  return props != null && props.contentType ? "Create new " + props.contentType + " and link" : 'Create new entry and link';