@contentful/field-editor-reference 5.5.4 → 5.6.0
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 +10 -0
- package/dist/field-editor-reference.cjs.development.js +7 -4
- 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 +7 -4
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.6.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.5.4...@contentful/field-editor-reference@5.6.0) (2023-01-02)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- solve multi ref drag issue [TOL-823] ([#1314](https://github.com/contentful/field-editors/issues/1314)) ([2d37f1c](https://github.com/contentful/field-editors/commit/2d37f1ca2b9a89710e7999278afcb492a069c8a8))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- lower search and update width entry ref [TOL-247] ([#1313](https://github.com/contentful/field-editors/issues/1313)) ([ed6edbc](https://github.com/contentful/field-editors/commit/ed6edbc2ddce352d6ac7a7f8aced2129c4c2e5b4))
|
|
15
|
+
|
|
6
16
|
## [5.5.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.5.3...@contentful/field-editor-reference@5.5.4) (2022-12-23)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @contentful/field-editor-reference
|
|
@@ -8,9 +8,9 @@ var React = require('react');
|
|
|
8
8
|
var React__default = _interopDefault(React);
|
|
9
9
|
var emotion = require('emotion');
|
|
10
10
|
var tokens = _interopDefault(require('@contentful/f36-tokens'));
|
|
11
|
-
var get = _interopDefault(require('lodash/get'));
|
|
12
11
|
var f36Components = require('@contentful/f36-components');
|
|
13
12
|
var f36Icons = require('@contentful/f36-icons');
|
|
13
|
+
var get = _interopDefault(require('lodash/get'));
|
|
14
14
|
var moment = _interopDefault(require('moment'));
|
|
15
15
|
var fieldEditorShared = require('@contentful/field-editor-shared');
|
|
16
16
|
var deepEqual = _interopDefault(require('deep-equal'));
|
|
@@ -197,7 +197,7 @@ var action = /*#__PURE__*/emotion.css({
|
|
|
197
197
|
});
|
|
198
198
|
|
|
199
199
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
200
|
-
var MAX_ITEMS_WITHOUT_SEARCH =
|
|
200
|
+
var MAX_ITEMS_WITHOUT_SEARCH = 5;
|
|
201
201
|
var menuPlacementMap = {
|
|
202
202
|
'bottom-left': 'bottom-start',
|
|
203
203
|
'bottom-right': 'bottom-end'
|
|
@@ -403,7 +403,8 @@ var standardStyles = {
|
|
|
403
403
|
var redesignStyles = /*#__PURE__*/_extends({}, standardStyles, {
|
|
404
404
|
action: /*#__PURE__*/emotion.css({
|
|
405
405
|
textDecoration: 'none',
|
|
406
|
-
fontWeight: 'bold'
|
|
406
|
+
fontWeight: 'bold',
|
|
407
|
+
maxWidth: '300px'
|
|
407
408
|
})
|
|
408
409
|
});
|
|
409
410
|
|
|
@@ -3364,7 +3365,9 @@ var styles$3 = {
|
|
|
3364
3365
|
position: 'relative'
|
|
3365
3366
|
}),
|
|
3366
3367
|
item: /*#__PURE__*/emotion.css({
|
|
3367
|
-
marginBottom: tokens.spacingM
|
|
3368
|
+
marginBottom: tokens.spacingM,
|
|
3369
|
+
zIndex: tokens.zIndexModalContent // setting this to an index above 99 fixes dragged item disappearing issue
|
|
3370
|
+
|
|
3368
3371
|
})
|
|
3369
3372
|
};
|
|
3370
3373
|
|