@slicemachine/adapter-nuxt 0.3.18-dev-next-release.5 → 0.3.18-dev-next-release.6
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 +219 -0
- package/dist/Hero/mocks.json +163 -0
- package/dist/Hero/model.json +126 -0
- package/dist/Hero/screenshot-default.png +0 -0
- package/dist/Hero/screenshot-imageRight.png +0 -0
- package/dist/Hero/typescript.vue +226 -0
- package/dist/plugin.cjs +15 -0
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +16 -1
- package/dist/plugin.js.map +1 -1
- package/dist/simulator/SliceSimulator.d.ts +1 -1
- package/dist/sliceTemplates/Hero/index.cjs +299 -0
- package/dist/sliceTemplates/Hero/index.cjs.map +1 -0
- package/dist/sliceTemplates/Hero/index.d.ts +8 -0
- package/dist/sliceTemplates/Hero/index.js +299 -0
- package/dist/sliceTemplates/Hero/index.js.map +1 -0
- package/package.json +3 -3
- package/src/plugin.ts +23 -0
- package/src/sliceTemplates/Hero/index.ts +302 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const screenshotPaths = {
|
|
4
|
+
default: "Hero/screenshot-default.png",
|
|
5
|
+
imageRight: "Hero/screenshot-imageRight.png"
|
|
6
|
+
};
|
|
7
|
+
const mocks = [
|
|
8
|
+
{
|
|
9
|
+
__TYPE__: "SharedSliceContent",
|
|
10
|
+
variation: "default",
|
|
11
|
+
primary: {
|
|
12
|
+
title: {
|
|
13
|
+
__TYPE__: "StructuredTextContent",
|
|
14
|
+
value: [
|
|
15
|
+
{
|
|
16
|
+
type: "heading2",
|
|
17
|
+
content: {
|
|
18
|
+
text: "Build a website that keeps getting better",
|
|
19
|
+
spans: []
|
|
20
|
+
},
|
|
21
|
+
direction: "ltr"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
eyebrowHeadline: {
|
|
26
|
+
__TYPE__: "FieldContent",
|
|
27
|
+
type: "Text",
|
|
28
|
+
value: "Hero"
|
|
29
|
+
},
|
|
30
|
+
description: {
|
|
31
|
+
__TYPE__: "StructuredTextContent",
|
|
32
|
+
value: [
|
|
33
|
+
{
|
|
34
|
+
type: "paragraph",
|
|
35
|
+
content: {
|
|
36
|
+
text: "Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases",
|
|
37
|
+
spans: []
|
|
38
|
+
},
|
|
39
|
+
direction: "ltr"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
image: {
|
|
44
|
+
url: "https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85",
|
|
45
|
+
origin: {
|
|
46
|
+
id: "h5yMpgOI5nI",
|
|
47
|
+
url: "https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85",
|
|
48
|
+
width: 3710,
|
|
49
|
+
height: 3710
|
|
50
|
+
},
|
|
51
|
+
width: 3710,
|
|
52
|
+
height: 3710,
|
|
53
|
+
edit: {
|
|
54
|
+
background: "transparent",
|
|
55
|
+
zoom: 1,
|
|
56
|
+
crop: {
|
|
57
|
+
x: 0,
|
|
58
|
+
y: 0
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
credits: null,
|
|
62
|
+
alt: "Image Content",
|
|
63
|
+
__TYPE__: "ImageContent",
|
|
64
|
+
thumbnails: {}
|
|
65
|
+
},
|
|
66
|
+
callToActionLabel: {
|
|
67
|
+
__TYPE__: "FieldContent",
|
|
68
|
+
type: "Text",
|
|
69
|
+
value: "Call to Action"
|
|
70
|
+
},
|
|
71
|
+
callToActionLink: {
|
|
72
|
+
__TYPE__: "LinkContent",
|
|
73
|
+
value: {
|
|
74
|
+
__TYPE__: "ExternalLink",
|
|
75
|
+
url: "https://prismic.io",
|
|
76
|
+
target: ""
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
items: []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
__TYPE__: "SharedSliceContent",
|
|
84
|
+
variation: "imageRight",
|
|
85
|
+
primary: {
|
|
86
|
+
eyebrowHeadline: {
|
|
87
|
+
__TYPE__: "FieldContent",
|
|
88
|
+
type: "Text",
|
|
89
|
+
value: "Image Right"
|
|
90
|
+
},
|
|
91
|
+
title: {
|
|
92
|
+
__TYPE__: "StructuredTextContent",
|
|
93
|
+
value: [
|
|
94
|
+
{
|
|
95
|
+
type: "heading1",
|
|
96
|
+
content: {
|
|
97
|
+
text: "Build a website",
|
|
98
|
+
spans: []
|
|
99
|
+
},
|
|
100
|
+
direction: "ltr"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
description: {
|
|
105
|
+
__TYPE__: "StructuredTextContent",
|
|
106
|
+
value: [
|
|
107
|
+
{
|
|
108
|
+
type: "paragraph",
|
|
109
|
+
content: {
|
|
110
|
+
text: "Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!",
|
|
111
|
+
spans: []
|
|
112
|
+
},
|
|
113
|
+
direction: "ltr"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "paragraph",
|
|
117
|
+
content: {
|
|
118
|
+
text: "\nBy the way: this RichText field supports multi-paragraph!",
|
|
119
|
+
spans: []
|
|
120
|
+
},
|
|
121
|
+
direction: "ltr"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
image: {
|
|
126
|
+
origin: {
|
|
127
|
+
id: "euqiHwS38Rw",
|
|
128
|
+
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85",
|
|
129
|
+
width: 2500,
|
|
130
|
+
height: 2500
|
|
131
|
+
},
|
|
132
|
+
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85",
|
|
133
|
+
width: 2500,
|
|
134
|
+
height: 2500,
|
|
135
|
+
edit: {
|
|
136
|
+
background: "transparent",
|
|
137
|
+
zoom: 1,
|
|
138
|
+
crop: {
|
|
139
|
+
x: 0,
|
|
140
|
+
y: 0
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
credits: null,
|
|
144
|
+
alt: "Image Content",
|
|
145
|
+
__TYPE__: "ImageContent",
|
|
146
|
+
thumbnails: {}
|
|
147
|
+
},
|
|
148
|
+
callToActionLabel: {
|
|
149
|
+
__TYPE__: "FieldContent",
|
|
150
|
+
type: "Text",
|
|
151
|
+
value: "Call to Action"
|
|
152
|
+
},
|
|
153
|
+
callToActionLink: {
|
|
154
|
+
__TYPE__: "LinkContent",
|
|
155
|
+
value: {
|
|
156
|
+
__TYPE__: "ExternalLink",
|
|
157
|
+
url: "https://prismic.io",
|
|
158
|
+
target: ""
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
items: [
|
|
163
|
+
{
|
|
164
|
+
__TYPE__: "GroupItemContent",
|
|
165
|
+
value: []
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
];
|
|
170
|
+
const model = {
|
|
171
|
+
id: "hero",
|
|
172
|
+
type: "SharedSlice",
|
|
173
|
+
name: "Hero",
|
|
174
|
+
description: "Hero",
|
|
175
|
+
variations: [
|
|
176
|
+
{
|
|
177
|
+
id: "default",
|
|
178
|
+
name: "Default",
|
|
179
|
+
docURL: "...",
|
|
180
|
+
version: "initial",
|
|
181
|
+
description: "Default",
|
|
182
|
+
imageUrl: "",
|
|
183
|
+
primary: {
|
|
184
|
+
eyebrowHeadline: {
|
|
185
|
+
type: "Text",
|
|
186
|
+
config: {
|
|
187
|
+
label: "eyebrowHeadline",
|
|
188
|
+
placeholder: "Eyebrow"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
title: {
|
|
192
|
+
type: "StructuredText",
|
|
193
|
+
config: {
|
|
194
|
+
label: "title",
|
|
195
|
+
placeholder: "",
|
|
196
|
+
allowTargetBlank: true,
|
|
197
|
+
single: "heading1,heading2,heading3,heading4,heading5,heading6,strong,em"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
description: {
|
|
201
|
+
type: "StructuredText",
|
|
202
|
+
config: {
|
|
203
|
+
label: "description",
|
|
204
|
+
placeholder: "",
|
|
205
|
+
allowTargetBlank: true,
|
|
206
|
+
multi: "paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
image: {
|
|
210
|
+
type: "Image",
|
|
211
|
+
config: {
|
|
212
|
+
label: "image",
|
|
213
|
+
constraint: {},
|
|
214
|
+
thumbnails: []
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
callToActionLabel: {
|
|
218
|
+
type: "Text",
|
|
219
|
+
config: {
|
|
220
|
+
label: "callToActionLabel",
|
|
221
|
+
placeholder: ""
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
callToActionLink: {
|
|
225
|
+
type: "Link",
|
|
226
|
+
config: {
|
|
227
|
+
label: "callToActionLink",
|
|
228
|
+
placeholder: "",
|
|
229
|
+
select: null
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
items: {}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: "imageRight",
|
|
237
|
+
name: "Image Right",
|
|
238
|
+
docURL: "...",
|
|
239
|
+
version: "initial",
|
|
240
|
+
description: "Default",
|
|
241
|
+
imageUrl: "",
|
|
242
|
+
primary: {
|
|
243
|
+
eyebrowHeadline: {
|
|
244
|
+
type: "Text",
|
|
245
|
+
config: {
|
|
246
|
+
label: "eyebrowHeadline",
|
|
247
|
+
placeholder: "Eyebrow"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
title: {
|
|
251
|
+
type: "StructuredText",
|
|
252
|
+
config: {
|
|
253
|
+
label: "title",
|
|
254
|
+
placeholder: "",
|
|
255
|
+
allowTargetBlank: true,
|
|
256
|
+
single: "heading1,heading2,heading3,heading4,heading5,heading6,strong,em"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
description: {
|
|
260
|
+
type: "StructuredText",
|
|
261
|
+
config: {
|
|
262
|
+
label: "description",
|
|
263
|
+
placeholder: "",
|
|
264
|
+
allowTargetBlank: true,
|
|
265
|
+
multi: "paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
image: {
|
|
269
|
+
type: "Image",
|
|
270
|
+
config: {
|
|
271
|
+
label: "image",
|
|
272
|
+
constraint: {},
|
|
273
|
+
thumbnails: []
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
callToActionLabel: {
|
|
277
|
+
type: "Text",
|
|
278
|
+
config: {
|
|
279
|
+
label: "callToActionLabel",
|
|
280
|
+
placeholder: ""
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
callToActionLink: {
|
|
284
|
+
type: "Link",
|
|
285
|
+
config: {
|
|
286
|
+
label: "callToActionLink",
|
|
287
|
+
placeholder: "",
|
|
288
|
+
select: null
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
items: {}
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
};
|
|
296
|
+
exports.mocks = mocks;
|
|
297
|
+
exports.model = model;
|
|
298
|
+
exports.screenshotPaths = screenshotPaths;
|
|
299
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [\n\t\t\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [],\n\t\t\t},\n\t\t],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QACN,KAAK;AAAA,QACL,QAAQ;AAAA,UACP,IAAI;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QACR;AAAA,QACD,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,MAAM;AAAA,UACL,YAAY;AAAA,UACZ,MAAM;AAAA,UACN,MAAM;AAAA,YACL,GAAG;AAAA,YACH,GAAG;AAAA,UACH;AAAA,QACD;AAAA,QACD,SAAS;AAAA,QACT,KAAK;AAAA,QACL,UAAU;AAAA,QACV,YAAY,CAAE;AAAA,MACd;AAAA,MACD,mBAAmB;AAAA,QAClB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OA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,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,IACD;AAAA,MACC,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,mBAAmB;AAAA,UAClB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SharedSlice } from "@prismicio/types-internal/lib/customtypes";
|
|
2
|
+
import { SharedSliceContent } from "@prismicio/types-internal/lib/content";
|
|
3
|
+
export declare const screenshotPaths: {
|
|
4
|
+
default: string;
|
|
5
|
+
imageRight: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const mocks: SharedSliceContent[];
|
|
8
|
+
export declare const model: SharedSlice;
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
const screenshotPaths = {
|
|
2
|
+
default: "Hero/screenshot-default.png",
|
|
3
|
+
imageRight: "Hero/screenshot-imageRight.png"
|
|
4
|
+
};
|
|
5
|
+
const mocks = [
|
|
6
|
+
{
|
|
7
|
+
__TYPE__: "SharedSliceContent",
|
|
8
|
+
variation: "default",
|
|
9
|
+
primary: {
|
|
10
|
+
title: {
|
|
11
|
+
__TYPE__: "StructuredTextContent",
|
|
12
|
+
value: [
|
|
13
|
+
{
|
|
14
|
+
type: "heading2",
|
|
15
|
+
content: {
|
|
16
|
+
text: "Build a website that keeps getting better",
|
|
17
|
+
spans: []
|
|
18
|
+
},
|
|
19
|
+
direction: "ltr"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
eyebrowHeadline: {
|
|
24
|
+
__TYPE__: "FieldContent",
|
|
25
|
+
type: "Text",
|
|
26
|
+
value: "Hero"
|
|
27
|
+
},
|
|
28
|
+
description: {
|
|
29
|
+
__TYPE__: "StructuredTextContent",
|
|
30
|
+
value: [
|
|
31
|
+
{
|
|
32
|
+
type: "paragraph",
|
|
33
|
+
content: {
|
|
34
|
+
text: "Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases",
|
|
35
|
+
spans: []
|
|
36
|
+
},
|
|
37
|
+
direction: "ltr"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
image: {
|
|
42
|
+
url: "https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85",
|
|
43
|
+
origin: {
|
|
44
|
+
id: "h5yMpgOI5nI",
|
|
45
|
+
url: "https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85",
|
|
46
|
+
width: 3710,
|
|
47
|
+
height: 3710
|
|
48
|
+
},
|
|
49
|
+
width: 3710,
|
|
50
|
+
height: 3710,
|
|
51
|
+
edit: {
|
|
52
|
+
background: "transparent",
|
|
53
|
+
zoom: 1,
|
|
54
|
+
crop: {
|
|
55
|
+
x: 0,
|
|
56
|
+
y: 0
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
credits: null,
|
|
60
|
+
alt: "Image Content",
|
|
61
|
+
__TYPE__: "ImageContent",
|
|
62
|
+
thumbnails: {}
|
|
63
|
+
},
|
|
64
|
+
callToActionLabel: {
|
|
65
|
+
__TYPE__: "FieldContent",
|
|
66
|
+
type: "Text",
|
|
67
|
+
value: "Call to Action"
|
|
68
|
+
},
|
|
69
|
+
callToActionLink: {
|
|
70
|
+
__TYPE__: "LinkContent",
|
|
71
|
+
value: {
|
|
72
|
+
__TYPE__: "ExternalLink",
|
|
73
|
+
url: "https://prismic.io",
|
|
74
|
+
target: ""
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
items: []
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
__TYPE__: "SharedSliceContent",
|
|
82
|
+
variation: "imageRight",
|
|
83
|
+
primary: {
|
|
84
|
+
eyebrowHeadline: {
|
|
85
|
+
__TYPE__: "FieldContent",
|
|
86
|
+
type: "Text",
|
|
87
|
+
value: "Image Right"
|
|
88
|
+
},
|
|
89
|
+
title: {
|
|
90
|
+
__TYPE__: "StructuredTextContent",
|
|
91
|
+
value: [
|
|
92
|
+
{
|
|
93
|
+
type: "heading1",
|
|
94
|
+
content: {
|
|
95
|
+
text: "Build a website",
|
|
96
|
+
spans: []
|
|
97
|
+
},
|
|
98
|
+
direction: "ltr"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
description: {
|
|
103
|
+
__TYPE__: "StructuredTextContent",
|
|
104
|
+
value: [
|
|
105
|
+
{
|
|
106
|
+
type: "paragraph",
|
|
107
|
+
content: {
|
|
108
|
+
text: "Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!",
|
|
109
|
+
spans: []
|
|
110
|
+
},
|
|
111
|
+
direction: "ltr"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: "paragraph",
|
|
115
|
+
content: {
|
|
116
|
+
text: "\nBy the way: this RichText field supports multi-paragraph!",
|
|
117
|
+
spans: []
|
|
118
|
+
},
|
|
119
|
+
direction: "ltr"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
image: {
|
|
124
|
+
origin: {
|
|
125
|
+
id: "euqiHwS38Rw",
|
|
126
|
+
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85",
|
|
127
|
+
width: 2500,
|
|
128
|
+
height: 2500
|
|
129
|
+
},
|
|
130
|
+
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85",
|
|
131
|
+
width: 2500,
|
|
132
|
+
height: 2500,
|
|
133
|
+
edit: {
|
|
134
|
+
background: "transparent",
|
|
135
|
+
zoom: 1,
|
|
136
|
+
crop: {
|
|
137
|
+
x: 0,
|
|
138
|
+
y: 0
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
credits: null,
|
|
142
|
+
alt: "Image Content",
|
|
143
|
+
__TYPE__: "ImageContent",
|
|
144
|
+
thumbnails: {}
|
|
145
|
+
},
|
|
146
|
+
callToActionLabel: {
|
|
147
|
+
__TYPE__: "FieldContent",
|
|
148
|
+
type: "Text",
|
|
149
|
+
value: "Call to Action"
|
|
150
|
+
},
|
|
151
|
+
callToActionLink: {
|
|
152
|
+
__TYPE__: "LinkContent",
|
|
153
|
+
value: {
|
|
154
|
+
__TYPE__: "ExternalLink",
|
|
155
|
+
url: "https://prismic.io",
|
|
156
|
+
target: ""
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
items: [
|
|
161
|
+
{
|
|
162
|
+
__TYPE__: "GroupItemContent",
|
|
163
|
+
value: []
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
];
|
|
168
|
+
const model = {
|
|
169
|
+
id: "hero",
|
|
170
|
+
type: "SharedSlice",
|
|
171
|
+
name: "Hero",
|
|
172
|
+
description: "Hero",
|
|
173
|
+
variations: [
|
|
174
|
+
{
|
|
175
|
+
id: "default",
|
|
176
|
+
name: "Default",
|
|
177
|
+
docURL: "...",
|
|
178
|
+
version: "initial",
|
|
179
|
+
description: "Default",
|
|
180
|
+
imageUrl: "",
|
|
181
|
+
primary: {
|
|
182
|
+
eyebrowHeadline: {
|
|
183
|
+
type: "Text",
|
|
184
|
+
config: {
|
|
185
|
+
label: "eyebrowHeadline",
|
|
186
|
+
placeholder: "Eyebrow"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
title: {
|
|
190
|
+
type: "StructuredText",
|
|
191
|
+
config: {
|
|
192
|
+
label: "title",
|
|
193
|
+
placeholder: "",
|
|
194
|
+
allowTargetBlank: true,
|
|
195
|
+
single: "heading1,heading2,heading3,heading4,heading5,heading6,strong,em"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
description: {
|
|
199
|
+
type: "StructuredText",
|
|
200
|
+
config: {
|
|
201
|
+
label: "description",
|
|
202
|
+
placeholder: "",
|
|
203
|
+
allowTargetBlank: true,
|
|
204
|
+
multi: "paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
image: {
|
|
208
|
+
type: "Image",
|
|
209
|
+
config: {
|
|
210
|
+
label: "image",
|
|
211
|
+
constraint: {},
|
|
212
|
+
thumbnails: []
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
callToActionLabel: {
|
|
216
|
+
type: "Text",
|
|
217
|
+
config: {
|
|
218
|
+
label: "callToActionLabel",
|
|
219
|
+
placeholder: ""
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
callToActionLink: {
|
|
223
|
+
type: "Link",
|
|
224
|
+
config: {
|
|
225
|
+
label: "callToActionLink",
|
|
226
|
+
placeholder: "",
|
|
227
|
+
select: null
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
items: {}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
id: "imageRight",
|
|
235
|
+
name: "Image Right",
|
|
236
|
+
docURL: "...",
|
|
237
|
+
version: "initial",
|
|
238
|
+
description: "Default",
|
|
239
|
+
imageUrl: "",
|
|
240
|
+
primary: {
|
|
241
|
+
eyebrowHeadline: {
|
|
242
|
+
type: "Text",
|
|
243
|
+
config: {
|
|
244
|
+
label: "eyebrowHeadline",
|
|
245
|
+
placeholder: "Eyebrow"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
title: {
|
|
249
|
+
type: "StructuredText",
|
|
250
|
+
config: {
|
|
251
|
+
label: "title",
|
|
252
|
+
placeholder: "",
|
|
253
|
+
allowTargetBlank: true,
|
|
254
|
+
single: "heading1,heading2,heading3,heading4,heading5,heading6,strong,em"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
description: {
|
|
258
|
+
type: "StructuredText",
|
|
259
|
+
config: {
|
|
260
|
+
label: "description",
|
|
261
|
+
placeholder: "",
|
|
262
|
+
allowTargetBlank: true,
|
|
263
|
+
multi: "paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
image: {
|
|
267
|
+
type: "Image",
|
|
268
|
+
config: {
|
|
269
|
+
label: "image",
|
|
270
|
+
constraint: {},
|
|
271
|
+
thumbnails: []
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
callToActionLabel: {
|
|
275
|
+
type: "Text",
|
|
276
|
+
config: {
|
|
277
|
+
label: "callToActionLabel",
|
|
278
|
+
placeholder: ""
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
callToActionLink: {
|
|
282
|
+
type: "Link",
|
|
283
|
+
config: {
|
|
284
|
+
label: "callToActionLink",
|
|
285
|
+
placeholder: "",
|
|
286
|
+
select: null
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
items: {}
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
};
|
|
294
|
+
export {
|
|
295
|
+
mocks,
|
|
296
|
+
model,
|
|
297
|
+
screenshotPaths
|
|
298
|
+
};
|
|
299
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [\n\t\t\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [],\n\t\t\t},\n\t\t],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,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AAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,mBAAmB;AAAA,UAClB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/adapter-nuxt",
|
|
3
|
-
"version": "0.3.18-dev-next-release.
|
|
3
|
+
"version": "0.3.18-dev-next-release.6",
|
|
4
4
|
"description": "Slice Machine adapter for Nuxt 3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@prismicio/simulator": "^0.1.4",
|
|
63
63
|
"@prismicio/types-internal": "^2.0.0",
|
|
64
|
-
"@slicemachine/plugin-kit": "^0.4.18-dev-next-release.
|
|
64
|
+
"@slicemachine/plugin-kit": "^0.4.18-dev-next-release.6",
|
|
65
65
|
"common-tags": "^1.8.2",
|
|
66
66
|
"fp-ts": "^2.13.1",
|
|
67
67
|
"io-ts": "^2.2.20",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"engines": {
|
|
104
104
|
"node": ">=14.15.0"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "2dc0119b3dc5aaea1cababd8dc63f074c79ed592"
|
|
107
107
|
}
|