@contentful/field-editor-checkbox 1.4.0 → 1.4.2

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.
@@ -56,7 +56,8 @@ describe('CheckboxEditor', ()=>{
56
56
  return {
57
57
  ...mock,
58
58
  items: {
59
- type: '',
59
+ type: 'Link',
60
+ linkType: 'Entry',
60
61
  validations: []
61
62
  }
62
63
  };
@@ -79,7 +80,8 @@ describe('CheckboxEditor', ()=>{
79
80
  return {
80
81
  ...mock,
81
82
  items: {
82
- type: '',
83
+ type: 'Link',
84
+ linkType: 'Entry',
83
85
  validations: [
84
86
  {
85
87
  in: predefined
@@ -111,7 +113,8 @@ describe('CheckboxEditor', ()=>{
111
113
  return {
112
114
  ...mock,
113
115
  items: {
114
- type: '',
116
+ type: 'Link',
117
+ linkType: 'Entry',
115
118
  validations: [
116
119
  {
117
120
  in: predefined
@@ -161,7 +164,8 @@ describe('CheckboxEditor', ()=>{
161
164
  return {
162
165
  ...mock,
163
166
  items: {
164
- type: '',
167
+ type: 'Link',
168
+ linkType: 'Entry',
165
169
  validations: [
166
170
  {
167
171
  in: predefined
@@ -193,7 +197,8 @@ describe('CheckboxEditor', ()=>{
193
197
  return {
194
198
  ...mock,
195
199
  items: {
196
- type: '',
200
+ type: 'Link',
201
+ linkType: 'Entry',
197
202
  validations: [
198
203
  {
199
204
  in: predefined
@@ -13,7 +13,8 @@ describe('CheckboxEditor', ()=>{
13
13
  return {
14
14
  ...mock,
15
15
  items: {
16
- type: '',
16
+ type: 'Link',
17
+ linkType: 'Entry',
17
18
  validations: []
18
19
  }
19
20
  };
@@ -36,7 +37,8 @@ describe('CheckboxEditor', ()=>{
36
37
  return {
37
38
  ...mock,
38
39
  items: {
39
- type: '',
40
+ type: 'Link',
41
+ linkType: 'Entry',
40
42
  validations: [
41
43
  {
42
44
  in: predefined
@@ -68,7 +70,8 @@ describe('CheckboxEditor', ()=>{
68
70
  return {
69
71
  ...mock,
70
72
  items: {
71
- type: '',
73
+ type: 'Link',
74
+ linkType: 'Entry',
72
75
  validations: [
73
76
  {
74
77
  in: predefined
@@ -118,7 +121,8 @@ describe('CheckboxEditor', ()=>{
118
121
  return {
119
122
  ...mock,
120
123
  items: {
121
- type: '',
124
+ type: 'Link',
125
+ linkType: 'Entry',
122
126
  validations: [
123
127
  {
124
128
  in: predefined
@@ -150,7 +154,8 @@ describe('CheckboxEditor', ()=>{
150
154
  return {
151
155
  ...mock,
152
156
  items: {
153
- type: '',
157
+ type: 'Link',
158
+ linkType: 'Entry',
154
159
  validations: [
155
160
  {
156
161
  in: predefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-checkbox",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -37,15 +37,15 @@
37
37
  "dependencies": {
38
38
  "@contentful/f36-components": "^4.3.23",
39
39
  "@contentful/f36-tokens": "^4.0.0",
40
- "@contentful/field-editor-shared": "^1.4.0",
40
+ "@contentful/field-editor-shared": "^1.4.2",
41
41
  "emotion": "^10.0.17",
42
42
  "lodash": "^4.17.15"
43
43
  },
44
44
  "devDependencies": {
45
- "@contentful/field-editor-test-utils": "^1.4.1"
45
+ "@contentful/field-editor-test-utils": "^1.4.3"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=16.8.0"
49
49
  },
50
- "gitHead": "2db95226af0417c42aae8d1be85796fc8774e283"
50
+ "gitHead": "ef0adb263ad287e6f78888a05727d0f2f4f8968d"
51
51
  }