@contentful/field-editor-reference 2.20.10 → 2.20.11

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,17 @@
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
+ ## [2.20.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@2.20.10...@contentful/field-editor-reference@2.20.11) (2021-10-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **reference:** consistent ordering of link actions ([#884](https://github.com/contentful/field-editors/issues/884)) ([1a6bae7](https://github.com/contentful/field-editors/commit/1a6bae7825b09d91151bd80e7f55c0c1cf5ec27c))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.20.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@2.20.9...@contentful/field-editor-reference@2.20.10) (2021-09-20)
7
18
 
8
19
  **Note:** Version bump only for package @contentful/field-editor-reference
@@ -604,18 +604,18 @@ function CombinedAssetLinkActions(props) {
604
604
  }, React.createElement(forma36ReactComponents.DropdownList, {
605
605
  testId: testIds$1.dropdown
606
606
  }, React.createElement(forma36ReactComponents.DropdownListItem, {
607
- testId: testIds$1.createAndLink,
607
+ testId: testIds$1.linkExisting,
608
608
  onClick: function onClick() {
609
609
  setOpen(false);
610
- props.onCreate();
610
+ props.onLinkExisting();
611
611
  }
612
- }, "Add new media"), React.createElement(forma36ReactComponents.DropdownListItem, {
613
- testId: testIds$1.linkExisting,
612
+ }, "Add existing media"), React.createElement(forma36ReactComponents.DropdownListItem, {
613
+ testId: testIds$1.createAndLink,
614
614
  onClick: function onClick() {
615
615
  setOpen(false);
616
- props.onLinkExisting();
616
+ props.onCreate();
617
617
  }
618
- }, "Add existing media")));
618
+ }, "Add new media")));
619
619
  }
620
620
 
621
621
  var card = /*#__PURE__*/emotion.css({