@slicemachine/adapter-sveltekit 0.3.48-alpha.dani-link-text-templates.1 → 0.3.48-alpha.lg-text-in-links.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/CallToAction/javascript.svelte +3 -1
- package/dist/CallToAction/typescript.svelte +3 -1
- package/dist/CustomerLogos/javascript.svelte +3 -1
- package/dist/CustomerLogos/typescript.svelte +3 -1
- package/dist/Hero/javascript.svelte +3 -1
- package/dist/Hero/typescript.svelte +3 -1
- package/dist/sliceTemplates/CallToAction/index.cjs +33 -8
- package/dist/sliceTemplates/CallToAction/index.cjs.map +1 -1
- package/dist/sliceTemplates/CallToAction/index.js +33 -8
- package/dist/sliceTemplates/CallToAction/index.js.map +1 -1
- package/dist/sliceTemplates/CustomerLogos/index.cjs +14 -4
- package/dist/sliceTemplates/CustomerLogos/index.cjs.map +1 -1
- package/dist/sliceTemplates/CustomerLogos/index.js +14 -4
- package/dist/sliceTemplates/CustomerLogos/index.js.map +1 -1
- package/dist/sliceTemplates/Hero/index.cjs +28 -8
- package/dist/sliceTemplates/Hero/index.cjs.map +1 -1
- package/dist/sliceTemplates/Hero/index.js +28 -8
- package/dist/sliceTemplates/Hero/index.js.map +1 -1
- package/package.json +2 -2
- package/src/sliceTemplates/CallToAction/index.ts +29 -4
- package/src/sliceTemplates/CustomerLogos/index.ts +12 -2
- package/src/sliceTemplates/Hero/index.ts +24 -4
@@ -39,10 +39,14 @@ const mocks = [
|
|
39
39
|
__TYPE__: "LinkContent",
|
40
40
|
value: {
|
41
41
|
__TYPE__: "ExternalLink",
|
42
|
-
url: "https://twitter.com/prismicio"
|
43
|
-
text: "Learn more"
|
42
|
+
url: "https://twitter.com/prismicio"
|
44
43
|
}
|
45
44
|
},
|
45
|
+
buttonlabel: {
|
46
|
+
__TYPE__: "FieldContent",
|
47
|
+
type: "Text",
|
48
|
+
value: "Click here"
|
49
|
+
},
|
46
50
|
image: {
|
47
51
|
origin: {
|
48
52
|
id: "9aOswReDKPo",
|
@@ -65,6 +69,11 @@ const mocks = [
|
|
65
69
|
alt: "Example Image",
|
66
70
|
__TYPE__: "ImageContent",
|
67
71
|
thumbnails: {}
|
72
|
+
},
|
73
|
+
buttonLabel: {
|
74
|
+
__TYPE__: "FieldContent",
|
75
|
+
type: "Text",
|
76
|
+
value: "Learn more"
|
68
77
|
}
|
69
78
|
},
|
70
79
|
items: []
|
@@ -126,9 +135,13 @@ const mocks = [
|
|
126
135
|
__TYPE__: "LinkContent",
|
127
136
|
value: {
|
128
137
|
__TYPE__: "ExternalLink",
|
129
|
-
url: "https://prismic.io"
|
130
|
-
text: "Learn more!"
|
138
|
+
url: "https://prismic.io"
|
131
139
|
}
|
140
|
+
},
|
141
|
+
buttonLabel: {
|
142
|
+
__TYPE__: "FieldContent",
|
143
|
+
type: "Text",
|
144
|
+
value: "Learn more!"
|
132
145
|
}
|
133
146
|
},
|
134
147
|
items: []
|
@@ -176,8 +189,14 @@ const model = {
|
|
176
189
|
label: "buttonLink",
|
177
190
|
placeholder: "Redirect URL for CTA button",
|
178
191
|
allowTargetBlank: true,
|
179
|
-
select: null
|
180
|
-
|
192
|
+
select: null
|
193
|
+
}
|
194
|
+
},
|
195
|
+
buttonLabel: {
|
196
|
+
type: "Text",
|
197
|
+
config: {
|
198
|
+
label: "buttonLabel",
|
199
|
+
placeholder: "Label for CTA button"
|
181
200
|
}
|
182
201
|
}
|
183
202
|
},
|
@@ -219,8 +238,14 @@ const model = {
|
|
219
238
|
label: "buttonLink",
|
220
239
|
placeholder: "Redirect URL for CTA button",
|
221
240
|
allowTargetBlank: true,
|
222
|
-
select: null
|
223
|
-
|
241
|
+
select: null
|
242
|
+
}
|
243
|
+
},
|
244
|
+
buttonLabel: {
|
245
|
+
type: "Text",
|
246
|
+
config: {
|
247
|
+
label: "buttonLabel",
|
248
|
+
placeholder: "Label for CTA button"
|
224
249
|
}
|
225
250
|
}
|
226
251
|
},
|
@@ -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\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\ttext: { type: \"Text\" },\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\ttext: { type: \"Text\" },\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,OAA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ACX,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,IACD;AAAA,MACC,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,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,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;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},\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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,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;;;;;"}
|
@@ -37,10 +37,14 @@ const mocks = [
|
|
37
37
|
__TYPE__: "LinkContent",
|
38
38
|
value: {
|
39
39
|
__TYPE__: "ExternalLink",
|
40
|
-
url: "https://twitter.com/prismicio"
|
41
|
-
text: "Learn more"
|
40
|
+
url: "https://twitter.com/prismicio"
|
42
41
|
}
|
43
42
|
},
|
43
|
+
buttonlabel: {
|
44
|
+
__TYPE__: "FieldContent",
|
45
|
+
type: "Text",
|
46
|
+
value: "Click here"
|
47
|
+
},
|
44
48
|
image: {
|
45
49
|
origin: {
|
46
50
|
id: "9aOswReDKPo",
|
@@ -63,6 +67,11 @@ const mocks = [
|
|
63
67
|
alt: "Example Image",
|
64
68
|
__TYPE__: "ImageContent",
|
65
69
|
thumbnails: {}
|
70
|
+
},
|
71
|
+
buttonLabel: {
|
72
|
+
__TYPE__: "FieldContent",
|
73
|
+
type: "Text",
|
74
|
+
value: "Learn more"
|
66
75
|
}
|
67
76
|
},
|
68
77
|
items: []
|
@@ -124,9 +133,13 @@ const mocks = [
|
|
124
133
|
__TYPE__: "LinkContent",
|
125
134
|
value: {
|
126
135
|
__TYPE__: "ExternalLink",
|
127
|
-
url: "https://prismic.io"
|
128
|
-
text: "Learn more!"
|
136
|
+
url: "https://prismic.io"
|
129
137
|
}
|
138
|
+
},
|
139
|
+
buttonLabel: {
|
140
|
+
__TYPE__: "FieldContent",
|
141
|
+
type: "Text",
|
142
|
+
value: "Learn more!"
|
130
143
|
}
|
131
144
|
},
|
132
145
|
items: []
|
@@ -174,8 +187,14 @@ const model = {
|
|
174
187
|
label: "buttonLink",
|
175
188
|
placeholder: "Redirect URL for CTA button",
|
176
189
|
allowTargetBlank: true,
|
177
|
-
select: null
|
178
|
-
|
190
|
+
select: null
|
191
|
+
}
|
192
|
+
},
|
193
|
+
buttonLabel: {
|
194
|
+
type: "Text",
|
195
|
+
config: {
|
196
|
+
label: "buttonLabel",
|
197
|
+
placeholder: "Label for CTA button"
|
179
198
|
}
|
180
199
|
}
|
181
200
|
},
|
@@ -217,8 +236,14 @@ const model = {
|
|
217
236
|
label: "buttonLink",
|
218
237
|
placeholder: "Redirect URL for CTA button",
|
219
238
|
allowTargetBlank: true,
|
220
|
-
select: null
|
221
|
-
|
239
|
+
select: null
|
240
|
+
}
|
241
|
+
},
|
242
|
+
buttonLabel: {
|
243
|
+
type: "Text",
|
244
|
+
config: {
|
245
|
+
label: "buttonLabel",
|
246
|
+
placeholder: "Label for CTA button"
|
222
247
|
}
|
223
248
|
}
|
224
249
|
},
|
@@ -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\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\ttext: { type: \"Text\" },\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\ttext: { type: \"Text\" },\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,OA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AAS,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,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;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},\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,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D,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
|
@@ -8,13 +8,17 @@ 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
|
+
},
|
11
16
|
callToActionLink: {
|
12
17
|
__TYPE__: "LinkContent",
|
13
18
|
value: {
|
14
19
|
__TYPE__: "ExternalLink",
|
15
20
|
url: "https://prismic.io",
|
16
|
-
target: "_blank"
|
17
|
-
text: "View customer stories"
|
21
|
+
target: "_blank"
|
18
22
|
}
|
19
23
|
},
|
20
24
|
eyebrowHeadline: {
|
@@ -271,13 +275,19 @@ const model = {
|
|
271
275
|
single: "strong,em,rtl,heading2"
|
272
276
|
}
|
273
277
|
},
|
278
|
+
callToActionLabel: {
|
279
|
+
type: "Text",
|
280
|
+
config: {
|
281
|
+
label: "callToActionLabel",
|
282
|
+
placeholder: ""
|
283
|
+
}
|
284
|
+
},
|
274
285
|
callToActionLink: {
|
275
286
|
type: "Link",
|
276
287
|
config: {
|
277
288
|
label: "callToActionLink",
|
278
289
|
placeholder: "",
|
279
|
-
select: null
|
280
|
-
text: { type: "Text" }
|
290
|
+
select: null
|
281
291
|
}
|
282
292
|
},
|
283
293
|
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\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\ttext: { type: \"Text\" },\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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A,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\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;AA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;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,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,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,13 +6,17 @@ 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
|
+
},
|
9
14
|
callToActionLink: {
|
10
15
|
__TYPE__: "LinkContent",
|
11
16
|
value: {
|
12
17
|
__TYPE__: "ExternalLink",
|
13
18
|
url: "https://prismic.io",
|
14
|
-
target: "_blank"
|
15
|
-
text: "View customer stories"
|
19
|
+
target: "_blank"
|
16
20
|
}
|
17
21
|
},
|
18
22
|
eyebrowHeadline: {
|
@@ -269,13 +273,19 @@ const model = {
|
|
269
273
|
single: "strong,em,rtl,heading2"
|
270
274
|
}
|
271
275
|
},
|
276
|
+
callToActionLabel: {
|
277
|
+
type: "Text",
|
278
|
+
config: {
|
279
|
+
label: "callToActionLabel",
|
280
|
+
placeholder: ""
|
281
|
+
}
|
282
|
+
},
|
272
283
|
callToActionLink: {
|
273
284
|
type: "Link",
|
274
285
|
config: {
|
275
286
|
label: "callToActionLink",
|
276
287
|
placeholder: "",
|
277
|
-
select: null
|
278
|
-
text: { type: "Text" }
|
288
|
+
select: null
|
279
289
|
}
|
280
290
|
},
|
281
291
|
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\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\ttext: { type: \"Text\" },\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,SAA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AAA,kBACR;AAAA,gBACD;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,IACD,OAAO,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,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;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.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\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,Q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,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;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,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,13 +63,17 @@ 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
|
+
},
|
66
71
|
callToActionLink: {
|
67
72
|
__TYPE__: "LinkContent",
|
68
73
|
value: {
|
69
74
|
__TYPE__: "ExternalLink",
|
70
75
|
url: "https://prismic.io",
|
71
|
-
target: ""
|
72
|
-
text: "Call to Action"
|
76
|
+
target: ""
|
73
77
|
}
|
74
78
|
}
|
75
79
|
},
|
@@ -141,13 +145,17 @@ const mocks = [
|
|
141
145
|
__TYPE__: "ImageContent",
|
142
146
|
thumbnails: {}
|
143
147
|
},
|
148
|
+
callToActionLabel: {
|
149
|
+
__TYPE__: "FieldContent",
|
150
|
+
type: "Text",
|
151
|
+
value: "Call to Action"
|
152
|
+
},
|
144
153
|
callToActionLink: {
|
145
154
|
__TYPE__: "LinkContent",
|
146
155
|
value: {
|
147
156
|
__TYPE__: "ExternalLink",
|
148
157
|
url: "https://prismic.io",
|
149
|
-
target: ""
|
150
|
-
text: "Call to Action"
|
158
|
+
target: ""
|
151
159
|
}
|
152
160
|
}
|
153
161
|
},
|
@@ -201,13 +209,19 @@ const model = {
|
|
201
209
|
thumbnails: []
|
202
210
|
}
|
203
211
|
},
|
212
|
+
callToActionLabel: {
|
213
|
+
type: "Text",
|
214
|
+
config: {
|
215
|
+
label: "callToActionLabel",
|
216
|
+
placeholder: ""
|
217
|
+
}
|
218
|
+
},
|
204
219
|
callToActionLink: {
|
205
220
|
type: "Link",
|
206
221
|
config: {
|
207
222
|
label: "callToActionLink",
|
208
223
|
placeholder: "",
|
209
|
-
select: null
|
210
|
-
text: { type: "Text" }
|
224
|
+
select: null
|
211
225
|
}
|
212
226
|
}
|
213
227
|
},
|
@@ -254,13 +268,19 @@ const model = {
|
|
254
268
|
thumbnails: []
|
255
269
|
}
|
256
270
|
},
|
271
|
+
callToActionLabel: {
|
272
|
+
type: "Text",
|
273
|
+
config: {
|
274
|
+
label: "callToActionLabel",
|
275
|
+
placeholder: ""
|
276
|
+
}
|
277
|
+
},
|
257
278
|
callToActionLink: {
|
258
279
|
type: "Link",
|
259
280
|
config: {
|
260
281
|
label: "callToActionLink",
|
261
282
|
placeholder: "",
|
262
|
-
select: null
|
263
|
-
text: { type: "Text" }
|
283
|
+
select: null
|
264
284
|
}
|
265
285
|
}
|
266
286
|
},
|
@@ -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\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\ttext: { type: \"Text\" },\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\ttext: { type: \"Text\" },\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QACN,KAAK;AAAA,QACL,QAAQ;AAAA,UACP,IAAI;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA,U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B;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,IACD;AAAA,MACC,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;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\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,C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ACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,mBAAmB;AAAA,UAClB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
|
@@ -61,13 +61,17 @@ 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
|
+
},
|
64
69
|
callToActionLink: {
|
65
70
|
__TYPE__: "LinkContent",
|
66
71
|
value: {
|
67
72
|
__TYPE__: "ExternalLink",
|
68
73
|
url: "https://prismic.io",
|
69
|
-
target: ""
|
70
|
-
text: "Call to Action"
|
74
|
+
target: ""
|
71
75
|
}
|
72
76
|
}
|
73
77
|
},
|
@@ -139,13 +143,17 @@ const mocks = [
|
|
139
143
|
__TYPE__: "ImageContent",
|
140
144
|
thumbnails: {}
|
141
145
|
},
|
146
|
+
callToActionLabel: {
|
147
|
+
__TYPE__: "FieldContent",
|
148
|
+
type: "Text",
|
149
|
+
value: "Call to Action"
|
150
|
+
},
|
142
151
|
callToActionLink: {
|
143
152
|
__TYPE__: "LinkContent",
|
144
153
|
value: {
|
145
154
|
__TYPE__: "ExternalLink",
|
146
155
|
url: "https://prismic.io",
|
147
|
-
target: ""
|
148
|
-
text: "Call to Action"
|
156
|
+
target: ""
|
149
157
|
}
|
150
158
|
}
|
151
159
|
},
|
@@ -199,13 +207,19 @@ const model = {
|
|
199
207
|
thumbnails: []
|
200
208
|
}
|
201
209
|
},
|
210
|
+
callToActionLabel: {
|
211
|
+
type: "Text",
|
212
|
+
config: {
|
213
|
+
label: "callToActionLabel",
|
214
|
+
placeholder: ""
|
215
|
+
}
|
216
|
+
},
|
202
217
|
callToActionLink: {
|
203
218
|
type: "Link",
|
204
219
|
config: {
|
205
220
|
label: "callToActionLink",
|
206
221
|
placeholder: "",
|
207
|
-
select: null
|
208
|
-
text: { type: "Text" }
|
222
|
+
select: null
|
209
223
|
}
|
210
224
|
}
|
211
225
|
},
|
@@ -252,13 +266,19 @@ const model = {
|
|
252
266
|
thumbnails: []
|
253
267
|
}
|
254
268
|
},
|
269
|
+
callToActionLabel: {
|
270
|
+
type: "Text",
|
271
|
+
config: {
|
272
|
+
label: "callToActionLabel",
|
273
|
+
placeholder: ""
|
274
|
+
}
|
275
|
+
},
|
255
276
|
callToActionLink: {
|
256
277
|
type: "Link",
|
257
278
|
config: {
|
258
279
|
label: "callToActionLink",
|
259
280
|
placeholder: "",
|
260
|
-
select: null
|
261
|
-
text: { type: "Text" }
|
281
|
+
select: null
|
262
282
|
}
|
263
283
|
}
|
264
284
|
},
|
@@ -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\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\ttext: { type: \"Text\" },\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\ttext: { type: \"Text\" },\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QACN,KAAK;AAAA,QACL,QAAQ;AAAA,UACP,IAAI;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QACR;AAAA,QACD,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,MAAM;AAAA,UACL,YAAY;AAAA,UACZ,MAAM;AAAA,UACN,MAAM;AAAA,YACL,GAAG;A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,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,IACD;AAAA,MACC,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,MAAM,EAAE,MAAM,OAAQ;AAAA,UACtB;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\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;AAA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AA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,mBAAmB;AAAA,UAClB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@slicemachine/adapter-sveltekit",
|
3
|
-
"version": "0.3.48-alpha.
|
3
|
+
"version": "0.3.48-alpha.lg-text-in-links.2",
|
4
4
|
"description": "Slice Machine adapter for SvelteKit.",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"dependencies": {
|
65
65
|
"@prismicio/simulator": "^0.1.4",
|
66
66
|
"@prismicio/types-internal": "^2.5.0",
|
67
|
-
"@slicemachine/plugin-kit": "0.4.48-alpha.
|
67
|
+
"@slicemachine/plugin-kit": "0.4.48-alpha.lg-text-in-links.2",
|
68
68
|
"common-tags": "^1.8.2",
|
69
69
|
"fp-ts": "^2.13.1",
|
70
70
|
"io-ts": "^2.2.20",
|
@@ -42,9 +42,13 @@ export const mocks: SharedSliceContent[] = [
|
|
42
42
|
value: {
|
43
43
|
__TYPE__: "ExternalLink",
|
44
44
|
url: "https://twitter.com/prismicio",
|
45
|
-
text: "Learn more",
|
46
45
|
},
|
47
46
|
},
|
47
|
+
buttonlabel: {
|
48
|
+
__TYPE__: "FieldContent",
|
49
|
+
type: "Text",
|
50
|
+
value: "Click here",
|
51
|
+
},
|
48
52
|
image: {
|
49
53
|
origin: {
|
50
54
|
id: "9aOswReDKPo",
|
@@ -68,6 +72,11 @@ export const mocks: SharedSliceContent[] = [
|
|
68
72
|
__TYPE__: "ImageContent",
|
69
73
|
thumbnails: {},
|
70
74
|
},
|
75
|
+
buttonLabel: {
|
76
|
+
__TYPE__: "FieldContent",
|
77
|
+
type: "Text",
|
78
|
+
value: "Learn more",
|
79
|
+
},
|
71
80
|
},
|
72
81
|
items: [],
|
73
82
|
},
|
@@ -129,9 +138,13 @@ export const mocks: SharedSliceContent[] = [
|
|
129
138
|
value: {
|
130
139
|
__TYPE__: "ExternalLink",
|
131
140
|
url: "https://prismic.io",
|
132
|
-
text: "Learn more!",
|
133
141
|
},
|
134
142
|
},
|
143
|
+
buttonLabel: {
|
144
|
+
__TYPE__: "FieldContent",
|
145
|
+
type: "Text",
|
146
|
+
value: "Learn more!",
|
147
|
+
},
|
135
148
|
},
|
136
149
|
items: [],
|
137
150
|
},
|
@@ -181,7 +194,13 @@ export const model: SharedSlice = {
|
|
181
194
|
placeholder: "Redirect URL for CTA button",
|
182
195
|
allowTargetBlank: true,
|
183
196
|
select: null,
|
184
|
-
|
197
|
+
},
|
198
|
+
},
|
199
|
+
buttonLabel: {
|
200
|
+
type: "Text",
|
201
|
+
config: {
|
202
|
+
label: "buttonLabel",
|
203
|
+
placeholder: "Label for CTA button",
|
185
204
|
},
|
186
205
|
},
|
187
206
|
},
|
@@ -225,7 +244,13 @@ export const model: SharedSlice = {
|
|
225
244
|
placeholder: "Redirect URL for CTA button",
|
226
245
|
allowTargetBlank: true,
|
227
246
|
select: null,
|
228
|
-
|
247
|
+
},
|
248
|
+
},
|
249
|
+
buttonLabel: {
|
250
|
+
type: "Text",
|
251
|
+
config: {
|
252
|
+
label: "buttonLabel",
|
253
|
+
placeholder: "Label for CTA button",
|
229
254
|
},
|
230
255
|
},
|
231
256
|
},
|
@@ -10,13 +10,17 @@ 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
|
+
},
|
13
18
|
callToActionLink: {
|
14
19
|
__TYPE__: "LinkContent",
|
15
20
|
value: {
|
16
21
|
__TYPE__: "ExternalLink",
|
17
22
|
url: "https://prismic.io",
|
18
23
|
target: "_blank",
|
19
|
-
text: "View customer stories",
|
20
24
|
},
|
21
25
|
},
|
22
26
|
eyebrowHeadline: {
|
@@ -274,13 +278,19 @@ export const model: SharedSlice = {
|
|
274
278
|
single: "strong,em,rtl,heading2",
|
275
279
|
},
|
276
280
|
},
|
281
|
+
callToActionLabel: {
|
282
|
+
type: "Text",
|
283
|
+
config: {
|
284
|
+
label: "callToActionLabel",
|
285
|
+
placeholder: "",
|
286
|
+
},
|
287
|
+
},
|
277
288
|
callToActionLink: {
|
278
289
|
type: "Link",
|
279
290
|
config: {
|
280
291
|
label: "callToActionLink",
|
281
292
|
placeholder: "",
|
282
293
|
select: null,
|
283
|
-
text: { type: "Text" },
|
284
294
|
},
|
285
295
|
},
|
286
296
|
logos: {
|
@@ -65,13 +65,17 @@ 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
|
+
},
|
68
73
|
callToActionLink: {
|
69
74
|
__TYPE__: "LinkContent",
|
70
75
|
value: {
|
71
76
|
__TYPE__: "ExternalLink",
|
72
77
|
url: "https://prismic.io",
|
73
78
|
target: "",
|
74
|
-
text: "Call to Action",
|
75
79
|
},
|
76
80
|
},
|
77
81
|
},
|
@@ -143,13 +147,17 @@ export const mocks: SharedSliceContent[] = [
|
|
143
147
|
__TYPE__: "ImageContent",
|
144
148
|
thumbnails: {},
|
145
149
|
},
|
150
|
+
callToActionLabel: {
|
151
|
+
__TYPE__: "FieldContent",
|
152
|
+
type: "Text",
|
153
|
+
value: "Call to Action",
|
154
|
+
},
|
146
155
|
callToActionLink: {
|
147
156
|
__TYPE__: "LinkContent",
|
148
157
|
value: {
|
149
158
|
__TYPE__: "ExternalLink",
|
150
159
|
url: "https://prismic.io",
|
151
160
|
target: "",
|
152
|
-
text: "Call to Action",
|
153
161
|
},
|
154
162
|
},
|
155
163
|
},
|
@@ -206,13 +214,19 @@ export const model: SharedSlice = {
|
|
206
214
|
thumbnails: [],
|
207
215
|
},
|
208
216
|
},
|
217
|
+
callToActionLabel: {
|
218
|
+
type: "Text",
|
219
|
+
config: {
|
220
|
+
label: "callToActionLabel",
|
221
|
+
placeholder: "",
|
222
|
+
},
|
223
|
+
},
|
209
224
|
callToActionLink: {
|
210
225
|
type: "Link",
|
211
226
|
config: {
|
212
227
|
label: "callToActionLink",
|
213
228
|
placeholder: "",
|
214
229
|
select: null,
|
215
|
-
text: { type: "Text" },
|
216
230
|
},
|
217
231
|
},
|
218
232
|
},
|
@@ -261,13 +275,19 @@ export const model: SharedSlice = {
|
|
261
275
|
thumbnails: [],
|
262
276
|
},
|
263
277
|
},
|
278
|
+
callToActionLabel: {
|
279
|
+
type: "Text",
|
280
|
+
config: {
|
281
|
+
label: "callToActionLabel",
|
282
|
+
placeholder: "",
|
283
|
+
},
|
284
|
+
},
|
264
285
|
callToActionLink: {
|
265
286
|
type: "Link",
|
266
287
|
config: {
|
267
288
|
label: "callToActionLink",
|
268
289
|
placeholder: "",
|
269
290
|
select: null,
|
270
|
-
text: { type: "Text" },
|
271
291
|
},
|
272
292
|
},
|
273
293
|
},
|