@slicemachine/adapter-sveltekit 0.3.50-alpha.lg-text-in-links.2 → 0.3.50-alpha.lg-text-in-links.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/CallToAction/javascript.svelte +4 -8
- package/dist/CallToAction/typescript.svelte +4 -8
- package/dist/CustomerLogos/javascript.svelte +1 -3
- package/dist/CustomerLogos/typescript.svelte +1 -3
- package/dist/Hero/javascript.svelte +4 -8
- package/dist/Hero/typescript.svelte +4 -8
- 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 +3 -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
@@ -39,14 +39,10 @@
|
|
39
39
|
</div>
|
40
40
|
{/if}
|
41
41
|
</div>
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
>
|
47
|
-
{slice.primary.buttonLabel || "Learn more…"}
|
48
|
-
</PrismicLink>
|
49
|
-
{/if}
|
42
|
+
<PrismicLink
|
43
|
+
class="es-call-to-action__button"
|
44
|
+
field={slice.primary.buttonLink}
|
45
|
+
/>
|
50
46
|
</div>
|
51
47
|
<style>
|
52
48
|
.es-bounded {
|
@@ -36,14 +36,10 @@
|
|
36
36
|
</div>
|
37
37
|
{/if}
|
38
38
|
</div>
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
>
|
44
|
-
{slice.primary.buttonLabel || "Learn more…"}
|
45
|
-
</PrismicLink>
|
46
|
-
{/if}
|
39
|
+
<PrismicLink
|
40
|
+
class="es-call-to-action__button"
|
41
|
+
field={slice.primary.buttonLink}
|
42
|
+
/>
|
47
43
|
</div>
|
48
44
|
<style>
|
49
45
|
.es-bounded {
|
@@ -52,14 +52,10 @@
|
|
52
52
|
<PrismicRichText field={slice.primary.description} />
|
53
53
|
</div>
|
54
54
|
{/if}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
>
|
60
|
-
{slice.primary.callToActionLabel || "Learn more…"}
|
61
|
-
</PrismicLink>
|
62
|
-
{/if}
|
55
|
+
<PrismicLink
|
56
|
+
field={slice.primary.callToActionLink}
|
57
|
+
class="es-call-to-action__link"
|
58
|
+
/>
|
63
59
|
</div>
|
64
60
|
</div>
|
65
61
|
</div>
|
@@ -49,14 +49,10 @@
|
|
49
49
|
<PrismicRichText field={slice.primary.description} />
|
50
50
|
</div>
|
51
51
|
{/if}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
>
|
57
|
-
{slice.primary.callToActionLabel || "Learn more…"}
|
58
|
-
</PrismicLink>
|
59
|
-
{/if}
|
52
|
+
<PrismicLink
|
53
|
+
field={slice.primary.callToActionLink}
|
54
|
+
class="es-call-to-action__link"
|
55
|
+
/>
|
60
56
|
</div>
|
61
57
|
</div>
|
62
58
|
</div>
|
@@ -39,14 +39,10 @@ const mocks = [
|
|
39
39
|
__TYPE__: "LinkContent",
|
40
40
|
value: {
|
41
41
|
__TYPE__: "ExternalLink",
|
42
|
-
url: "https://twitter.com/prismicio"
|
42
|
+
url: "https://twitter.com/prismicio",
|
43
|
+
text: "Learn more"
|
43
44
|
}
|
44
45
|
},
|
45
|
-
buttonlabel: {
|
46
|
-
__TYPE__: "FieldContent",
|
47
|
-
type: "Text",
|
48
|
-
value: "Click here"
|
49
|
-
},
|
50
46
|
image: {
|
51
47
|
origin: {
|
52
48
|
id: "9aOswReDKPo",
|
@@ -69,11 +65,6 @@ const mocks = [
|
|
69
65
|
alt: "Example Image",
|
70
66
|
__TYPE__: "ImageContent",
|
71
67
|
thumbnails: {}
|
72
|
-
},
|
73
|
-
buttonLabel: {
|
74
|
-
__TYPE__: "FieldContent",
|
75
|
-
type: "Text",
|
76
|
-
value: "Learn more"
|
77
68
|
}
|
78
69
|
},
|
79
70
|
items: []
|
@@ -135,13 +126,9 @@ const mocks = [
|
|
135
126
|
__TYPE__: "LinkContent",
|
136
127
|
value: {
|
137
128
|
__TYPE__: "ExternalLink",
|
138
|
-
url: "https://prismic.io"
|
129
|
+
url: "https://prismic.io",
|
130
|
+
text: "Learn more!"
|
139
131
|
}
|
140
|
-
},
|
141
|
-
buttonLabel: {
|
142
|
-
__TYPE__: "FieldContent",
|
143
|
-
type: "Text",
|
144
|
-
value: "Learn more!"
|
145
132
|
}
|
146
133
|
},
|
147
134
|
items: []
|
@@ -189,14 +176,8 @@ const model = {
|
|
189
176
|
label: "buttonLink",
|
190
177
|
placeholder: "Redirect URL for CTA button",
|
191
178
|
allowTargetBlank: true,
|
192
|
-
select: null
|
193
|
-
|
194
|
-
},
|
195
|
-
buttonLabel: {
|
196
|
-
type: "Text",
|
197
|
-
config: {
|
198
|
-
label: "buttonLabel",
|
199
|
-
placeholder: "Label for CTA button"
|
179
|
+
select: null,
|
180
|
+
allowText: true
|
200
181
|
}
|
201
182
|
}
|
202
183
|
},
|
@@ -238,14 +219,8 @@ const model = {
|
|
238
219
|
label: "buttonLink",
|
239
220
|
placeholder: "Redirect URL for CTA button",
|
240
221
|
allowTargetBlank: true,
|
241
|
-
select: null
|
242
|
-
|
243
|
-
},
|
244
|
-
buttonLabel: {
|
245
|
-
type: "Text",
|
246
|
-
config: {
|
247
|
-
label: "buttonLabel",
|
248
|
-
placeholder: "Label for CTA button"
|
222
|
+
select: null,
|
223
|
+
allowText: true
|
249
224
|
}
|
250
225
|
}
|
251
226
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/CallToAction/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: \"CallToAction/screenshot-default.png\",\n\talignLeft: \"CallToAction/screenshot-alignLeft.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: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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://twitter.com/prismicio\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tbuttonlabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Click here\",\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"9aOswReDKPo\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 8040,\n\t\t\t\t\theight: 6024,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 8040,\n\t\t\t\theight: 6024,\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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tbuttonLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Learn more\",\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"alignLeft\",\n\t\tprimary: {\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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\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: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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},\n\t\t\t},\n\t\t\tbuttonLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Learn more!\",\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"call_to_action\",\n\ttype: \"SharedSlice\",\n\tname: \"CallToAction\",\n\tdescription: \"CallToAction\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLabel\",\n\t\t\t\t\t\tplaceholder: \"Label for CTA button\",\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: \"alignLeft\",\n\t\t\tname: \"AlignLeft\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLabel\",\n\t\t\t\t\t\tplaceholder: \"Label for CTA button\",\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,WAAW;;AAGL,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,WAAW;AAAA,QACV,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,YAAY;AAAA,QACX,UAAU;AAAA,QACV,OAAO;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,QACL;AAAA,MACD;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,OAAO;AAAA,QACN,QAAQ;AAAA,UACP,IAAI;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QACR;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,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ,EAAE,OAAO,SAAS,YAAY,CAAE,GAAE,YAAY,GAAI;AAAA,QAC1D;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,WAAW;AAAA,UACV,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,YAAY;AAAA,UACX,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/CallToAction/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: \"CallToAction/screenshot-default.png\",\n\talignLeft: \"CallToAction/screenshot-alignLeft.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: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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://twitter.com/prismicio\",\n\t\t\t\t\ttext: \"Learn more\",\n\t\t\t\t},\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"9aOswReDKPo\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 8040,\n\t\t\t\t\theight: 6024,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 8040,\n\t\t\t\theight: 6024,\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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"alignLeft\",\n\t\tprimary: {\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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\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: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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\ttext: \"Learn more!\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"call_to_action\",\n\ttype: \"SharedSlice\",\n\tname: \"CallToAction\",\n\tdescription: \"CallToAction\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\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: \"alignLeft\",\n\t\t\tname: \"AlignLeft\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\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,WAAW;;AAGL,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,WAAW;AAAA,QACV,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,YAAY;AAAA,QACX,UAAU;AAAA,QACV,OAAO;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,UACL,MAAM;AAAA,QACN;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QACN,QAAQ;AAAA,UACP,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,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,WAAW;AAAA,UACV,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,YAAY;AAAA,UACX,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
|
@@ -37,14 +37,10 @@ const mocks = [
|
|
37
37
|
__TYPE__: "LinkContent",
|
38
38
|
value: {
|
39
39
|
__TYPE__: "ExternalLink",
|
40
|
-
url: "https://twitter.com/prismicio"
|
40
|
+
url: "https://twitter.com/prismicio",
|
41
|
+
text: "Learn more"
|
41
42
|
}
|
42
43
|
},
|
43
|
-
buttonlabel: {
|
44
|
-
__TYPE__: "FieldContent",
|
45
|
-
type: "Text",
|
46
|
-
value: "Click here"
|
47
|
-
},
|
48
44
|
image: {
|
49
45
|
origin: {
|
50
46
|
id: "9aOswReDKPo",
|
@@ -67,11 +63,6 @@ const mocks = [
|
|
67
63
|
alt: "Example Image",
|
68
64
|
__TYPE__: "ImageContent",
|
69
65
|
thumbnails: {}
|
70
|
-
},
|
71
|
-
buttonLabel: {
|
72
|
-
__TYPE__: "FieldContent",
|
73
|
-
type: "Text",
|
74
|
-
value: "Learn more"
|
75
66
|
}
|
76
67
|
},
|
77
68
|
items: []
|
@@ -133,13 +124,9 @@ const mocks = [
|
|
133
124
|
__TYPE__: "LinkContent",
|
134
125
|
value: {
|
135
126
|
__TYPE__: "ExternalLink",
|
136
|
-
url: "https://prismic.io"
|
127
|
+
url: "https://prismic.io",
|
128
|
+
text: "Learn more!"
|
137
129
|
}
|
138
|
-
},
|
139
|
-
buttonLabel: {
|
140
|
-
__TYPE__: "FieldContent",
|
141
|
-
type: "Text",
|
142
|
-
value: "Learn more!"
|
143
130
|
}
|
144
131
|
},
|
145
132
|
items: []
|
@@ -187,14 +174,8 @@ const model = {
|
|
187
174
|
label: "buttonLink",
|
188
175
|
placeholder: "Redirect URL for CTA button",
|
189
176
|
allowTargetBlank: true,
|
190
|
-
select: null
|
191
|
-
|
192
|
-
},
|
193
|
-
buttonLabel: {
|
194
|
-
type: "Text",
|
195
|
-
config: {
|
196
|
-
label: "buttonLabel",
|
197
|
-
placeholder: "Label for CTA button"
|
177
|
+
select: null,
|
178
|
+
allowText: true
|
198
179
|
}
|
199
180
|
}
|
200
181
|
},
|
@@ -236,14 +217,8 @@ const model = {
|
|
236
217
|
label: "buttonLink",
|
237
218
|
placeholder: "Redirect URL for CTA button",
|
238
219
|
allowTargetBlank: true,
|
239
|
-
select: null
|
240
|
-
|
241
|
-
},
|
242
|
-
buttonLabel: {
|
243
|
-
type: "Text",
|
244
|
-
config: {
|
245
|
-
label: "buttonLabel",
|
246
|
-
placeholder: "Label for CTA button"
|
220
|
+
select: null,
|
221
|
+
allowText: true
|
247
222
|
}
|
248
223
|
}
|
249
224
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CallToAction/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: \"CallToAction/screenshot-default.png\",\n\talignLeft: \"CallToAction/screenshot-alignLeft.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: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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://twitter.com/prismicio\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tbuttonlabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Click here\",\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"9aOswReDKPo\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 8040,\n\t\t\t\t\theight: 6024,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 8040,\n\t\t\t\theight: 6024,\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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tbuttonLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Learn more\",\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"alignLeft\",\n\t\tprimary: {\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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\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: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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},\n\t\t\t},\n\t\t\tbuttonLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Learn more!\",\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"call_to_action\",\n\ttype: \"SharedSlice\",\n\tname: \"CallToAction\",\n\tdescription: \"CallToAction\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLabel\",\n\t\t\t\t\t\tplaceholder: \"Label for CTA button\",\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: \"alignLeft\",\n\t\t\tname: \"AlignLeft\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLabel\",\n\t\t\t\t\t\tplaceholder: \"Label for CTA button\",\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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D;AAAA,QACD,YAAY;AAAA,UACX,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CallToAction/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: \"CallToAction/screenshot-default.png\",\n\talignLeft: \"CallToAction/screenshot-alignLeft.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: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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://twitter.com/prismicio\",\n\t\t\t\t\ttext: \"Learn more\",\n\t\t\t\t},\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"9aOswReDKPo\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 8040,\n\t\t\t\t\theight: 6024,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 8040,\n\t\t\t\theight: 6024,\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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"alignLeft\",\n\t\tprimary: {\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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&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: \"Example Image\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\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: \"Collector Slices kit\",\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\tparagraph: {\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: \"It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.\",\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\tbuttonLink: {\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\ttext: \"Learn more!\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"call_to_action\",\n\ttype: \"SharedSlice\",\n\tname: \"CallToAction\",\n\tdescription: \"CallToAction\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\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: \"alignLeft\",\n\t\t\tname: \"AlignLeft\",\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\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: { label: \"Image\", constraint: {}, thumbnails: [] },\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: \"heading1,heading2,heading3,heading4,heading5,heading6\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tparagraph: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"paragraph\",\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\"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tbuttonLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"buttonLink\",\n\t\t\t\t\t\tplaceholder: \"Redirect URL for CTA button\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t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MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
|
@@ -8,17 +8,13 @@ const mocks = [
|
|
8
8
|
__TYPE__: "SharedSliceContent",
|
9
9
|
variation: "default",
|
10
10
|
primary: {
|
11
|
-
callToActionLabel: {
|
12
|
-
__TYPE__: "FieldContent",
|
13
|
-
type: "Text",
|
14
|
-
value: "View customer stories"
|
15
|
-
},
|
16
11
|
callToActionLink: {
|
17
12
|
__TYPE__: "LinkContent",
|
18
13
|
value: {
|
19
14
|
__TYPE__: "ExternalLink",
|
20
15
|
url: "https://prismic.io",
|
21
|
-
target: "_blank"
|
16
|
+
target: "_blank",
|
17
|
+
text: "View customer stories"
|
22
18
|
}
|
23
19
|
},
|
24
20
|
eyebrowHeadline: {
|
@@ -275,19 +271,13 @@ const model = {
|
|
275
271
|
single: "strong,em,rtl,heading2"
|
276
272
|
}
|
277
273
|
},
|
278
|
-
callToActionLabel: {
|
279
|
-
type: "Text",
|
280
|
-
config: {
|
281
|
-
label: "callToActionLabel",
|
282
|
-
placeholder: ""
|
283
|
-
}
|
284
|
-
},
|
285
274
|
callToActionLink: {
|
286
275
|
type: "Link",
|
287
276
|
config: {
|
288
277
|
label: "callToActionLink",
|
289
278
|
placeholder: "",
|
290
|
-
select: null
|
279
|
+
select: null,
|
280
|
+
allowText: true
|
291
281
|
}
|
292
282
|
},
|
293
283
|
logos: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/CustomerLogos/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: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"View customer stories\",\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: \"_blank\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\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: \"Trusted by\",\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\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\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: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\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\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"link\",\n\t\t\t\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;;AAGH,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,mBAAmB;AAAA,QAClB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,kBAAkB;AAAA,QACjB,UAAU;AAAA,QACV,OAAO;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,UACL,QAAQ;AAAA,QACR;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,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,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,UAAU;AAAA,YACV,OAAO;AAAA,cACN;AAAA,gBACC;AAAA,gBACA;AAAA,kBACC,QAAQ;AAAA,oBACP,IAAI;AAAA,oBACJ,KAAK;AAAA,oBACL,OAAO;AAAA,oBACP,QAAQ;AAAA,kBACR;AAAA,kB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;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,QAAQ;AAAA,cACP,OAAO;AAAA,gBACN,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,YAAY,CAAE;AAAA,kBACd,YAAY,CAAE;AAAA,gBACd;AAAA,cACD;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;;;;"}
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/CustomerLogos/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: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\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: \"_blank\",\n\t\t\t\t\ttext: \"View customer stories\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\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: \"Trusted by\",\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\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\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: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\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\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"link\",\n\t\t\t\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;;AAGH,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,kBAAk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,CAAE;AAAA,EACT;;AAGK,MAAM,QAAqB;AAAA,EACjC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,IACX;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,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,QAAQ;AAAA,cACP,OAAO;AAAA,gBACN,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,YAAY,CAAE;AAAA,kBACd,YAAY,CAAE;AAAA,gBACd;AAAA,cACD;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;;;;"}
|
@@ -6,17 +6,13 @@ const mocks = [
|
|
6
6
|
__TYPE__: "SharedSliceContent",
|
7
7
|
variation: "default",
|
8
8
|
primary: {
|
9
|
-
callToActionLabel: {
|
10
|
-
__TYPE__: "FieldContent",
|
11
|
-
type: "Text",
|
12
|
-
value: "View customer stories"
|
13
|
-
},
|
14
9
|
callToActionLink: {
|
15
10
|
__TYPE__: "LinkContent",
|
16
11
|
value: {
|
17
12
|
__TYPE__: "ExternalLink",
|
18
13
|
url: "https://prismic.io",
|
19
|
-
target: "_blank"
|
14
|
+
target: "_blank",
|
15
|
+
text: "View customer stories"
|
20
16
|
}
|
21
17
|
},
|
22
18
|
eyebrowHeadline: {
|
@@ -273,19 +269,13 @@ const model = {
|
|
273
269
|
single: "strong,em,rtl,heading2"
|
274
270
|
}
|
275
271
|
},
|
276
|
-
callToActionLabel: {
|
277
|
-
type: "Text",
|
278
|
-
config: {
|
279
|
-
label: "callToActionLabel",
|
280
|
-
placeholder: ""
|
281
|
-
}
|
282
|
-
},
|
283
272
|
callToActionLink: {
|
284
273
|
type: "Link",
|
285
274
|
config: {
|
286
275
|
label: "callToActionLink",
|
287
276
|
placeholder: "",
|
288
|
-
select: null
|
277
|
+
select: null,
|
278
|
+
allowText: true
|
289
279
|
}
|
290
280
|
},
|
291
281
|
logos: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CustomerLogos/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: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"View customer stories\",\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: \"_blank\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\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: \"Trusted by\",\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\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\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: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\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\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"link\",\n\t\t\t\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t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;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;"}
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CustomerLogos/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: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\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: \"_blank\",\n\t\t\t\t\ttext: \"View customer stories\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\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: \"Trusted by\",\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\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\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: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\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\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"link\",\n\t\t\t\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;;AAGH,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,kBAAkB;AAAA,QACjB,UAAU;AAAA,QACV,OAAO;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,UACL,QAAQ;AAAA,UACR,MAAM;AAAA,QACN;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,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,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;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,QAAQ;AAAA,cACP,OAAO;AAAA,gBACN,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,YAAY,CAAE;AAAA,kBACd,YAAY,CAAE;AAAA,gBACd;AAAA,cACD;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;"}
|
@@ -63,17 +63,13 @@ const mocks = [
|
|
63
63
|
__TYPE__: "ImageContent",
|
64
64
|
thumbnails: {}
|
65
65
|
},
|
66
|
-
callToActionLabel: {
|
67
|
-
__TYPE__: "FieldContent",
|
68
|
-
type: "Text",
|
69
|
-
value: "Call to Action"
|
70
|
-
},
|
71
66
|
callToActionLink: {
|
72
67
|
__TYPE__: "LinkContent",
|
73
68
|
value: {
|
74
69
|
__TYPE__: "ExternalLink",
|
75
70
|
url: "https://prismic.io",
|
76
|
-
target: ""
|
71
|
+
target: "",
|
72
|
+
text: "Call to Action"
|
77
73
|
}
|
78
74
|
}
|
79
75
|
},
|
@@ -145,17 +141,13 @@ const mocks = [
|
|
145
141
|
__TYPE__: "ImageContent",
|
146
142
|
thumbnails: {}
|
147
143
|
},
|
148
|
-
callToActionLabel: {
|
149
|
-
__TYPE__: "FieldContent",
|
150
|
-
type: "Text",
|
151
|
-
value: "Call to Action"
|
152
|
-
},
|
153
144
|
callToActionLink: {
|
154
145
|
__TYPE__: "LinkContent",
|
155
146
|
value: {
|
156
147
|
__TYPE__: "ExternalLink",
|
157
148
|
url: "https://prismic.io",
|
158
|
-
target: ""
|
149
|
+
target: "",
|
150
|
+
text: "Call to Action"
|
159
151
|
}
|
160
152
|
}
|
161
153
|
},
|
@@ -209,19 +201,13 @@ const model = {
|
|
209
201
|
thumbnails: []
|
210
202
|
}
|
211
203
|
},
|
212
|
-
callToActionLabel: {
|
213
|
-
type: "Text",
|
214
|
-
config: {
|
215
|
-
label: "callToActionLabel",
|
216
|
-
placeholder: ""
|
217
|
-
}
|
218
|
-
},
|
219
204
|
callToActionLink: {
|
220
205
|
type: "Link",
|
221
206
|
config: {
|
222
207
|
label: "callToActionLink",
|
223
208
|
placeholder: "",
|
224
|
-
select: null
|
209
|
+
select: null,
|
210
|
+
allowText: true
|
225
211
|
}
|
226
212
|
}
|
227
213
|
},
|
@@ -268,19 +254,13 @@ const model = {
|
|
268
254
|
thumbnails: []
|
269
255
|
}
|
270
256
|
},
|
271
|
-
callToActionLabel: {
|
272
|
-
type: "Text",
|
273
|
-
config: {
|
274
|
-
label: "callToActionLabel",
|
275
|
-
placeholder: ""
|
276
|
-
}
|
277
|
-
},
|
278
257
|
callToActionLink: {
|
279
258
|
type: "Link",
|
280
259
|
config: {
|
281
260
|
label: "callToActionLink",
|
282
261
|
placeholder: "",
|
283
|
-
select: null
|
262
|
+
select: null,
|
263
|
+
allowText: true
|
284
264
|
}
|
285
265
|
}
|
286
266
|
},
|
@@ -1 +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},\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;AA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Aa;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;;;;;"}
|
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\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\ttext: \"Call to Action\",\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\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\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\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\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\tallowText: true,\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\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\tallowText: true,\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,QAA8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ACZ,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,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
|
@@ -61,17 +61,13 @@ const mocks = [
|
|
61
61
|
__TYPE__: "ImageContent",
|
62
62
|
thumbnails: {}
|
63
63
|
},
|
64
|
-
callToActionLabel: {
|
65
|
-
__TYPE__: "FieldContent",
|
66
|
-
type: "Text",
|
67
|
-
value: "Call to Action"
|
68
|
-
},
|
69
64
|
callToActionLink: {
|
70
65
|
__TYPE__: "LinkContent",
|
71
66
|
value: {
|
72
67
|
__TYPE__: "ExternalLink",
|
73
68
|
url: "https://prismic.io",
|
74
|
-
target: ""
|
69
|
+
target: "",
|
70
|
+
text: "Call to Action"
|
75
71
|
}
|
76
72
|
}
|
77
73
|
},
|
@@ -143,17 +139,13 @@ const mocks = [
|
|
143
139
|
__TYPE__: "ImageContent",
|
144
140
|
thumbnails: {}
|
145
141
|
},
|
146
|
-
callToActionLabel: {
|
147
|
-
__TYPE__: "FieldContent",
|
148
|
-
type: "Text",
|
149
|
-
value: "Call to Action"
|
150
|
-
},
|
151
142
|
callToActionLink: {
|
152
143
|
__TYPE__: "LinkContent",
|
153
144
|
value: {
|
154
145
|
__TYPE__: "ExternalLink",
|
155
146
|
url: "https://prismic.io",
|
156
|
-
target: ""
|
147
|
+
target: "",
|
148
|
+
text: "Call to Action"
|
157
149
|
}
|
158
150
|
}
|
159
151
|
},
|
@@ -207,19 +199,13 @@ const model = {
|
|
207
199
|
thumbnails: []
|
208
200
|
}
|
209
201
|
},
|
210
|
-
callToActionLabel: {
|
211
|
-
type: "Text",
|
212
|
-
config: {
|
213
|
-
label: "callToActionLabel",
|
214
|
-
placeholder: ""
|
215
|
-
}
|
216
|
-
},
|
217
202
|
callToActionLink: {
|
218
203
|
type: "Link",
|
219
204
|
config: {
|
220
205
|
label: "callToActionLink",
|
221
206
|
placeholder: "",
|
222
|
-
select: null
|
207
|
+
select: null,
|
208
|
+
allowText: true
|
223
209
|
}
|
224
210
|
}
|
225
211
|
},
|
@@ -266,19 +252,13 @@ const model = {
|
|
266
252
|
thumbnails: []
|
267
253
|
}
|
268
254
|
},
|
269
|
-
callToActionLabel: {
|
270
|
-
type: "Text",
|
271
|
-
config: {
|
272
|
-
label: "callToActionLabel",
|
273
|
-
placeholder: ""
|
274
|
-
}
|
275
|
-
},
|
276
255
|
callToActionLink: {
|
277
256
|
type: "Link",
|
278
257
|
config: {
|
279
258
|
label: "callToActionLink",
|
280
259
|
placeholder: "",
|
281
|
-
select: null
|
260
|
+
select: null,
|
261
|
+
allowText: true
|
282
262
|
}
|
283
263
|
}
|
284
264
|
},
|
@@ -1 +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},\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;AAA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AAmB;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;;"}
|
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\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\ttext: \"Call to Action\",\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\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\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\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\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\tallowText: true,\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\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\tallowText: true,\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,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YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;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-sveltekit",
|
3
|
-
"version": "0.3.50-alpha.lg-text-in-links.
|
3
|
+
"version": "0.3.50-alpha.lg-text-in-links.4",
|
4
4
|
"description": "Slice Machine adapter for SvelteKit.",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -63,8 +63,8 @@
|
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
65
|
"@prismicio/simulator": "^0.1.4",
|
66
|
-
"@prismicio/types-internal": "^2.
|
67
|
-
"@slicemachine/plugin-kit": "0.4.50-alpha.lg-text-in-links.
|
66
|
+
"@prismicio/types-internal": "^2.7.0",
|
67
|
+
"@slicemachine/plugin-kit": "0.4.50-alpha.lg-text-in-links.4",
|
68
68
|
"common-tags": "^1.8.2",
|
69
69
|
"fp-ts": "^2.13.1",
|
70
70
|
"io-ts": "^2.2.20",
|
@@ -42,13 +42,9 @@ export const mocks: SharedSliceContent[] = [
|
|
42
42
|
value: {
|
43
43
|
__TYPE__: "ExternalLink",
|
44
44
|
url: "https://twitter.com/prismicio",
|
45
|
+
text: "Learn more",
|
45
46
|
},
|
46
47
|
},
|
47
|
-
buttonlabel: {
|
48
|
-
__TYPE__: "FieldContent",
|
49
|
-
type: "Text",
|
50
|
-
value: "Click here",
|
51
|
-
},
|
52
48
|
image: {
|
53
49
|
origin: {
|
54
50
|
id: "9aOswReDKPo",
|
@@ -72,11 +68,6 @@ export const mocks: SharedSliceContent[] = [
|
|
72
68
|
__TYPE__: "ImageContent",
|
73
69
|
thumbnails: {},
|
74
70
|
},
|
75
|
-
buttonLabel: {
|
76
|
-
__TYPE__: "FieldContent",
|
77
|
-
type: "Text",
|
78
|
-
value: "Learn more",
|
79
|
-
},
|
80
71
|
},
|
81
72
|
items: [],
|
82
73
|
},
|
@@ -138,13 +129,9 @@ export const mocks: SharedSliceContent[] = [
|
|
138
129
|
value: {
|
139
130
|
__TYPE__: "ExternalLink",
|
140
131
|
url: "https://prismic.io",
|
132
|
+
text: "Learn more!",
|
141
133
|
},
|
142
134
|
},
|
143
|
-
buttonLabel: {
|
144
|
-
__TYPE__: "FieldContent",
|
145
|
-
type: "Text",
|
146
|
-
value: "Learn more!",
|
147
|
-
},
|
148
135
|
},
|
149
136
|
items: [],
|
150
137
|
},
|
@@ -194,13 +181,7 @@ export const model: SharedSlice = {
|
|
194
181
|
placeholder: "Redirect URL for CTA button",
|
195
182
|
allowTargetBlank: true,
|
196
183
|
select: null,
|
197
|
-
|
198
|
-
},
|
199
|
-
buttonLabel: {
|
200
|
-
type: "Text",
|
201
|
-
config: {
|
202
|
-
label: "buttonLabel",
|
203
|
-
placeholder: "Label for CTA button",
|
184
|
+
allowText: true,
|
204
185
|
},
|
205
186
|
},
|
206
187
|
},
|
@@ -244,13 +225,7 @@ export const model: SharedSlice = {
|
|
244
225
|
placeholder: "Redirect URL for CTA button",
|
245
226
|
allowTargetBlank: true,
|
246
227
|
select: null,
|
247
|
-
|
248
|
-
},
|
249
|
-
buttonLabel: {
|
250
|
-
type: "Text",
|
251
|
-
config: {
|
252
|
-
label: "buttonLabel",
|
253
|
-
placeholder: "Label for CTA button",
|
228
|
+
allowText: true,
|
254
229
|
},
|
255
230
|
},
|
256
231
|
},
|
@@ -10,17 +10,13 @@ export const mocks: SharedSliceContent[] = [
|
|
10
10
|
__TYPE__: "SharedSliceContent",
|
11
11
|
variation: "default",
|
12
12
|
primary: {
|
13
|
-
callToActionLabel: {
|
14
|
-
__TYPE__: "FieldContent",
|
15
|
-
type: "Text",
|
16
|
-
value: "View customer stories",
|
17
|
-
},
|
18
13
|
callToActionLink: {
|
19
14
|
__TYPE__: "LinkContent",
|
20
15
|
value: {
|
21
16
|
__TYPE__: "ExternalLink",
|
22
17
|
url: "https://prismic.io",
|
23
18
|
target: "_blank",
|
19
|
+
text: "View customer stories",
|
24
20
|
},
|
25
21
|
},
|
26
22
|
eyebrowHeadline: {
|
@@ -278,19 +274,13 @@ export const model: SharedSlice = {
|
|
278
274
|
single: "strong,em,rtl,heading2",
|
279
275
|
},
|
280
276
|
},
|
281
|
-
callToActionLabel: {
|
282
|
-
type: "Text",
|
283
|
-
config: {
|
284
|
-
label: "callToActionLabel",
|
285
|
-
placeholder: "",
|
286
|
-
},
|
287
|
-
},
|
288
277
|
callToActionLink: {
|
289
278
|
type: "Link",
|
290
279
|
config: {
|
291
280
|
label: "callToActionLink",
|
292
281
|
placeholder: "",
|
293
282
|
select: null,
|
283
|
+
allowText: true,
|
294
284
|
},
|
295
285
|
},
|
296
286
|
logos: {
|
@@ -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
|
},
|