@contentful/field-editor-slug 1.4.0 → 1.4.2
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,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FieldAppSDK, FieldAPI } from '@contentful/app-sdk';
|
|
3
3
|
export interface SlugEditorProps {
|
|
4
4
|
/**
|
|
5
5
|
* is the field disabled initially
|
|
6
6
|
*/
|
|
7
7
|
isInitiallyDisabled: boolean;
|
|
8
|
-
baseSdk:
|
|
8
|
+
baseSdk: FieldAppSDK;
|
|
9
9
|
/**
|
|
10
10
|
* sdk.field
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FieldAPI,
|
|
2
|
+
import { FieldAPI, FieldAppSDK } from '@contentful/app-sdk';
|
|
3
3
|
type Nullable = null | undefined;
|
|
4
4
|
interface TrackingFieldConnectorState<ValueType> {
|
|
5
5
|
titleValue: ValueType | Nullable;
|
|
@@ -7,7 +7,7 @@ interface TrackingFieldConnectorState<ValueType> {
|
|
|
7
7
|
isSame: boolean;
|
|
8
8
|
}
|
|
9
9
|
interface TrackingFieldConnectorProps<ValueType> {
|
|
10
|
-
sdk:
|
|
10
|
+
sdk: FieldAppSDK;
|
|
11
11
|
field: FieldAPI;
|
|
12
12
|
defaultLocale: string;
|
|
13
13
|
trackingFieldId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-slug",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
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.2",
|
|
42
42
|
"@types/speakingurl": "^13.0.2",
|
|
43
43
|
"emotion": "^10.0.17",
|
|
44
44
|
"lodash": "^4.17.15",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"use-debounce": "^7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@contentful/app-sdk": "^4.
|
|
50
|
-
"@contentful/field-editor-test-utils": "^1.4.
|
|
49
|
+
"@contentful/app-sdk": "^4.17.1",
|
|
50
|
+
"@contentful/field-editor-test-utils": "^1.4.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@contentful/app-sdk": "^4.
|
|
53
|
+
"@contentful/app-sdk": "^4.17.1",
|
|
54
54
|
"react": ">=16.8.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "ef0adb263ad287e6f78888a05727d0f2f4f8968d"
|
|
57
57
|
}
|