@contentful/field-editor-reference 4.6.2 → 4.6.3

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
+ ## [4.6.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.2...@contentful/field-editor-reference@4.6.3) (2022-07-19)
7
+
8
+ ### Bug Fixes
9
+
10
+ - drill props correctly ([#1190](https://github.com/contentful/field-editors/issues/1190)) ([f17742a](https://github.com/contentful/field-editors/commit/f17742a80f1d41f15a494fd84436deb745e4431d))
11
+
6
12
  ## [4.6.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.1...@contentful/field-editor-reference@4.6.2) (2022-07-18)
7
13
 
8
14
  ### Bug Fixes
@@ -3350,7 +3350,7 @@ function MultipleEntryReferenceEditor(props) {
3350
3350
  return React.createElement(MultipleReferenceEditor, Object.assign({}, props, {
3351
3351
  entityType: "Entry"
3352
3352
  }), function (childrenProps) {
3353
- return React.createElement(SortableLinkList, Object.assign({}, props, childrenProps, {
3353
+ return React.createElement(SortableLinkList, Object.assign({}, childrenProps, {
3354
3354
  axis: "y",
3355
3355
  useDragHandle: true
3356
3356
  }), function (_ref) {
@@ -3360,7 +3360,7 @@ function MultipleEntryReferenceEditor(props) {
3360
3360
  isDisabled = _ref.isDisabled,
3361
3361
  DragHandle = _ref.DragHandle;
3362
3362
  var lastIndex = items.length - 1;
3363
- return React.createElement(FetchingWrappedEntryCard, Object.assign({}, props, {
3363
+ return React.createElement(FetchingWrappedEntryCard, Object.assign({}, childrenProps, {
3364
3364
  key: item.sys.id + "-" + index,
3365
3365
  index: index,
3366
3366
  allContentTypes: childrenProps.allContentTypes,
@@ -3812,7 +3812,7 @@ function MultipleMediaEditor(props) {
3812
3812
  index = _ref.index,
3813
3813
  isDisabled = _ref.isDisabled,
3814
3814
  DragHandle = _ref.DragHandle;
3815
- return React.createElement(FetchingWrappedAssetCard, Object.assign({}, props, {
3815
+ return React.createElement(FetchingWrappedAssetCard, Object.assign({}, childrenProps, {
3816
3816
  isDisabled: isDisabled,
3817
3817
  key: item.sys.id + "-" + index,
3818
3818
  assetId: item.sys.id,