@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.
- package/dist/CallToAction/javascript.vue +1 -4
- package/dist/CallToAction/typescript.vue +1 -4
- package/dist/CustomerLogos/javascript.vue +1 -3
- package/dist/CustomerLogos/typescript.vue +1 -3
- package/dist/Hero/javascript.vue +1 -4
- package/dist/Hero/mocks.json +4 -12
- package/dist/Hero/model.json +4 -16
- package/dist/Hero/typescript.vue +1 -4
- package/dist/hooks/snippet-read.cjs +6 -3
- package/dist/hooks/snippet-read.cjs.map +1 -1
- package/dist/hooks/snippet-read.js +6 -3
- package/dist/hooks/snippet-read.js.map +1 -1
- package/dist/sliceTemplates/CallToAction/index.cjs +8 -33
- package/dist/sliceTemplates/CallToAction/index.cjs.map +1 -1
- package/dist/sliceTemplates/CallToAction/index.js +8 -33
- package/dist/sliceTemplates/CallToAction/index.js.map +1 -1
- package/dist/sliceTemplates/CustomerLogos/index.cjs +4 -14
- package/dist/sliceTemplates/CustomerLogos/index.cjs.map +1 -1
- package/dist/sliceTemplates/CustomerLogos/index.js +4 -14
- package/dist/sliceTemplates/CustomerLogos/index.js.map +1 -1
- package/dist/sliceTemplates/Hero/index.cjs +8 -28
- package/dist/sliceTemplates/Hero/index.cjs.map +1 -1
- package/dist/sliceTemplates/Hero/index.js +8 -28
- package/dist/sliceTemplates/Hero/index.js.map +1 -1
- package/package.json +4 -4
- package/src/hooks/snippet-read.ts +7 -3
- package/src/sliceTemplates/CallToAction/index.ts +4 -29
- package/src/sliceTemplates/CustomerLogos/index.ts +2 -12
- package/src/sliceTemplates/Hero/index.ts +4 -24
|
@@ -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
|
},
|