@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 +4 -0
- package/dist/components/MissingEntityCard/styles.d.ts +0 -1
- package/dist/field-editor-reference.cjs.development.js +5 -8
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +6 -9
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
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
|
|
@@ -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
|
|
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) {
|