@contentful/field-editor-slug 1.4.2 → 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
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import { FieldAppSDK, FieldAPI } from '@contentful/app-sdk';
3
3
  export interface SlugEditorProps {
4
4
  /**
@@ -16,7 +16,7 @@ export interface SlugEditorProps {
16
16
  };
17
17
  };
18
18
  }
19
- export declare function SlugEditor(props: SlugEditorProps): React.JSX.Element;
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
- import * as React from 'react';
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
- }): React.JSX.Element;
17
- export declare function SlugEditorField(props: SlugEditorFieldProps): React.JSX.Element;
16
+ }): JSX.Element;
17
+ export declare function SlugEditorField(props: SlugEditorFieldProps): JSX.Element;
18
18
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-slug",
3
- "version": "1.4.2",
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.2",
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",
@@ -47,11 +47,14 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@contentful/app-sdk": "^4.17.1",
50
- "@contentful/field-editor-test-utils": "^1.4.3"
50
+ "@contentful/field-editor-test-utils": "^1.4.5"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@contentful/app-sdk": "^4.17.1",
54
54
  "react": ">=16.8.0"
55
55
  },
56
- "gitHead": "ef0adb263ad287e6f78888a05727d0f2f4f8968d"
56
+ "publishConfig": {
57
+ "registry": "https://npm.pkg.github.com/"
58
+ },
59
+ "gitHead": "b1f62d6b934520b6d4dc328921dd500381d1e22c"
57
60
  }