@contentful/field-editor-single-line 1.5.0 → 1.5.1
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.
|
@@ -58,7 +58,6 @@ function isSupportedFieldTypes(val) {
|
|
|
58
58
|
}
|
|
59
59
|
function SingleLineEditor(props) {
|
|
60
60
|
const { field, isDisabled, isInitiallyDisabled = true, locales, onBlur, onFocus, withCharInformation = true, withCharValidation = true } = props;
|
|
61
|
-
console.log(`isDisabled => `, isDisabled);
|
|
62
61
|
if (!isSupportedFieldTypes(field.type)) {
|
|
63
62
|
throw new Error(`"${field.type}" field type is not supported by SingleLineEditor`);
|
|
64
63
|
}
|
|
@@ -7,7 +7,6 @@ function isSupportedFieldTypes(val) {
|
|
|
7
7
|
}
|
|
8
8
|
export function SingleLineEditor(props) {
|
|
9
9
|
const { field, isDisabled, isInitiallyDisabled = true, locales, onBlur, onFocus, withCharInformation = true, withCharValidation = true } = props;
|
|
10
|
-
console.log(`isDisabled => `, isDisabled);
|
|
11
10
|
if (!isSupportedFieldTypes(field.type)) {
|
|
12
11
|
throw new Error(`"${field.type}" field type is not supported by SingleLineEditor`);
|
|
13
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-single-line",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"registry": "https://npm.pkg.github.com/"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b8b66f938a5e85b6a1fdf21c7726205685e452fd"
|
|
54
54
|
}
|