@contentful/field-editor-reference 4.6.4 → 4.6.5

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.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.4...@contentful/field-editor-reference@4.6.5) (2022-07-21)
7
+
8
+ **Note:** Version bump only for package @contentful/field-editor-reference
9
+
6
10
  ## [4.6.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.3...@contentful/field-editor-reference@4.6.4) (2022-07-21)
7
11
 
8
12
  ### Bug Fixes
@@ -1,3 +1,2 @@
1
1
  export declare const card: string;
2
2
  export declare const squareCard: string;
3
- export declare const close: string;
@@ -627,30 +627,27 @@ var squareCard = /*#__PURE__*/emotion.css({
627
627
  height: '160px',
628
628
  textAlign: 'center'
629
629
  });
630
- var close = /*#__PURE__*/emotion.css({
631
- position: 'absolute',
632
- top: tokens.spacingS,
633
- right: tokens.spacingS
634
- });
635
630
 
636
631
  function MissingEntityCard(props) {
637
632
  return React__default.createElement(f36Components.Card, {
638
633
  className: card
634
+ }, React__default.createElement(f36Components.Flex, {
635
+ alignItems: "center",
636
+ justifyContent: "space-between"
639
637
  }, React__default.createElement("div", {
640
638
  className: props.asSquare ? squareCard : ''
641
639
  }, React__default.createElement(f36Components.SectionHeading, {
642
640
  marginBottom: "none"
643
- }, props.entityType === 'Entry' && 'Entry is missing or inaccessible', props.entityType === 'Asset' && 'Asset is missing or inaccessible')), !props.isDisabled && props.onRemove && React__default.createElement(f36Components.IconButton, {
641
+ }, props.entityType, " is missing or inaccessible")), !props.isDisabled && props.onRemove && React__default.createElement(f36Components.IconButton, {
644
642
  variant: "transparent",
645
643
  icon: React__default.createElement(f36Icons.CloseIcon, {
646
644
  variant: "muted"
647
645
  }),
648
- className: close,
649
646
  "aria-label": "Delete",
650
647
  onClick: function onClick() {
651
648
  props.onRemove && props.onRemove();
652
649
  }
653
- }));
650
+ })));
654
651
  }
655
652
 
656
653
  function createCommonjsModule(fn, module) {