@contentful/default-field-editors 2.2.20-canary.21 → 2.2.20-canary.24
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/dist/cjs/FieldWrapper.js
CHANGED
|
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "FieldWrapper", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
12
|
const _f36components = require("@contentful/f36-components");
|
|
13
13
|
const _fieldeditorvalidationerrors = require("@contentful/field-editor-validation-errors");
|
|
14
|
-
const
|
|
14
|
+
const _css = require("@emotion/css");
|
|
15
15
|
const _FieldWrapperstyles = require("./FieldWrapper.styles");
|
|
16
16
|
function _getRequireWildcardCache(nodeInterop) {
|
|
17
17
|
if (typeof WeakMap !== "function") return null;
|
|
@@ -77,7 +77,7 @@ const FieldWrapper = function(props) {
|
|
|
77
77
|
id: fieldControlId,
|
|
78
78
|
testId: "entity-field-controls",
|
|
79
79
|
"data-test-id": "entity-field-controls",
|
|
80
|
-
className: (0,
|
|
80
|
+
className: (0, _css.cx)(showFocusBar && _FieldWrapperstyles.styles.withFocusBar, className),
|
|
81
81
|
"aria-invalid": hasErrors,
|
|
82
82
|
isRequired: field.required
|
|
83
83
|
}, renderHeading ? renderHeading(name) : /*#__PURE__*/ _react.createElement(_f36components.FormControl.Label, {
|
package/dist/esm/FieldWrapper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FormControl } from '@contentful/f36-components';
|
|
3
3
|
import { ValidationErrors } from '@contentful/field-editor-validation-errors';
|
|
4
|
-
import { cx } from 'emotion';
|
|
4
|
+
import { cx } from '@emotion/css';
|
|
5
5
|
import { styles } from './FieldWrapper.styles';
|
|
6
6
|
export const FieldWrapper = function(props) {
|
|
7
7
|
const { ids } = props.sdk;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/default-field-editors",
|
|
3
|
-
"version": "2.2.20-canary.
|
|
3
|
+
"version": "2.2.20-canary.24+23aabe26",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"@contentful/f36-icons": "^6.7.1",
|
|
41
41
|
"@contentful/f36-tokens": "^6.1.2",
|
|
42
42
|
"@contentful/field-editor-boolean": "^1.10.1",
|
|
43
|
-
"@contentful/field-editor-checkbox": "^1.7.
|
|
43
|
+
"@contentful/field-editor-checkbox": "^1.7.6-canary.24+23aabe26",
|
|
44
44
|
"@contentful/field-editor-date": "^1.9.25",
|
|
45
45
|
"@contentful/field-editor-dropdown": "^1.9.5",
|
|
46
|
-
"@contentful/field-editor-json": "^3.6.
|
|
46
|
+
"@contentful/field-editor-json": "^3.6.6-canary.24+23aabe26",
|
|
47
47
|
"@contentful/field-editor-list": "^1.7.5",
|
|
48
48
|
"@contentful/field-editor-location": "^1.5.25",
|
|
49
49
|
"@contentful/field-editor-markdown": "^1.15.3",
|
|
50
50
|
"@contentful/field-editor-multiple-line": "^1.7.5",
|
|
51
51
|
"@contentful/field-editor-number": "^1.6.5",
|
|
52
|
-
"@contentful/field-editor-radio": "^1.8.
|
|
52
|
+
"@contentful/field-editor-radio": "^1.8.6-canary.24+23aabe26",
|
|
53
53
|
"@contentful/field-editor-rating": "^1.7.6",
|
|
54
|
-
"@contentful/field-editor-reference": "^6.22.4-canary.
|
|
55
|
-
"@contentful/field-editor-rich-text": "^4.20.13-canary.
|
|
54
|
+
"@contentful/field-editor-reference": "^6.22.4-canary.24+23aabe26",
|
|
55
|
+
"@contentful/field-editor-rich-text": "^4.20.13-canary.24+23aabe26",
|
|
56
56
|
"@contentful/field-editor-shared": "^3.0.0",
|
|
57
57
|
"@contentful/field-editor-single-line": "^1.9.5",
|
|
58
58
|
"@contentful/field-editor-slug": "^2.2.4",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"registry": "https://npm.pkg.github.com/"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "23aabe2634ab28c17aa7535c5d46f664a9627617"
|
|
75
75
|
}
|