@contentful/field-editor-json 3.3.21 → 3.3.25
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { FieldAPI } from '@contentful/field-editor-shared';
|
|
3
3
|
export interface JsonEditorProps {
|
|
4
4
|
/**
|
|
@@ -10,7 +10,7 @@ export interface JsonEditorProps {
|
|
|
10
10
|
*/
|
|
11
11
|
field: FieldAPI;
|
|
12
12
|
}
|
|
13
|
-
declare function JsonEditor(props: JsonEditorProps): JSX.Element;
|
|
13
|
+
declare function JsonEditor(props: JsonEditorProps): React.JSX.Element;
|
|
14
14
|
declare namespace JsonEditor {
|
|
15
15
|
var tabWidth: number;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
type JsonEditorFieldProps = {
|
|
3
3
|
isDisabled: boolean;
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: (value: string) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare function JsonEditorField(props: JsonEditorFieldProps): JSX.Element;
|
|
7
|
+
export declare function JsonEditorField(props: JsonEditorFieldProps): React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
type JsonEditorToolbarProps = {
|
|
3
3
|
isUndoDisabled: boolean;
|
|
4
4
|
isRedoDisabled: boolean;
|
|
5
5
|
onRedo: () => void;
|
|
6
6
|
onUndo: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare function JsonEditorToolbar(props: JsonEditorToolbarProps): JSX.Element;
|
|
8
|
+
export declare function JsonEditorToolbar(props: JsonEditorToolbarProps): React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function JsonInvalidStatus(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare function JsonInvalidStatus(): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-json",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.25",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@codemirror/lang-json": "^6.0.0",
|
|
37
|
-
"@contentful/f36-components": "^4.0
|
|
38
|
-
"@contentful/f36-tokens": "^4.0.
|
|
39
|
-
"@contentful/field-editor-shared": "^1.
|
|
37
|
+
"@contentful/f36-components": "^4.70.0",
|
|
38
|
+
"@contentful/f36-tokens": "^4.0.5",
|
|
39
|
+
"@contentful/field-editor-shared": "^1.7.0",
|
|
40
40
|
"@types/react-codemirror": "1.0.11",
|
|
41
41
|
"@uiw/react-codemirror": "^4.11.4",
|
|
42
42
|
"emotion": "^10.0.17",
|
|
43
43
|
"lodash": "^4.17.15"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@contentful/field-editor-test-utils": "^1.5.
|
|
46
|
+
"@contentful/field-editor-test-utils": "^1.5.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=16.8.0"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"registry": "https://npm.pkg.github.com/"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d734036ff89da141dbb91ade0342fb7f82cfe167"
|
|
55
55
|
}
|