@slicemachine/adapter-next 0.3.15-dev-next-release.3 → 0.3.15-dev-next-release.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,585 @@
1
+ import { pascalCase } from "../../lib/pascalCase.js";
2
+ import { stripIndent } from "common-tags";
3
+ const mocks = [
4
+ {
5
+ __TYPE__: "SharedSliceContent",
6
+ variation: "default",
7
+ primary: {
8
+ callToActionLabel: {
9
+ __TYPE__: "FieldContent",
10
+ type: "Text",
11
+ value: "View customer stories"
12
+ },
13
+ callToActionLink: {
14
+ __TYPE__: "LinkContent",
15
+ value: {
16
+ __TYPE__: "ExternalLink",
17
+ url: "https://prismic.io",
18
+ target: "_blank"
19
+ }
20
+ },
21
+ eyebrowHeadline: {
22
+ __TYPE__: "StructuredTextContent",
23
+ value: [
24
+ {
25
+ type: "heading2",
26
+ content: {
27
+ text: "Trusted by",
28
+ spans: []
29
+ },
30
+ direction: "ltr"
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ items: [
36
+ {
37
+ __TYPE__: "GroupItemContent",
38
+ value: [
39
+ [
40
+ "image",
41
+ {
42
+ origin: {
43
+ id: "main",
44
+ url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
45
+ width: 2545,
46
+ height: 2545
47
+ },
48
+ url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
49
+ width: 2545,
50
+ height: 2545,
51
+ edit: {
52
+ zoom: 1,
53
+ crop: {
54
+ x: 0,
55
+ y: 0
56
+ },
57
+ background: "transparent"
58
+ },
59
+ credits: null,
60
+ alt: "Customer Logo",
61
+ __TYPE__: "ImageContent",
62
+ thumbnails: {}
63
+ }
64
+ ],
65
+ [
66
+ "link",
67
+ {
68
+ __TYPE__: "LinkContent",
69
+ value: {
70
+ __TYPE__: "ExternalLink",
71
+ url: "http://twitter.com"
72
+ }
73
+ }
74
+ ]
75
+ ]
76
+ },
77
+ {
78
+ __TYPE__: "GroupItemContent",
79
+ value: [
80
+ [
81
+ "image",
82
+ {
83
+ url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
84
+ origin: {
85
+ id: "xnRg3xDcNnE",
86
+ url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
87
+ width: 7173,
88
+ height: 10041
89
+ },
90
+ width: 7173,
91
+ height: 10041,
92
+ edit: {
93
+ background: "transparent",
94
+ zoom: 1,
95
+ crop: {
96
+ x: 0,
97
+ y: 0
98
+ }
99
+ },
100
+ credits: null,
101
+ alt: "Customer Logo",
102
+ __TYPE__: "ImageContent",
103
+ thumbnails: {}
104
+ }
105
+ ],
106
+ [
107
+ "link",
108
+ {
109
+ __TYPE__: "LinkContent",
110
+ value: {
111
+ __TYPE__: "ExternalLink",
112
+ url: "https://prismic.io",
113
+ target: "_blank"
114
+ }
115
+ }
116
+ ]
117
+ ]
118
+ },
119
+ {
120
+ __TYPE__: "GroupItemContent",
121
+ value: [
122
+ [
123
+ "image",
124
+ {
125
+ url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
126
+ origin: {
127
+ id: "U1iYwZ8Dx7k",
128
+ url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
129
+ width: 3337,
130
+ height: 4171
131
+ },
132
+ width: 3337,
133
+ height: 4171,
134
+ edit: {
135
+ background: "transparent",
136
+ zoom: 1,
137
+ crop: {
138
+ x: 0,
139
+ y: 0
140
+ }
141
+ },
142
+ credits: null,
143
+ alt: "Customer Logo",
144
+ __TYPE__: "ImageContent",
145
+ thumbnails: {}
146
+ }
147
+ ],
148
+ [
149
+ "link",
150
+ {
151
+ __TYPE__: "LinkContent",
152
+ value: {
153
+ __TYPE__: "ExternalLink",
154
+ url: "https://prismic.io",
155
+ target: ""
156
+ }
157
+ }
158
+ ]
159
+ ]
160
+ },
161
+ {
162
+ __TYPE__: "GroupItemContent",
163
+ value: [
164
+ [
165
+ "image",
166
+ {
167
+ url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
168
+ origin: {
169
+ id: "nibgG33H0F8",
170
+ url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
171
+ width: 4e3,
172
+ height: 6e3
173
+ },
174
+ width: 4e3,
175
+ height: 6e3,
176
+ edit: {
177
+ background: "transparent",
178
+ zoom: 1,
179
+ crop: {
180
+ x: 0,
181
+ y: 0
182
+ }
183
+ },
184
+ credits: null,
185
+ alt: "Customer Logo",
186
+ __TYPE__: "ImageContent",
187
+ thumbnails: {}
188
+ }
189
+ ],
190
+ [
191
+ "link",
192
+ {
193
+ __TYPE__: "LinkContent",
194
+ value: {
195
+ __TYPE__: "ExternalLink",
196
+ url: "https://prismic.io",
197
+ target: ""
198
+ }
199
+ }
200
+ ]
201
+ ]
202
+ },
203
+ {
204
+ __TYPE__: "GroupItemContent",
205
+ value: [
206
+ [
207
+ "image",
208
+ {
209
+ url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
210
+ origin: {
211
+ id: "nAOZCYcLND8",
212
+ url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
213
+ width: 2749,
214
+ height: 4124
215
+ },
216
+ width: 2749,
217
+ height: 4124,
218
+ edit: {
219
+ background: "transparent",
220
+ zoom: 1,
221
+ crop: {
222
+ x: 0,
223
+ y: 0
224
+ }
225
+ },
226
+ credits: null,
227
+ alt: "Customer Logo",
228
+ __TYPE__: "ImageContent",
229
+ thumbnails: {}
230
+ }
231
+ ],
232
+ [
233
+ "link",
234
+ {
235
+ __TYPE__: "LinkContent",
236
+ value: {
237
+ __TYPE__: "ExternalLink",
238
+ url: "https://prismic.io",
239
+ target: ""
240
+ }
241
+ }
242
+ ]
243
+ ]
244
+ }
245
+ ]
246
+ }
247
+ ];
248
+ const createComponentContents = (model2, isTypeScriptProject) => {
249
+ const pascalName = pascalCase(model2.name);
250
+ if (isTypeScriptProject) {
251
+ return stripIndent`
252
+ import { Content, isFilled, asText } from "@prismicio/client";
253
+ import {
254
+ SliceComponentProps,
255
+ PrismicLink,
256
+ PrismicImage,
257
+ } from "@prismicio/react";
258
+
259
+ export type ${pascalName}Props =
260
+ SliceComponentProps<Content.${pascalName}Slice>;
261
+
262
+ const ${pascalName} = ({ slice }: ${pascalName}Props): JSX.Element => {
263
+ return (
264
+ <section
265
+ data-slice-type={slice.slice_type}
266
+ data-slice-variation={slice.variation}
267
+ className="essential-slice es-bounded es-customer-logos"
268
+ >
269
+ <div className="es-bounded-content es-customer-logos__content">
270
+ {isFilled.richText(slice.primary.eyebrowHeadline) && (
271
+ <h2 className="es-customer-logos__heading">
272
+ {asText(slice.primary.eyebrowHeadline)}
273
+ </h2>
274
+ )}
275
+ {slice.items.length > 0 && (
276
+ <ul className="es-customer-logos__logos">
277
+ {slice.items.map(
278
+ (item) =>
279
+ isFilled.image(item.image) && (
280
+ <li key={item.image.url} className="es-customer-logos__logo">
281
+ <PrismicLink
282
+ field={item.link}
283
+ className="es-customer-logos__link"
284
+ >
285
+ <PrismicImage
286
+ field={item.image}
287
+ height={26}
288
+ width={160}
289
+ className="es-customer-logos__logo__link__image"
290
+ />
291
+ </PrismicLink>
292
+ </li>
293
+ )
294
+ )}
295
+ </ul>
296
+ )}
297
+ <PrismicLink
298
+ field={slice.primary.callToActionLink}
299
+ className="es-customer-logos__button"
300
+ >
301
+ {slice.primary.callToActionLabel || "Learn more..."}
302
+ </PrismicLink>
303
+ </div>
304
+ <style>
305
+ {\`
306
+ .es-bounded {
307
+ margin: 0px;
308
+ min-width: 0px;
309
+ position: relative;
310
+ padding: 8vw 1.25rem;
311
+ }
312
+
313
+ .es-bounded-content {
314
+ min-width: 0px;
315
+ max-width: 90%;
316
+ margin: 0px auto;
317
+ font-family: system-ui, sans-serif;
318
+ }
319
+
320
+ .es-customer-logos {
321
+ background-color: #f4f0ec;
322
+ color: #333;
323
+ }
324
+
325
+ .es-customer-logos__content {
326
+ display: grid;
327
+ gap: 2rem;
328
+ justify-items: center;
329
+ }
330
+
331
+ .es-customer-logos__heading {
332
+ color: #8592e0;
333
+ font-size: 1.5rem;
334
+ font-weight: 500;
335
+ text-align: center;
336
+ }
337
+
338
+ .es-customer-logos__logos {
339
+ display: grid;
340
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
341
+ grid-column-gap: 1.25rem;
342
+ grid-row-gap: 2rem;
343
+ align-items: center;
344
+ list-style-type: none;
345
+ width: 100%;
346
+ }
347
+
348
+ @media (min-width: 1200px) {
349
+ .es-customer-logos__logos {
350
+ margin-left: -3rem;
351
+ }
352
+ }
353
+
354
+ .es-customer-logos__logo {
355
+ margin: 0;
356
+ display: flex;
357
+ justify-content: center;
358
+ }
359
+
360
+ @media (min-width: 1200px) {
361
+ .es-customer-logos__logo {
362
+ margin-left: 3rem;
363
+ }
364
+ }
365
+
366
+ .es-customer-logos__logo__link__image {
367
+ max-width: 10rem;
368
+ }
369
+
370
+ .es-customer-logos__button {
371
+ justify-self: center;
372
+ }
373
+ \`}
374
+ </style>
375
+ </section>
376
+ );
377
+ };
378
+
379
+ export default ${pascalName};
380
+ `;
381
+ }
382
+ return stripIndent`
383
+ import { isFilled, asText } from "@prismicio/client";
384
+ import {
385
+ PrismicLink,
386
+ PrismicImage,
387
+ } from "@prismicio/react";
388
+
389
+ /**
390
+ * @typedef {import("@prismicio/client").Content.${pascalName}Slice} ${pascalName}Slice
391
+ * @typedef {import("@prismicio/react").SliceComponentProps<${pascalName}Slice>} ${pascalName}Props
392
+ * @param {${pascalName}Props}
393
+ */
394
+
395
+ const ${pascalName} = ({ slice }) => {
396
+ return (
397
+ <section
398
+ data-slice-type={slice.slice_type}
399
+ data-slice-variation={slice.variation}
400
+ className="essential-slice es-bounded es-customer-logos"
401
+ >
402
+ <div className="es-bounded-content es-customer-logos__content">
403
+ {isFilled.richText(slice.primary.eyebrowHeadline) && (
404
+ <h2 className="es-customer-logos__heading">
405
+ {asText(slice.primary.eyebrowHeadline)}
406
+ </h2>
407
+ )}
408
+ {slice.items.length > 0 && (
409
+ <ul className="es-customer-logos__logos">
410
+ {slice.items.map(
411
+ (item) =>
412
+ isFilled.image(item.image) && (
413
+ <li key={item.image.url} className="es-customer-logos__logo">
414
+ <PrismicLink
415
+ field={item.link}
416
+ className="es-customer-logos__link"
417
+ >
418
+ <PrismicImage
419
+ field={item.image}
420
+ height={26}
421
+ width={160}
422
+ className="es-customer-logos__logo__link__image"
423
+ />
424
+ </PrismicLink>
425
+ </li>
426
+ )
427
+ )}
428
+ </ul>
429
+ )}
430
+ <PrismicLink
431
+ field={slice.primary.callToActionLink}
432
+ className="es-customer-logos__button"
433
+ >
434
+ {slice.primary.callToActionLabel || "Learn more..."}
435
+ </PrismicLink>
436
+ </div>
437
+ <style>
438
+ {\`
439
+ .es-bounded {
440
+ margin: 0px;
441
+ min-width: 0px;
442
+ position: relative;
443
+ padding: 8vw 1.25rem;
444
+ }
445
+
446
+ .es-bounded-content {
447
+ min-width: 0px;
448
+ max-width: 90%;
449
+ margin: 0px auto;
450
+ font-family: system-ui, sans-serif;
451
+ }
452
+
453
+ .es-customer-logos {
454
+ background-color: #f4f0ec;
455
+ color: #333;
456
+ }
457
+
458
+ .es-customer-logos__content {
459
+ display: grid;
460
+ gap: 2rem;
461
+ justify-items: center;
462
+ }
463
+
464
+ .es-customer-logos__heading {
465
+ color: #8592e0;
466
+ font-size: 1.5rem;
467
+ font-weight: 500;
468
+ text-align: center;
469
+ }
470
+
471
+ .es-customer-logos__logos {
472
+ display: grid;
473
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
474
+ grid-column-gap: 1.25rem;
475
+ grid-row-gap: 2rem;
476
+ align-items: center;
477
+ list-style-type: none;
478
+ width: 100%;
479
+ }
480
+
481
+ @media (min-width: 1200px) {
482
+ .es-customer-logos__logos {
483
+ margin-left: -3rem;
484
+ }
485
+ }
486
+
487
+ .es-customer-logos__logo {
488
+ margin: 0;
489
+ display: flex;
490
+ justify-content: center;
491
+ }
492
+
493
+ @media (min-width: 1200px) {
494
+ .es-customer-logos__logo {
495
+ margin-left: 3rem;
496
+ }
497
+ }
498
+
499
+ .es-customer-logos__logo__link__image {
500
+ max-width: 10rem;
501
+ }
502
+
503
+ .es-customer-logos__button {
504
+ justify-self: center;
505
+ }
506
+ \`}
507
+ </style>
508
+ </section>
509
+ );
510
+ };
511
+
512
+ export default ${pascalName};
513
+
514
+ `;
515
+ };
516
+ const model = {
517
+ id: "customer_logos",
518
+ type: "SharedSlice",
519
+ name: "CustomerLogos",
520
+ description: "CustomerLogos",
521
+ variations: [
522
+ {
523
+ id: "default",
524
+ name: "Default",
525
+ docURL: "...",
526
+ version: "initial",
527
+ description: "Default",
528
+ imageUrl: "",
529
+ primary: {
530
+ eyebrowHeadline: {
531
+ type: "StructuredText",
532
+ config: {
533
+ label: "eyebrowHeadline",
534
+ placeholder: "",
535
+ allowTargetBlank: true,
536
+ single: "strong,em,rtl,heading2"
537
+ }
538
+ },
539
+ callToActionLabel: {
540
+ type: "Text",
541
+ config: {
542
+ label: "callToActionLabel",
543
+ placeholder: ""
544
+ }
545
+ },
546
+ callToActionLink: {
547
+ type: "Link",
548
+ config: {
549
+ label: "callToActionLink",
550
+ placeholder: "",
551
+ select: null
552
+ }
553
+ }
554
+ },
555
+ items: {
556
+ image: {
557
+ type: "Image",
558
+ config: {
559
+ label: "image",
560
+ constraint: {},
561
+ thumbnails: []
562
+ }
563
+ },
564
+ link: {
565
+ type: "Link",
566
+ config: {
567
+ label: "link",
568
+ placeholder: "",
569
+ select: null
570
+ }
571
+ }
572
+ }
573
+ }
574
+ ]
575
+ };
576
+ const screenshotPaths = {
577
+ default: "CustomerLogos/screenshot-default.png"
578
+ };
579
+ export {
580
+ createComponentContents,
581
+ mocks,
582
+ model,
583
+ screenshotPaths
584
+ };
585
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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\nimport { pascalCase } from \"../../lib/pascalCase\";\n\nimport { stripIndent } from \"common-tags\";\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},\n\t\titems: [\n\t\t\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t[\n\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\tid: \"main\",\n\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\twidth: 2545,\n\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t},\n\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\twidth: 2545,\n\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\tthumbnails: {},\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\"link\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\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\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t[\n\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t{\n\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\torigin: {\n\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\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\twidth: 7173,\n\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\tthumbnails: {},\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\"link\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\ttarget: \"_blank\",\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\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t[\n\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t{\n\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\torigin: {\n\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\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\twidth: 3337,\n\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\tthumbnails: {},\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\"link\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\ttarget: \"\",\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\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t[\n\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t{\n\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\torigin: {\n\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\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\twidth: 4000,\n\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\tthumbnails: {},\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\"link\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\ttarget: \"\",\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\t{\n\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t[\n\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t{\n\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\torigin: {\n\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\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\twidth: 2749,\n\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\tthumbnails: {},\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\"link\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\ttarget: \"\",\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\nexport const createComponentContents = (\n\tmodel: SharedSlice,\n\tisTypeScriptProject: boolean,\n): string => {\n\tconst pascalName = pascalCase(model.name);\n\n\tif (isTypeScriptProject) {\n\t\treturn stripIndent`\n import { Content, isFilled, asText } from \"@prismicio/client\";\n import {\n SliceComponentProps,\n PrismicLink,\n PrismicImage,\n } from \"@prismicio/react\";\n \n export type ${pascalName}Props =\n SliceComponentProps<Content.${pascalName}Slice>;\n \n const ${pascalName} = ({ slice }: ${pascalName}Props): JSX.Element => {\n return (\n <section\n data-slice-type={slice.slice_type}\n data-slice-variation={slice.variation}\n className=\"essential-slice es-bounded es-customer-logos\"\n >\n <div className=\"es-bounded-content es-customer-logos__content\">\n {isFilled.richText(slice.primary.eyebrowHeadline) && (\n <h2 className=\"es-customer-logos__heading\">\n {asText(slice.primary.eyebrowHeadline)}\n </h2>\n )}\n {slice.items.length > 0 && (\n <ul className=\"es-customer-logos__logos\">\n {slice.items.map(\n (item) =>\n isFilled.image(item.image) && (\n <li key={item.image.url} className=\"es-customer-logos__logo\">\n <PrismicLink\n field={item.link}\n className=\"es-customer-logos__link\"\n >\n <PrismicImage\n field={item.image}\n height={26}\n width={160}\n className=\"es-customer-logos__logo__link__image\"\n />\n </PrismicLink>\n </li>\n )\n )}\n </ul>\n )}\n <PrismicLink\n field={slice.primary.callToActionLink}\n className=\"es-customer-logos__button\"\n >\n {slice.primary.callToActionLabel || \"Learn more...\"}\n </PrismicLink>\n </div>\n <style>\n {\\`\n .es-bounded {\n margin: 0px;\n min-width: 0px;\n position: relative;\n padding: 8vw 1.25rem;\n }\n\n .es-bounded-content {\n min-width: 0px;\n max-width: 90%;\n margin: 0px auto;\n font-family: system-ui, sans-serif;\n }\n\n .es-customer-logos {\n background-color: #f4f0ec;\n color: #333;\n }\n \n .es-customer-logos__content {\n display: grid;\n gap: 2rem;\n justify-items: center;\n }\n \n .es-customer-logos__heading {\n color: #8592e0;\n font-size: 1.5rem;\n font-weight: 500;\n text-align: center;\n }\n \n .es-customer-logos__logos {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n grid-column-gap: 1.25rem;\n grid-row-gap: 2rem;\n align-items: center;\n list-style-type: none;\n width: 100%;\n }\n \n @media (min-width: 1200px) {\n .es-customer-logos__logos {\n margin-left: -3rem;\n }\n }\n \n .es-customer-logos__logo {\n margin: 0;\n display: flex;\n justify-content: center;\n }\n \n @media (min-width: 1200px) {\n .es-customer-logos__logo {\n margin-left: 3rem;\n }\n }\n \n .es-customer-logos__logo__link__image {\n max-width: 10rem;\n }\n \n .es-customer-logos__button {\n justify-self: center;\n }\n \\`}\n </style>\n </section>\n );\n };\n \n export default ${pascalName};\n `;\n\t}\n\n\treturn stripIndent`\n import { isFilled, asText } from \"@prismicio/client\";\n import {\n PrismicLink,\n PrismicImage,\n } from \"@prismicio/react\";\n \n /**\n * @typedef {import(\"@prismicio/client\").Content.${pascalName}Slice} ${pascalName}Slice\n * @typedef {import(\"@prismicio/react\").SliceComponentProps<${pascalName}Slice>} ${pascalName}Props\n * @param {${pascalName}Props}\n */\n \n const ${pascalName} = ({ slice }) => {\n return (\n <section\n data-slice-type={slice.slice_type}\n data-slice-variation={slice.variation}\n className=\"essential-slice es-bounded es-customer-logos\"\n >\n <div className=\"es-bounded-content es-customer-logos__content\">\n {isFilled.richText(slice.primary.eyebrowHeadline) && (\n <h2 className=\"es-customer-logos__heading\">\n {asText(slice.primary.eyebrowHeadline)}\n </h2>\n )}\n {slice.items.length > 0 && (\n <ul className=\"es-customer-logos__logos\">\n {slice.items.map(\n (item) =>\n isFilled.image(item.image) && (\n <li key={item.image.url} className=\"es-customer-logos__logo\">\n <PrismicLink\n field={item.link}\n className=\"es-customer-logos__link\"\n >\n <PrismicImage\n field={item.image}\n height={26}\n width={160}\n className=\"es-customer-logos__logo__link__image\"\n />\n </PrismicLink>\n </li>\n )\n )}\n </ul>\n )}\n <PrismicLink\n field={slice.primary.callToActionLink}\n className=\"es-customer-logos__button\"\n >\n {slice.primary.callToActionLabel || \"Learn more...\"}\n </PrismicLink>\n </div>\n <style>\n {\\`\n .es-bounded {\n margin: 0px;\n min-width: 0px;\n position: relative;\n padding: 8vw 1.25rem;\n }\n\n .es-bounded-content {\n min-width: 0px;\n max-width: 90%;\n margin: 0px auto;\n font-family: system-ui, sans-serif;\n }\n\n .es-customer-logos {\n background-color: #f4f0ec;\n color: #333;\n }\n \n .es-customer-logos__content {\n display: grid;\n gap: 2rem;\n justify-items: center;\n }\n \n .es-customer-logos__heading {\n color: #8592e0;\n font-size: 1.5rem;\n font-weight: 500;\n text-align: center;\n }\n \n .es-customer-logos__logos {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n grid-column-gap: 1.25rem;\n grid-row-gap: 2rem;\n align-items: center;\n list-style-type: none;\n width: 100%;\n }\n \n @media (min-width: 1200px) {\n .es-customer-logos__logos {\n margin-left: -3rem;\n }\n }\n \n .es-customer-logos__logo {\n margin: 0;\n display: flex;\n justify-content: center;\n }\n \n @media (min-width: 1200px) {\n .es-customer-logos__logo {\n margin-left: 3rem;\n }\n }\n \n .es-customer-logos__logo__link__image {\n max-width: 10rem;\n }\n \n .es-customer-logos__button {\n justify-self: center;\n }\n \\`}\n </style>\n </section>\n );\n };\n \n export default ${pascalName};\n \n `;\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},\n\t\t\titems: {\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\tlink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"link\",\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},\n\t],\n};\n\nexport const screenshotPaths = {\n\tdefault: \"CustomerLogos/screenshot-default.png\",\n};\n"],"names":["model"],"mappings":";;AAOO,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,IACD;AAAA,IACD,OAAO;AAAA,MACN;AAAA,QACC,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC;AAAA,YACA;AAAA,cACC,QAAQ;AAAA,gBACP,IAAI;AAAA,gBACJ,KAAK;AAAA,gBACL,OAAO;AAAA,gBACP,QAAQ;AAAA,cACR;AAAA,cACD,KAAK;AAAA,cACL,OAAO;AAAA,cACP,QAAQ;AAAA,cACR,MAAM;AAAA,gBACL,MA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b,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,MACD;AAAA,MACD,OAAO;AAAA,QACN,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,MAAM;AAAA,UACL,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;AAGK,MAAM,kBAAkB;AAAA,EAC9B,SAAS;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/adapter-next",
3
- "version": "0.3.15-dev-next-release.3",
3
+ "version": "0.3.15-dev-next-release.4",
4
4
  "description": "Slice Machine adapter for Next.js.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -61,7 +61,7 @@
61
61
  "dependencies": {
62
62
  "@prismicio/simulator": "^0.1.4",
63
63
  "@prismicio/types-internal": "^2.0.0",
64
- "@slicemachine/plugin-kit": "^0.4.15-dev-next-release.3",
64
+ "@slicemachine/plugin-kit": "^0.4.15-dev-next-release.4",
65
65
  "common-tags": "^1.8.2",
66
66
  "fp-ts": "^2.13.1",
67
67
  "io-ts": "^2.2.20",
@@ -104,5 +104,5 @@
104
104
  "engines": {
105
105
  "node": ">=14.15.0"
106
106
  },
107
- "gitHead": "295779e31ea4f4761f367e1ad8237791bb5ccb62"
107
+ "gitHead": "fa32638c6b2a26949deff494df8e0637686bbecb"
108
108
  }
@@ -9,10 +9,11 @@ import { checkIsTypeScriptProject } from "../lib/checkIsTypeScriptProject";
9
9
 
10
10
  import * as CallToAction from "../sliceTemplates/CallToAction";
11
11
  import * as AlternateGrid from "../sliceTemplates/AlternateGrid";
12
+ import * as CustomerLogos from "../sliceTemplates/CustomerLogos";
12
13
 
13
14
  import type { PluginOptions } from "../types";
14
15
 
15
- const initialTemplates = [CallToAction, AlternateGrid];
16
+ const initialTemplates = [CallToAction, AlternateGrid, CustomerLogos];
16
17
 
17
18
  export const sliceTemplateLibraryRead: SliceTemplateLibraryReadHook<
18
19
  PluginOptions