@contentful/field-editor-markdown 1.14.1 → 1.14.2-canary.1

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.
@@ -114,9 +114,6 @@ function newReferenceEditorFakeSdk(props) {
114
114
  },
115
115
  space: {
116
116
  ...space,
117
- getCachedContentTypes () {
118
- return localizeContentTypes(space.getCachedContentTypes());
119
- },
120
117
  getContentTypes () {
121
118
  return Promise.resolve(space.getContentTypes().then((response)=>{
122
119
  return {
@@ -168,7 +168,7 @@ const ZenModeModalDialog = (props)=>{
168
168
  const direction = props.sdk.locales.direction[props.locale] ?? 'ltr';
169
169
  return /*#__PURE__*/ _react.createElement(_f36components.Grid, {
170
170
  className: styles.root,
171
- "data-test-id": "zen-mode-markdown-editor"
171
+ testId: "zen-mode-markdown-editor"
172
172
  }, /*#__PURE__*/ _react.createElement(_f36components.Grid.Item, {
173
173
  className: styles.topSplit
174
174
  }, /*#__PURE__*/ _react.createElement(_MarkdownToolbar.MarkdownToolbar, {
@@ -104,9 +104,6 @@ export function newReferenceEditorFakeSdk(props) {
104
104
  },
105
105
  space: {
106
106
  ...space,
107
- getCachedContentTypes () {
108
- return localizeContentTypes(space.getCachedContentTypes());
109
- },
110
107
  getContentTypes () {
111
108
  return Promise.resolve(space.getContentTypes().then((response)=>{
112
109
  return {
@@ -104,7 +104,7 @@ export const ZenModeModalDialog = (props)=>{
104
104
  const direction = props.sdk.locales.direction[props.locale] ?? 'ltr';
105
105
  return /*#__PURE__*/ React.createElement(Grid, {
106
106
  className: styles.root,
107
- "data-test-id": "zen-mode-markdown-editor"
107
+ testId: "zen-mode-markdown-editor"
108
108
  }, /*#__PURE__*/ React.createElement(Grid.Item, {
109
109
  className: styles.topSplit
110
110
  }, /*#__PURE__*/ React.createElement(MarkdownToolbar, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-markdown",
3
- "version": "1.14.1",
3
+ "version": "1.14.2-canary.1+168bff6f",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@contentful/f36-components": "^5.4.1",
40
40
  "@contentful/f36-icons": "^5.4.1",
41
41
  "@contentful/f36-tokens": "^5.1.0",
42
- "@contentful/field-editor-shared": "^2.17.1",
42
+ "@contentful/field-editor-shared": "^2.17.2-canary.1+168bff6f",
43
43
  "@types/codemirror": "0.0.109",
44
44
  "codemirror": "^5.65.11",
45
45
  "emotion": "^10.0.17",
@@ -52,7 +52,7 @@
52
52
  "devDependencies": {
53
53
  "@babel/core": "^7.5.5",
54
54
  "@contentful/app-sdk": "^4.29.0",
55
- "@contentful/field-editor-test-utils": "^1.7.0",
55
+ "@contentful/field-editor-test-utils": "^1.7.1-canary.76+168bff6f",
56
56
  "@lingui/core": "5.3.0"
57
57
  },
58
58
  "peerDependencies": {
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "registry": "https://npm.pkg.github.com/"
65
65
  },
66
- "gitHead": "c8fbf95fbb880df05fd011b8892523c135c2a5fd"
66
+ "gitHead": "168bff6f172e483def0432b3095e8f0a2af37b1f"
67
67
  }