@contentful/field-editor-tags 1.4.1 → 1.4.4
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
|
+
/// <reference types="react" />
|
|
2
2
|
import { Constraint, ConstraintsType } from './types';
|
|
3
3
|
export interface TagsEditorProps {
|
|
4
4
|
items: string[];
|
|
@@ -8,4 +8,4 @@ export interface TagsEditorProps {
|
|
|
8
8
|
constraints?: Constraint;
|
|
9
9
|
onUpdate: (items: string[]) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function TagsEditor(props: TagsEditorProps):
|
|
11
|
+
export declare function TagsEditor(props: TagsEditorProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { Constraint, ConstraintsType } from './types';
|
|
3
3
|
interface TagEditorConstraintsProps {
|
|
4
4
|
constraintsType: ConstraintsType;
|
|
5
5
|
constraints: Constraint;
|
|
6
6
|
}
|
|
7
|
-
export declare function TagsEditorConstraints(props: TagEditorConstraintsProps):
|
|
7
|
+
export declare function TagsEditorConstraints(props: TagEditorConstraintsProps): JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldAPI } from '@contentful/field-editor-shared';
|
|
3
3
|
export interface TagsEditorContainerProps {
|
|
4
4
|
/**
|
|
@@ -10,7 +10,7 @@ export interface TagsEditorContainerProps {
|
|
|
10
10
|
*/
|
|
11
11
|
field: FieldAPI;
|
|
12
12
|
}
|
|
13
|
-
export declare function TagsEditorContainer(props: TagsEditorContainerProps):
|
|
13
|
+
export declare function TagsEditorContainer(props: TagsEditorContainerProps): JSX.Element;
|
|
14
14
|
export declare namespace TagsEditorContainer {
|
|
15
15
|
var defaultProps: {
|
|
16
16
|
isInitiallyDisabled: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-tags",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@contentful/f36-components": "^4.0.27",
|
|
39
39
|
"@contentful/f36-icons": "^4.1.0",
|
|
40
40
|
"@contentful/f36-tokens": "^4.0.0",
|
|
41
|
-
"@contentful/field-editor-shared": "^1.4.
|
|
41
|
+
"@contentful/field-editor-shared": "^1.4.4",
|
|
42
42
|
"@dnd-kit/core": "^6.0.8",
|
|
43
43
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
44
44
|
"@dnd-kit/sortable": "^7.0.2",
|
|
@@ -46,10 +46,13 @@
|
|
|
46
46
|
"lodash": "^4.17.15"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@contentful/field-editor-test-utils": "^1.4.
|
|
49
|
+
"@contentful/field-editor-test-utils": "^1.4.5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.8.0"
|
|
53
53
|
},
|
|
54
|
-
"
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"registry": "https://npm.pkg.github.com/"
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "b1f62d6b934520b6d4dc328921dd500381d1e22c"
|
|
55
58
|
}
|