@contentful/field-editor-shared 1.6.1 → 1.6.3
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,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface CharCounterProps {
|
|
3
3
|
value?: string;
|
|
4
4
|
checkConstraint: (n: number) => boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare function CharCounter(props: CharCounterProps): JSX.Element;
|
|
6
|
+
export declare function CharCounter(props: CharCounterProps): React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ValidationType } from './types';
|
|
3
3
|
interface CharValidationProps {
|
|
4
4
|
constraints: ValidationType;
|
|
5
5
|
}
|
|
6
|
-
export declare function CharValidation(props: CharValidationProps): JSX.Element;
|
|
6
|
+
export declare function CharValidation(props: CharValidationProps): React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -4,7 +4,7 @@ export declare function open(componentRenderer: (params: {
|
|
|
4
4
|
onClose: Function;
|
|
5
5
|
isShown: boolean;
|
|
6
6
|
}) => any): Promise<unknown>;
|
|
7
|
-
export declare function openDialog<T>(options: OpenCustomWidgetOptions, Component: React.
|
|
7
|
+
export declare function openDialog<T>(options: OpenCustomWidgetOptions, Component: React.FC<{
|
|
8
8
|
onClose: (result: T) => void;
|
|
9
9
|
}>): Promise<unknown>;
|
|
10
10
|
declare const _default: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function PredefinedValuesError(): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare function PredefinedValuesError(): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@contentful/app-sdk": "^4.29.0",
|
|
39
|
-
"@contentful/field-editor-test-utils": "^1.5.
|
|
39
|
+
"@contentful/field-editor-test-utils": "^1.5.2"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@contentful/f36-note": "^4.
|
|
43
|
-
"@contentful/f36-tokens": "^4.0.
|
|
42
|
+
"@contentful/f36-note": "^4.70.0",
|
|
43
|
+
"@contentful/f36-tokens": "^4.0.5",
|
|
44
44
|
"emotion": "^10.0.17",
|
|
45
45
|
"fast-deep-equal": "^3.1.3",
|
|
46
46
|
"lodash": "^4.17.15"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"registry": "https://npm.pkg.github.com/"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d717a9230fac05999c0f4804087740b5666efb4a"
|
|
56
56
|
}
|