@slicemachine/adapter-nuxt 0.3.18-dev-slice-templates-svelte-nuxt.4 → 0.3.18-dev-next-release.9
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/Hero/javascript.vue +75 -43
- package/dist/Hero/typescript.vue +75 -43
- package/dist/hooks/project-init.cjs +1 -1
- package/dist/hooks/project-init.cjs.map +1 -1
- package/dist/hooks/project-init.js +1 -1
- package/dist/hooks/project-init.js.map +1 -1
- package/dist/plugin.cjs +1 -4
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -4
- package/dist/plugin.js.map +1 -1
- package/package.json +3 -3
- package/src/hooks/project-init.ts +1 -1
- package/src/plugin.ts +1 -4
- package/dist/AlternateGrid/javascript.vue +0 -228
- package/dist/AlternateGrid/screenshot-default.png +0 -0
- package/dist/AlternateGrid/screenshot-imageRight.png +0 -0
- package/dist/AlternateGrid/typescript.vue +0 -235
- package/dist/CallToAction/javascript.vue +0 -127
- package/dist/CallToAction/screenshot-alignLeft.png +0 -0
- package/dist/CallToAction/screenshot-default.png +0 -0
- package/dist/CallToAction/typescript.vue +0 -134
- package/dist/CustomerLogos/javascript.vue +0 -115
- package/dist/CustomerLogos/screenshot-default.png +0 -0
- package/dist/CustomerLogos/typescript.vue +0 -122
- package/dist/sliceTemplates/AlternateGrid/index.cjs +0 -436
- package/dist/sliceTemplates/AlternateGrid/index.cjs.map +0 -1
- package/dist/sliceTemplates/AlternateGrid/index.d.ts +0 -8
- package/dist/sliceTemplates/AlternateGrid/index.js +0 -436
- package/dist/sliceTemplates/AlternateGrid/index.js.map +0 -1
- package/dist/sliceTemplates/CallToAction/index.cjs +0 -264
- package/dist/sliceTemplates/CallToAction/index.cjs.map +0 -1
- package/dist/sliceTemplates/CallToAction/index.d.ts +0 -8
- package/dist/sliceTemplates/CallToAction/index.js +0 -264
- package/dist/sliceTemplates/CallToAction/index.js.map +0 -1
- package/dist/sliceTemplates/CustomerLogos/index.cjs +0 -314
- package/dist/sliceTemplates/CustomerLogos/index.cjs.map +0 -1
- package/dist/sliceTemplates/CustomerLogos/index.d.ts +0 -7
- package/dist/sliceTemplates/CustomerLogos/index.js +0 -314
- package/dist/sliceTemplates/CustomerLogos/index.js.map +0 -1
- package/src/sliceTemplates/AlternateGrid/index.ts +0 -441
- package/src/sliceTemplates/CallToAction/index.ts +0 -265
- package/src/sliceTemplates/CustomerLogos/index.ts +0 -313
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
import type { SharedSlice } from "@prismicio/types-internal/lib/customtypes";
|
|
2
|
-
import { SharedSliceContent } from "@prismicio/types-internal/lib/content";
|
|
3
|
-
|
|
4
|
-
export const screenshotPaths = {
|
|
5
|
-
default: "CustomerLogos/screenshot-default.png",
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const mocks: SharedSliceContent[] = [
|
|
9
|
-
{
|
|
10
|
-
__TYPE__: "SharedSliceContent",
|
|
11
|
-
variation: "default",
|
|
12
|
-
primary: {
|
|
13
|
-
callToActionLabel: {
|
|
14
|
-
__TYPE__: "FieldContent",
|
|
15
|
-
type: "Text",
|
|
16
|
-
value: "View customer stories",
|
|
17
|
-
},
|
|
18
|
-
callToActionLink: {
|
|
19
|
-
__TYPE__: "LinkContent",
|
|
20
|
-
value: {
|
|
21
|
-
__TYPE__: "ExternalLink",
|
|
22
|
-
url: "https://prismic.io",
|
|
23
|
-
target: "_blank",
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
eyebrowHeadline: {
|
|
27
|
-
__TYPE__: "StructuredTextContent",
|
|
28
|
-
value: [
|
|
29
|
-
{
|
|
30
|
-
type: "heading2",
|
|
31
|
-
content: {
|
|
32
|
-
text: "Trusted by",
|
|
33
|
-
spans: [],
|
|
34
|
-
},
|
|
35
|
-
direction: "ltr",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
items: [
|
|
41
|
-
{
|
|
42
|
-
__TYPE__: "GroupItemContent",
|
|
43
|
-
value: [
|
|
44
|
-
[
|
|
45
|
-
"image",
|
|
46
|
-
{
|
|
47
|
-
origin: {
|
|
48
|
-
id: "main",
|
|
49
|
-
url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
|
|
50
|
-
width: 2545,
|
|
51
|
-
height: 2545,
|
|
52
|
-
},
|
|
53
|
-
url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
|
|
54
|
-
width: 2545,
|
|
55
|
-
height: 2545,
|
|
56
|
-
edit: {
|
|
57
|
-
zoom: 1,
|
|
58
|
-
crop: {
|
|
59
|
-
x: 0,
|
|
60
|
-
y: 0,
|
|
61
|
-
},
|
|
62
|
-
background: "transparent",
|
|
63
|
-
},
|
|
64
|
-
credits: null,
|
|
65
|
-
alt: "Customer Logo",
|
|
66
|
-
__TYPE__: "ImageContent",
|
|
67
|
-
thumbnails: {},
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
[
|
|
71
|
-
"link",
|
|
72
|
-
{
|
|
73
|
-
__TYPE__: "LinkContent",
|
|
74
|
-
value: {
|
|
75
|
-
__TYPE__: "ExternalLink",
|
|
76
|
-
url: "http://twitter.com",
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
__TYPE__: "GroupItemContent",
|
|
84
|
-
value: [
|
|
85
|
-
[
|
|
86
|
-
"image",
|
|
87
|
-
{
|
|
88
|
-
url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
|
|
89
|
-
origin: {
|
|
90
|
-
id: "xnRg3xDcNnE",
|
|
91
|
-
url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
|
|
92
|
-
width: 7173,
|
|
93
|
-
height: 10041,
|
|
94
|
-
},
|
|
95
|
-
width: 7173,
|
|
96
|
-
height: 10041,
|
|
97
|
-
edit: {
|
|
98
|
-
background: "transparent",
|
|
99
|
-
zoom: 1,
|
|
100
|
-
crop: {
|
|
101
|
-
x: 0,
|
|
102
|
-
y: 0,
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
credits: null,
|
|
106
|
-
alt: "Customer Logo",
|
|
107
|
-
__TYPE__: "ImageContent",
|
|
108
|
-
thumbnails: {},
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
[
|
|
112
|
-
"link",
|
|
113
|
-
{
|
|
114
|
-
__TYPE__: "LinkContent",
|
|
115
|
-
value: {
|
|
116
|
-
__TYPE__: "ExternalLink",
|
|
117
|
-
url: "https://prismic.io",
|
|
118
|
-
target: "_blank",
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
__TYPE__: "GroupItemContent",
|
|
126
|
-
value: [
|
|
127
|
-
[
|
|
128
|
-
"image",
|
|
129
|
-
{
|
|
130
|
-
url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
|
|
131
|
-
origin: {
|
|
132
|
-
id: "U1iYwZ8Dx7k",
|
|
133
|
-
url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
|
|
134
|
-
width: 3337,
|
|
135
|
-
height: 4171,
|
|
136
|
-
},
|
|
137
|
-
width: 3337,
|
|
138
|
-
height: 4171,
|
|
139
|
-
edit: {
|
|
140
|
-
background: "transparent",
|
|
141
|
-
zoom: 1,
|
|
142
|
-
crop: {
|
|
143
|
-
x: 0,
|
|
144
|
-
y: 0,
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
credits: null,
|
|
148
|
-
alt: "Customer Logo",
|
|
149
|
-
__TYPE__: "ImageContent",
|
|
150
|
-
thumbnails: {},
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
[
|
|
154
|
-
"link",
|
|
155
|
-
{
|
|
156
|
-
__TYPE__: "LinkContent",
|
|
157
|
-
value: {
|
|
158
|
-
__TYPE__: "ExternalLink",
|
|
159
|
-
url: "https://prismic.io",
|
|
160
|
-
target: "",
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
],
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
__TYPE__: "GroupItemContent",
|
|
168
|
-
value: [
|
|
169
|
-
[
|
|
170
|
-
"image",
|
|
171
|
-
{
|
|
172
|
-
url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
|
|
173
|
-
origin: {
|
|
174
|
-
id: "nibgG33H0F8",
|
|
175
|
-
url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
|
|
176
|
-
width: 4000,
|
|
177
|
-
height: 6000,
|
|
178
|
-
},
|
|
179
|
-
width: 4000,
|
|
180
|
-
height: 6000,
|
|
181
|
-
edit: {
|
|
182
|
-
background: "transparent",
|
|
183
|
-
zoom: 1,
|
|
184
|
-
crop: {
|
|
185
|
-
x: 0,
|
|
186
|
-
y: 0,
|
|
187
|
-
},
|
|
188
|
-
},
|
|
189
|
-
credits: null,
|
|
190
|
-
alt: "Customer Logo",
|
|
191
|
-
__TYPE__: "ImageContent",
|
|
192
|
-
thumbnails: {},
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
[
|
|
196
|
-
"link",
|
|
197
|
-
{
|
|
198
|
-
__TYPE__: "LinkContent",
|
|
199
|
-
value: {
|
|
200
|
-
__TYPE__: "ExternalLink",
|
|
201
|
-
url: "https://prismic.io",
|
|
202
|
-
target: "",
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
],
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
__TYPE__: "GroupItemContent",
|
|
210
|
-
value: [
|
|
211
|
-
[
|
|
212
|
-
"image",
|
|
213
|
-
{
|
|
214
|
-
url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
|
|
215
|
-
origin: {
|
|
216
|
-
id: "nAOZCYcLND8",
|
|
217
|
-
url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
|
|
218
|
-
width: 2749,
|
|
219
|
-
height: 4124,
|
|
220
|
-
},
|
|
221
|
-
width: 2749,
|
|
222
|
-
height: 4124,
|
|
223
|
-
edit: {
|
|
224
|
-
background: "transparent",
|
|
225
|
-
zoom: 1,
|
|
226
|
-
crop: {
|
|
227
|
-
x: 0,
|
|
228
|
-
y: 0,
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
credits: null,
|
|
232
|
-
alt: "Customer Logo",
|
|
233
|
-
__TYPE__: "ImageContent",
|
|
234
|
-
thumbnails: {},
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
[
|
|
238
|
-
"link",
|
|
239
|
-
{
|
|
240
|
-
__TYPE__: "LinkContent",
|
|
241
|
-
value: {
|
|
242
|
-
__TYPE__: "ExternalLink",
|
|
243
|
-
url: "https://prismic.io",
|
|
244
|
-
target: "",
|
|
245
|
-
},
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
},
|
|
252
|
-
];
|
|
253
|
-
|
|
254
|
-
export const model: SharedSlice = {
|
|
255
|
-
id: "customer_logos",
|
|
256
|
-
type: "SharedSlice",
|
|
257
|
-
name: "CustomerLogos",
|
|
258
|
-
description: "CustomerLogos",
|
|
259
|
-
variations: [
|
|
260
|
-
{
|
|
261
|
-
id: "default",
|
|
262
|
-
name: "Default",
|
|
263
|
-
docURL: "...",
|
|
264
|
-
version: "initial",
|
|
265
|
-
description: "Default",
|
|
266
|
-
imageUrl: "",
|
|
267
|
-
primary: {
|
|
268
|
-
eyebrowHeadline: {
|
|
269
|
-
type: "StructuredText",
|
|
270
|
-
config: {
|
|
271
|
-
label: "eyebrowHeadline",
|
|
272
|
-
placeholder: "",
|
|
273
|
-
allowTargetBlank: true,
|
|
274
|
-
single: "strong,em,rtl,heading2",
|
|
275
|
-
},
|
|
276
|
-
},
|
|
277
|
-
callToActionLabel: {
|
|
278
|
-
type: "Text",
|
|
279
|
-
config: {
|
|
280
|
-
label: "callToActionLabel",
|
|
281
|
-
placeholder: "",
|
|
282
|
-
},
|
|
283
|
-
},
|
|
284
|
-
callToActionLink: {
|
|
285
|
-
type: "Link",
|
|
286
|
-
config: {
|
|
287
|
-
label: "callToActionLink",
|
|
288
|
-
placeholder: "",
|
|
289
|
-
select: null,
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
items: {
|
|
294
|
-
image: {
|
|
295
|
-
type: "Image",
|
|
296
|
-
config: {
|
|
297
|
-
label: "image",
|
|
298
|
-
constraint: {},
|
|
299
|
-
thumbnails: [],
|
|
300
|
-
},
|
|
301
|
-
},
|
|
302
|
-
link: {
|
|
303
|
-
type: "Link",
|
|
304
|
-
config: {
|
|
305
|
-
label: "link",
|
|
306
|
-
placeholder: "",
|
|
307
|
-
select: null,
|
|
308
|
-
},
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
};
|