@contentful/field-editor-reference 6.0.0 → 6.1.0

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.
@@ -20,7 +20,7 @@ export interface WrappedAssetCardProps {
20
20
  useLocalizedEntityStatus?: boolean;
21
21
  isLocalized?: boolean;
22
22
  localesStatusMap?: LocalePublishStatusMap;
23
- activeLocales?: LocaleProps[];
23
+ activeLocales?: Pick<LocaleProps, 'code'>[];
24
24
  }
25
25
  export declare const WrappedAssetCard: {
26
26
  (props: WrappedAssetCardProps): React.JSX.Element;
@@ -15,6 +15,6 @@ export interface WrappedAssetLinkProps {
15
15
  renderDragHandle?: RenderDragFn;
16
16
  useLocalizedEntityStatus?: boolean;
17
17
  localesStatusMap?: LocalePublishStatusMap;
18
- activeLocales?: LocaleProps[];
18
+ activeLocales?: Pick<LocaleProps, 'code'>[];
19
19
  }
20
20
  export declare const WrappedAssetLink: (props: WrappedAssetLinkProps) => React.JSX.Element;
@@ -31,5 +31,5 @@ export type CustomEntityCardProps = {
31
31
  isLocalized?: boolean;
32
32
  useLocalizedEntityStatus?: boolean;
33
33
  localesStatusMap?: LocalePublishStatusMap;
34
- activeLocales?: LocaleProps[];
34
+ activeLocales?: Pick<LocaleProps, 'code'>[];
35
35
  };
@@ -8,7 +8,7 @@ type EntityStatusBadgeProps = Omit<UseScheduledActionsProps, 'entityId'> & {
8
8
  entity: EntryProps | AssetProps;
9
9
  useLocalizedEntityStatus?: boolean;
10
10
  localesStatusMap?: LocalePublishStatusMap;
11
- activeLocales?: LocaleProps[];
11
+ activeLocales?: Pick<LocaleProps, 'code'>[];
12
12
  };
13
13
  export declare function EntityStatusBadge({ entityType, getEntityScheduledActions, status, useLocalizedEntityStatus, localesStatusMap, activeLocales, entity, ...props }: EntityStatusBadgeProps): React.JSX.Element;
14
14
  export {};
@@ -28,7 +28,7 @@ export interface WrappedEntryCardProps {
28
28
  isLocalized?: boolean;
29
29
  useLocalizedEntityStatus?: boolean;
30
30
  localesStatusMap?: LocalePublishStatusMap;
31
- activeLocales?: LocaleProps[];
31
+ activeLocales?: Pick<LocaleProps, 'code'>[];
32
32
  }
33
33
  export declare function WrappedEntryCard(props: WrappedEntryCardProps): React.JSX.Element;
34
34
  export declare namespace WrappedEntryCard {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
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.70.0",
39
39
  "@contentful/f36-icons": "^4.29.0",
40
40
  "@contentful/f36-tokens": "^4.0.5",
41
- "@contentful/field-editor-shared": "^2.0.0",
41
+ "@contentful/field-editor-shared": "^2.1.0",
42
42
  "@contentful/mimetype": "^2.2.29",
43
43
  "@dnd-kit/core": "^6.0.8",
44
44
  "@dnd-kit/modifiers": "^7.0.0",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "registry": "https://npm.pkg.github.com/"
66
66
  },
67
- "gitHead": "a06fd0066556b1f5ab6649ade3a75441e4792fd3"
67
+ "gitHead": "7eb324a42380b43ee842dfb521f7bc7db0d2eba4"
68
68
  }