@contentful/field-editor-reference 5.1.1 → 5.1.2

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,12 @@
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
+ ## [5.1.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.1.1...@contentful/field-editor-reference@5.1.2) (2022-08-26)
7
+
8
+ ### Bug Fixes
9
+
10
+ - change the props type definitions ([#1222](https://github.com/contentful/field-editors/issues/1222)) ([f71394b](https://github.com/contentful/field-editors/commit/f71394b3653c4e84bb45ed5745ba81eb0522e680))
11
+
6
12
  ## [5.1.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.1.0...@contentful/field-editor-reference@5.1.1) (2022-08-25)
7
13
 
8
14
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ReferenceEditorProps } from '../common/ReferenceEditor';
3
- declare type EditorProps = Omit<ReferenceEditorProps, 'hasCardEditActions'>;
3
+ declare type EditorProps = Pick<ReferenceEditorProps, Exclude<keyof ReferenceEditorProps, 'hasCardEditActions'>>;
4
4
  export declare function MultipleMediaEditor(props: EditorProps): JSX.Element;
5
5
  export declare namespace MultipleMediaEditor {
6
6
  var defaultProps: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ReferenceEditorProps } from '../common/ReferenceEditor';
3
- declare type EditorProps = Omit<ReferenceEditorProps, 'hasCardEditActions'>;
3
+ declare type EditorProps = Pick<ReferenceEditorProps, Exclude<keyof ReferenceEditorProps, 'hasCardEditActions'>>;
4
4
  export declare function SingleMediaEditor(props: EditorProps): JSX.Element;
5
5
  export declare namespace SingleMediaEditor {
6
6
  var defaultProps: {