@contentful/field-editor-reference 4.3.10 → 4.3.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 +6 -0
- package/dist/field-editor-reference.cjs.development.js +6 -16
- 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 -16
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
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.3.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.10...@contentful/field-editor-reference@4.3.11) (2022-06-30)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- search input styles [HOMER-1048] ([#1170](https://github.com/contentful/field-editors/issues/1170)) ([bc96fb9](https://github.com/contentful/field-editors/commit/bc96fb93bcca5508bdca38eafc8377878e97fb4b))
|
|
11
|
+
|
|
6
12
|
## [4.3.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.9...@contentful/field-editor-reference@4.3.10) (2022-06-22)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @contentful/field-editor-reference
|
|
@@ -9,8 +9,8 @@ var React__default = _interopDefault(React);
|
|
|
9
9
|
var emotion = require('emotion');
|
|
10
10
|
var tokens = _interopDefault(require('@contentful/f36-tokens'));
|
|
11
11
|
var get = _interopDefault(require('lodash/get'));
|
|
12
|
-
var f36Icons = require('@contentful/f36-icons');
|
|
13
12
|
var f36Components = require('@contentful/f36-components');
|
|
13
|
+
var f36Icons = require('@contentful/f36-icons');
|
|
14
14
|
var moment = _interopDefault(require('moment'));
|
|
15
15
|
var deepEqual = _interopDefault(require('deep-equal'));
|
|
16
16
|
var fieldEditorShared = require('@contentful/field-editor-shared');
|
|
@@ -115,20 +115,10 @@ var styles = {
|
|
|
115
115
|
position: 'relative',
|
|
116
116
|
padding: "0 " + tokens.spacing2Xs
|
|
117
117
|
}),
|
|
118
|
-
searchInput:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
borderRadius: parentHasDropdown ? 0 : undefined,
|
|
123
|
-
borderLeft: parentHasDropdown ? 'none' : undefined,
|
|
124
|
-
borderRight: parentHasDropdown ? 'none' : undefined,
|
|
125
|
-
paddingRight: tokens.spacing2Xl,
|
|
126
|
-
'::placeholder': {
|
|
127
|
-
color: tokens.gray600
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
},
|
|
118
|
+
searchInput: /*#__PURE__*/emotion.css({
|
|
119
|
+
paddingRight: tokens.spacingXl,
|
|
120
|
+
textOverflow: 'ellipsis'
|
|
121
|
+
}),
|
|
132
122
|
searchIcon: /*#__PURE__*/emotion.css({
|
|
133
123
|
position: 'absolute',
|
|
134
124
|
right: tokens.spacingM,
|
|
@@ -277,7 +267,7 @@ var CreateEntryMenuTrigger = function CreateEntryMenuTrigger(_ref) {
|
|
|
277
267
|
ref: textField,
|
|
278
268
|
className: styles.inputWrapper
|
|
279
269
|
}, React__default.createElement(f36Components.TextInput, {
|
|
280
|
-
className: styles.searchInput
|
|
270
|
+
className: styles.searchInput,
|
|
281
271
|
placeholder: "Search all content types",
|
|
282
272
|
testId: "add-entry-menu-search",
|
|
283
273
|
value: searchInput,
|