@contentful/field-editor-rich-text 2.3.4 → 2.3.7

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A userland implementation of useEvent RFC
3
+ *
4
+ * See: https://github.com/reactjs/rfcs/pull/220
5
+ */
6
+ export declare const useStableCallback: <T extends (...args: any[]) => any>(callback: T) => (...args: any[]) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "2.3.4",
3
+ "version": "2.3.7",
4
4
  "source": "./src/index.tsx",
5
5
  "main": "./dist/index.js",
6
6
  "module": "dist/field-editor-rich-text.esm.js",
@@ -29,7 +29,7 @@
29
29
  "@contentful/f36-components": "^4.0.33",
30
30
  "@contentful/f36-icons": "^4.1.1",
31
31
  "@contentful/f36-tokens": "^4.0.0",
32
- "@contentful/field-editor-reference": "^4.6.1",
32
+ "@contentful/field-editor-reference": "^4.6.3",
33
33
  "@contentful/field-editor-shared": "^1.1.3",
34
34
  "@contentful/rich-text-plain-text-renderer": "^15.12.1",
35
35
  "@contentful/rich-text-types": "^15.12.1",
@@ -72,5 +72,5 @@
72
72
  "@udecode/plate-test-utils": "^3.2.0",
73
73
  "react": ">=16.14.0"
74
74
  },
75
- "gitHead": "f6cbffeef683d5e988d4d74e69d503e9eaf6c711"
75
+ "gitHead": "25ee5c25634dc1e9f7eb3cd99a26ef68a03b8478"
76
76
  }
@@ -1,15 +0,0 @@
1
- export function FetchingWrappedAssetCard(props: any): JSX.Element;
2
- export namespace FetchingWrappedAssetCard {
3
- export namespace propTypes {
4
- export const sdk: PropTypes.Validator<object>;
5
- export const locale: PropTypes.Validator<string>;
6
- export const assetId: PropTypes.Validator<string>;
7
- export const isDisabled: PropTypes.Validator<boolean>;
8
- export const isSelected: PropTypes.Validator<boolean>;
9
- export const onRemove: PropTypes.Requireable<(...args: any[]) => any>;
10
- export const onEdit: PropTypes.Requireable<(...args: any[]) => any>;
11
- export const getAssetUrl: PropTypes.Requireable<(...args: any[]) => any>;
12
- export const onEntityFetchComplete: PropTypes.Requireable<(...args: any[]) => any>;
13
- }
14
- }
15
- import PropTypes from "prop-types";
@@ -1,15 +0,0 @@
1
- export function FetchingWrappedEntryCard(props: any): JSX.Element;
2
- export namespace FetchingWrappedEntryCard {
3
- export namespace propTypes {
4
- export const sdk: PropTypes.Validator<object>;
5
- export const entryId: PropTypes.Validator<string>;
6
- export const locale: PropTypes.Validator<string>;
7
- export const isDisabled: PropTypes.Validator<boolean>;
8
- export const isSelected: PropTypes.Validator<boolean>;
9
- export const onRemove: PropTypes.Requireable<(...args: any[]) => any>;
10
- export const onEdit: PropTypes.Requireable<(...args: any[]) => any>;
11
- export const getEntryUrl: PropTypes.Requireable<(...args: any[]) => any>;
12
- export const onEntityFetchComplete: PropTypes.Requireable<(...args: any[]) => any>;
13
- }
14
- }
15
- import PropTypes from "prop-types";