@slicemachine/adapter-nuxt 0.3.50-beta.1 → 0.3.50-beta.3

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.
@@ -65,17 +65,13 @@ export const mocks: SharedSliceContent[] = [
65
65
  __TYPE__: "ImageContent",
66
66
  thumbnails: {},
67
67
  },
68
- callToActionLabel: {
69
- __TYPE__: "FieldContent",
70
- type: "Text",
71
- value: "Call to Action",
72
- },
73
68
  callToActionLink: {
74
69
  __TYPE__: "LinkContent",
75
70
  value: {
76
71
  __TYPE__: "ExternalLink",
77
72
  url: "https://prismic.io",
78
73
  target: "",
74
+ text: "Call to Action",
79
75
  },
80
76
  },
81
77
  },
@@ -147,17 +143,13 @@ export const mocks: SharedSliceContent[] = [
147
143
  __TYPE__: "ImageContent",
148
144
  thumbnails: {},
149
145
  },
150
- callToActionLabel: {
151
- __TYPE__: "FieldContent",
152
- type: "Text",
153
- value: "Call to Action",
154
- },
155
146
  callToActionLink: {
156
147
  __TYPE__: "LinkContent",
157
148
  value: {
158
149
  __TYPE__: "ExternalLink",
159
150
  url: "https://prismic.io",
160
151
  target: "",
152
+ text: "Call to Action",
161
153
  },
162
154
  },
163
155
  },
@@ -214,19 +206,13 @@ export const model: SharedSlice = {
214
206
  thumbnails: [],
215
207
  },
216
208
  },
217
- callToActionLabel: {
218
- type: "Text",
219
- config: {
220
- label: "callToActionLabel",
221
- placeholder: "",
222
- },
223
- },
224
209
  callToActionLink: {
225
210
  type: "Link",
226
211
  config: {
227
212
  label: "callToActionLink",
228
213
  placeholder: "",
229
214
  select: null,
215
+ allowText: true,
230
216
  },
231
217
  },
232
218
  },
@@ -275,19 +261,13 @@ export const model: SharedSlice = {
275
261
  thumbnails: [],
276
262
  },
277
263
  },
278
- callToActionLabel: {
279
- type: "Text",
280
- config: {
281
- label: "callToActionLabel",
282
- placeholder: "",
283
- },
284
- },
285
264
  callToActionLink: {
286
265
  type: "Link",
287
266
  config: {
288
267
  label: "callToActionLink",
289
268
  placeholder: "",
290
269
  select: null,
270
+ allowText: true,
291
271
  },
292
272
  },
293
273
  },