@contentful/field-editor-rich-text 4.0.1 → 4.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.
@@ -73,7 +73,8 @@ const InternalAssetCard = _react.memo((props)=>_react.createElement(_fieldeditor
73
73
  useLocalizedEntityStatus: props.sdk.parameters.instance.useLocalizedEntityStatus,
74
74
  isLocalized: !!('localized' in props.sdk.field && props.sdk.field.localized),
75
75
  localesStatusMap: props.localesStatusMap,
76
- activeLocales: props.sdk.parameters.instance.activeLocales
76
+ activeLocales: props.sdk.parameters.instance.activeLocales,
77
+ shouldRetainLocaleHistory: props.sdk.parameters.instance.shouldRetainLocaleHistory
77
78
  }), _fastdeepequal.default);
78
79
  InternalAssetCard.displayName = 'InternalAssetCard';
79
80
  function FetchingWrappedAssetCard(props) {
@@ -78,7 +78,8 @@ const InternalEntryCard = _react.memo((props)=>{
78
78
  useLocalizedEntityStatus: sdk.parameters.instance.useLocalizedEntityStatus,
79
79
  isLocalized: !!('localized' in props.sdk.field && props.sdk.field.localized),
80
80
  localesStatusMap: props.localesStatusMap,
81
- activeLocales: props.sdk.parameters.instance.activeLocales
81
+ activeLocales: props.sdk.parameters.instance.activeLocales,
82
+ shouldRetainLocaleHistory: props.sdk.parameters.instance.shouldRetainLocaleHistory
82
83
  });
83
84
  }, _fastdeepequal.default);
84
85
  InternalEntryCard.displayName = 'ReferenceCard';
@@ -17,7 +17,8 @@ const InternalAssetCard = React.memo((props)=>React.createElement(WrappedAssetCa
17
17
  useLocalizedEntityStatus: props.sdk.parameters.instance.useLocalizedEntityStatus,
18
18
  isLocalized: !!('localized' in props.sdk.field && props.sdk.field.localized),
19
19
  localesStatusMap: props.localesStatusMap,
20
- activeLocales: props.sdk.parameters.instance.activeLocales
20
+ activeLocales: props.sdk.parameters.instance.activeLocales,
21
+ shouldRetainLocaleHistory: props.sdk.parameters.instance.shouldRetainLocaleHistory
21
22
  }), areEqual);
22
23
  InternalAssetCard.displayName = 'InternalAssetCard';
23
24
  export function FetchingWrappedAssetCard(props) {
@@ -22,7 +22,8 @@ const InternalEntryCard = React.memo((props)=>{
22
22
  useLocalizedEntityStatus: sdk.parameters.instance.useLocalizedEntityStatus,
23
23
  isLocalized: !!('localized' in props.sdk.field && props.sdk.field.localized),
24
24
  localesStatusMap: props.localesStatusMap,
25
- activeLocales: props.sdk.parameters.instance.activeLocales
25
+ activeLocales: props.sdk.parameters.instance.activeLocales,
26
+ shouldRetainLocaleHistory: props.sdk.parameters.instance.shouldRetainLocaleHistory
26
27
  });
27
28
  }, areEqual);
28
29
  InternalEntryCard.displayName = 'ReferenceCard';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "source": "./src/index.tsx",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -44,8 +44,8 @@
44
44
  "@contentful/f36-icons": "^4.29.0",
45
45
  "@contentful/f36-tokens": "^4.0.5",
46
46
  "@contentful/f36-utils": "^4.24.3",
47
- "@contentful/field-editor-reference": "^6.1.0",
48
- "@contentful/field-editor-shared": "^2.1.0",
47
+ "@contentful/field-editor-reference": "^6.2.0",
48
+ "@contentful/field-editor-shared": "^2.2.0",
49
49
  "@contentful/rich-text-plain-text-renderer": "^17.0.0",
50
50
  "@contentful/rich-text-types": "^17.0.0",
51
51
  "@popperjs/core": "^2.11.5",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "registry": "https://npm.pkg.github.com/"
88
88
  },
89
- "gitHead": "7eb324a42380b43ee842dfb521f7bc7db0d2eba4"
89
+ "gitHead": "69ca4f654ac6d3a4435dd5ce33e771f8537e9d3d"
90
90
  }