@contentful/field-editor-slug 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,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
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
|
*/
|
|
@@ -16,7 +16,7 @@ export interface SlugEditorProps {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
export declare function SlugEditor(props: SlugEditorProps):
|
|
19
|
+
export declare function SlugEditor(props: SlugEditorProps): JSX.Element;
|
|
20
20
|
export declare namespace SlugEditor {
|
|
21
21
|
var defaultProps: {
|
|
22
22
|
isInitiallyDisabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
interface SlugEditorFieldProps {
|
|
3
3
|
hasError: boolean;
|
|
4
4
|
isOptionalLocaleWithFallback: boolean;
|
|
@@ -13,6 +13,6 @@ interface SlugEditorFieldProps {
|
|
|
13
13
|
export declare function SlugEditorFieldStatic(props: SlugEditorFieldProps & {
|
|
14
14
|
onChange?: Function;
|
|
15
15
|
onBlur?: Function;
|
|
16
|
-
}):
|
|
17
|
-
export declare function SlugEditorField(props: SlugEditorFieldProps):
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
export declare function SlugEditorField(props: SlugEditorFieldProps): JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -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.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
|
"@types/speakingurl": "^13.0.2",
|
|
43
43
|
"emotion": "^10.0.17",
|
|
44
44
|
"lodash": "^4.17.15",
|
|
@@ -46,12 +46,15 @@
|
|
|
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.5"
|
|
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
|
-
"
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"registry": "https://npm.pkg.github.com/"
|
|
58
|
+
},
|
|
59
|
+
"gitHead": "b1f62d6b934520b6d4dc328921dd500381d1e22c"
|
|
57
60
|
}
|