@guardian/support-dotcom-components 7.0.0 → 7.1.0

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.
Files changed (32) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/server/api/epicRouter.d.ts +2 -1
  4. package/dist/server/api/epicRouter.d.ts.map +1 -1
  5. package/dist/server/factories/epicVariant.d.ts +68 -2
  6. package/dist/server/factories/epicVariant.d.ts.map +1 -1
  7. package/dist/server/factories/index.d.ts +68 -2
  8. package/dist/server/factories/index.d.ts.map +1 -1
  9. package/dist/server/lib/choiceCards/choiceCards.d.ts +6 -0
  10. package/dist/server/lib/choiceCards/choiceCards.d.ts.map +1 -0
  11. package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts +7 -0
  12. package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts.map +1 -0
  13. package/dist/server/productCatalog.d.ts +14 -0
  14. package/dist/server/productCatalog.d.ts.map +1 -0
  15. package/dist/shared/lib/geolocation.d.ts +4 -3
  16. package/dist/shared/lib/geolocation.d.ts.map +1 -1
  17. package/dist/shared/types/abTests/epic.d.ts +734 -14
  18. package/dist/shared/types/abTests/epic.d.ts.map +1 -1
  19. package/dist/shared/types/abTests/gutter.d.ts +14 -14
  20. package/dist/shared/types/props/banner.d.ts +7 -7
  21. package/dist/shared/types/props/banner.d.ts.map +1 -1
  22. package/dist/shared/types/props/choiceCards.d.ts +625 -0
  23. package/dist/shared/types/props/choiceCards.d.ts.map +1 -0
  24. package/dist/shared/types/props/design.d.ts +4 -4
  25. package/dist/shared/types/props/epic.d.ts +1333 -25
  26. package/dist/shared/types/props/epic.d.ts.map +1 -1
  27. package/dist/shared/types/props/gutter.d.ts +11 -11
  28. package/dist/shared/types/props/gutter.d.ts.map +1 -1
  29. package/dist/shared/types/props/header.d.ts +1 -1
  30. package/dist/shared/types/props/header.d.ts.map +1 -1
  31. package/dist/shared/types/props/shared.d.ts +6 -6
  32. package/package.json +1 -1
@@ -0,0 +1,625 @@
1
+ import { z } from 'zod';
2
+ declare const ratePlanSchema: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
3
+ export type RatePlan = z.infer<typeof ratePlanSchema>;
4
+ declare const choiceCardSchema: z.ZodObject<{
5
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
6
+ supportTier: z.ZodLiteral<"Contribution">;
7
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ supportTier: "Contribution";
10
+ ratePlan: "Monthly" | "Annual";
11
+ }, {
12
+ supportTier: "Contribution";
13
+ ratePlan: "Monthly" | "Annual";
14
+ }>, z.ZodObject<{
15
+ supportTier: z.ZodLiteral<"SupporterPlus">;
16
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ supportTier: "SupporterPlus";
19
+ ratePlan: "Monthly" | "Annual";
20
+ }, {
21
+ supportTier: "SupporterPlus";
22
+ ratePlan: "Monthly" | "Annual";
23
+ }>, z.ZodObject<{
24
+ supportTier: z.ZodLiteral<"OneOff">;
25
+ }, "strip", z.ZodTypeAny, {
26
+ supportTier: "OneOff";
27
+ }, {
28
+ supportTier: "OneOff";
29
+ }>]>;
30
+ label: z.ZodString;
31
+ isDefault: z.ZodBoolean;
32
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ benefits: z.ZodArray<z.ZodObject<{
34
+ copy: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ copy: string;
37
+ }, {
38
+ copy: string;
39
+ }>, "many">;
40
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ copy: z.ZodString;
42
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ r: z.ZodEffects<z.ZodString, string, string>;
44
+ g: z.ZodEffects<z.ZodString, string, string>;
45
+ b: z.ZodEffects<z.ZodString, string, string>;
46
+ kind: z.ZodLiteral<"hex">;
47
+ }, "strip", z.ZodTypeAny, {
48
+ r: string;
49
+ b: string;
50
+ g: string;
51
+ kind: "hex";
52
+ }, {
53
+ r: string;
54
+ b: string;
55
+ g: string;
56
+ kind: "hex";
57
+ }>>>;
58
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
+ r: z.ZodEffects<z.ZodString, string, string>;
60
+ g: z.ZodEffects<z.ZodString, string, string>;
61
+ b: z.ZodEffects<z.ZodString, string, string>;
62
+ kind: z.ZodLiteral<"hex">;
63
+ }, "strip", z.ZodTypeAny, {
64
+ r: string;
65
+ b: string;
66
+ g: string;
67
+ kind: "hex";
68
+ }, {
69
+ r: string;
70
+ b: string;
71
+ g: string;
72
+ kind: "hex";
73
+ }>>>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ copy: string;
76
+ textColour?: {
77
+ r: string;
78
+ b: string;
79
+ g: string;
80
+ kind: "hex";
81
+ } | null | undefined;
82
+ backgroundColour?: {
83
+ r: string;
84
+ b: string;
85
+ g: string;
86
+ kind: "hex";
87
+ } | null | undefined;
88
+ }, {
89
+ copy: string;
90
+ textColour?: {
91
+ r: string;
92
+ b: string;
93
+ g: string;
94
+ kind: "hex";
95
+ } | null | undefined;
96
+ backgroundColour?: {
97
+ r: string;
98
+ b: string;
99
+ g: string;
100
+ kind: "hex";
101
+ } | null | undefined;
102
+ }>>>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ product: {
105
+ supportTier: "Contribution";
106
+ ratePlan: "Monthly" | "Annual";
107
+ } | {
108
+ supportTier: "SupporterPlus";
109
+ ratePlan: "Monthly" | "Annual";
110
+ } | {
111
+ supportTier: "OneOff";
112
+ };
113
+ label: string;
114
+ isDefault: boolean;
115
+ benefits: {
116
+ copy: string;
117
+ }[];
118
+ benefitsLabel?: string | null | undefined;
119
+ pill?: {
120
+ copy: string;
121
+ textColour?: {
122
+ r: string;
123
+ b: string;
124
+ g: string;
125
+ kind: "hex";
126
+ } | null | undefined;
127
+ backgroundColour?: {
128
+ r: string;
129
+ b: string;
130
+ g: string;
131
+ kind: "hex";
132
+ } | null | undefined;
133
+ } | null | undefined;
134
+ }, {
135
+ product: {
136
+ supportTier: "Contribution";
137
+ ratePlan: "Monthly" | "Annual";
138
+ } | {
139
+ supportTier: "SupporterPlus";
140
+ ratePlan: "Monthly" | "Annual";
141
+ } | {
142
+ supportTier: "OneOff";
143
+ };
144
+ label: string;
145
+ isDefault: boolean;
146
+ benefits: {
147
+ copy: string;
148
+ }[];
149
+ benefitsLabel?: string | null | undefined;
150
+ pill?: {
151
+ copy: string;
152
+ textColour?: {
153
+ r: string;
154
+ b: string;
155
+ g: string;
156
+ kind: "hex";
157
+ } | null | undefined;
158
+ backgroundColour?: {
159
+ r: string;
160
+ b: string;
161
+ g: string;
162
+ kind: "hex";
163
+ } | null | undefined;
164
+ } | null | undefined;
165
+ }>;
166
+ export type ChoiceCard = z.infer<typeof choiceCardSchema>;
167
+ export declare const choiceCardsSettings: z.ZodObject<{
168
+ choiceCards: z.ZodArray<z.ZodObject<{
169
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
170
+ supportTier: z.ZodLiteral<"Contribution">;
171
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ supportTier: "Contribution";
174
+ ratePlan: "Monthly" | "Annual";
175
+ }, {
176
+ supportTier: "Contribution";
177
+ ratePlan: "Monthly" | "Annual";
178
+ }>, z.ZodObject<{
179
+ supportTier: z.ZodLiteral<"SupporterPlus">;
180
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ supportTier: "SupporterPlus";
183
+ ratePlan: "Monthly" | "Annual";
184
+ }, {
185
+ supportTier: "SupporterPlus";
186
+ ratePlan: "Monthly" | "Annual";
187
+ }>, z.ZodObject<{
188
+ supportTier: z.ZodLiteral<"OneOff">;
189
+ }, "strip", z.ZodTypeAny, {
190
+ supportTier: "OneOff";
191
+ }, {
192
+ supportTier: "OneOff";
193
+ }>]>;
194
+ label: z.ZodString;
195
+ isDefault: z.ZodBoolean;
196
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ benefits: z.ZodArray<z.ZodObject<{
198
+ copy: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ copy: string;
201
+ }, {
202
+ copy: string;
203
+ }>, "many">;
204
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
205
+ copy: z.ZodString;
206
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
207
+ r: z.ZodEffects<z.ZodString, string, string>;
208
+ g: z.ZodEffects<z.ZodString, string, string>;
209
+ b: z.ZodEffects<z.ZodString, string, string>;
210
+ kind: z.ZodLiteral<"hex">;
211
+ }, "strip", z.ZodTypeAny, {
212
+ r: string;
213
+ b: string;
214
+ g: string;
215
+ kind: "hex";
216
+ }, {
217
+ r: string;
218
+ b: string;
219
+ g: string;
220
+ kind: "hex";
221
+ }>>>;
222
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
223
+ r: z.ZodEffects<z.ZodString, string, string>;
224
+ g: z.ZodEffects<z.ZodString, string, string>;
225
+ b: z.ZodEffects<z.ZodString, string, string>;
226
+ kind: z.ZodLiteral<"hex">;
227
+ }, "strip", z.ZodTypeAny, {
228
+ r: string;
229
+ b: string;
230
+ g: string;
231
+ kind: "hex";
232
+ }, {
233
+ r: string;
234
+ b: string;
235
+ g: string;
236
+ kind: "hex";
237
+ }>>>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ copy: string;
240
+ textColour?: {
241
+ r: string;
242
+ b: string;
243
+ g: string;
244
+ kind: "hex";
245
+ } | null | undefined;
246
+ backgroundColour?: {
247
+ r: string;
248
+ b: string;
249
+ g: string;
250
+ kind: "hex";
251
+ } | null | undefined;
252
+ }, {
253
+ copy: string;
254
+ textColour?: {
255
+ r: string;
256
+ b: string;
257
+ g: string;
258
+ kind: "hex";
259
+ } | null | undefined;
260
+ backgroundColour?: {
261
+ r: string;
262
+ b: string;
263
+ g: string;
264
+ kind: "hex";
265
+ } | null | undefined;
266
+ }>>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ product: {
269
+ supportTier: "Contribution";
270
+ ratePlan: "Monthly" | "Annual";
271
+ } | {
272
+ supportTier: "SupporterPlus";
273
+ ratePlan: "Monthly" | "Annual";
274
+ } | {
275
+ supportTier: "OneOff";
276
+ };
277
+ label: string;
278
+ isDefault: boolean;
279
+ benefits: {
280
+ copy: string;
281
+ }[];
282
+ benefitsLabel?: string | null | undefined;
283
+ pill?: {
284
+ copy: string;
285
+ textColour?: {
286
+ r: string;
287
+ b: string;
288
+ g: string;
289
+ kind: "hex";
290
+ } | null | undefined;
291
+ backgroundColour?: {
292
+ r: string;
293
+ b: string;
294
+ g: string;
295
+ kind: "hex";
296
+ } | null | undefined;
297
+ } | null | undefined;
298
+ }, {
299
+ product: {
300
+ supportTier: "Contribution";
301
+ ratePlan: "Monthly" | "Annual";
302
+ } | {
303
+ supportTier: "SupporterPlus";
304
+ ratePlan: "Monthly" | "Annual";
305
+ } | {
306
+ supportTier: "OneOff";
307
+ };
308
+ label: string;
309
+ isDefault: boolean;
310
+ benefits: {
311
+ copy: string;
312
+ }[];
313
+ benefitsLabel?: string | null | undefined;
314
+ pill?: {
315
+ copy: string;
316
+ textColour?: {
317
+ r: string;
318
+ b: string;
319
+ g: string;
320
+ kind: "hex";
321
+ } | null | undefined;
322
+ backgroundColour?: {
323
+ r: string;
324
+ b: string;
325
+ g: string;
326
+ kind: "hex";
327
+ } | null | undefined;
328
+ } | null | undefined;
329
+ }>, "many">;
330
+ mobileChoiceCards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
331
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
332
+ supportTier: z.ZodLiteral<"Contribution">;
333
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ supportTier: "Contribution";
336
+ ratePlan: "Monthly" | "Annual";
337
+ }, {
338
+ supportTier: "Contribution";
339
+ ratePlan: "Monthly" | "Annual";
340
+ }>, z.ZodObject<{
341
+ supportTier: z.ZodLiteral<"SupporterPlus">;
342
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ supportTier: "SupporterPlus";
345
+ ratePlan: "Monthly" | "Annual";
346
+ }, {
347
+ supportTier: "SupporterPlus";
348
+ ratePlan: "Monthly" | "Annual";
349
+ }>, z.ZodObject<{
350
+ supportTier: z.ZodLiteral<"OneOff">;
351
+ }, "strip", z.ZodTypeAny, {
352
+ supportTier: "OneOff";
353
+ }, {
354
+ supportTier: "OneOff";
355
+ }>]>;
356
+ label: z.ZodString;
357
+ isDefault: z.ZodBoolean;
358
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ benefits: z.ZodArray<z.ZodObject<{
360
+ copy: z.ZodString;
361
+ }, "strip", z.ZodTypeAny, {
362
+ copy: string;
363
+ }, {
364
+ copy: string;
365
+ }>, "many">;
366
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
367
+ copy: z.ZodString;
368
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
369
+ r: z.ZodEffects<z.ZodString, string, string>;
370
+ g: z.ZodEffects<z.ZodString, string, string>;
371
+ b: z.ZodEffects<z.ZodString, string, string>;
372
+ kind: z.ZodLiteral<"hex">;
373
+ }, "strip", z.ZodTypeAny, {
374
+ r: string;
375
+ b: string;
376
+ g: string;
377
+ kind: "hex";
378
+ }, {
379
+ r: string;
380
+ b: string;
381
+ g: string;
382
+ kind: "hex";
383
+ }>>>;
384
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
385
+ r: z.ZodEffects<z.ZodString, string, string>;
386
+ g: z.ZodEffects<z.ZodString, string, string>;
387
+ b: z.ZodEffects<z.ZodString, string, string>;
388
+ kind: z.ZodLiteral<"hex">;
389
+ }, "strip", z.ZodTypeAny, {
390
+ r: string;
391
+ b: string;
392
+ g: string;
393
+ kind: "hex";
394
+ }, {
395
+ r: string;
396
+ b: string;
397
+ g: string;
398
+ kind: "hex";
399
+ }>>>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ copy: string;
402
+ textColour?: {
403
+ r: string;
404
+ b: string;
405
+ g: string;
406
+ kind: "hex";
407
+ } | null | undefined;
408
+ backgroundColour?: {
409
+ r: string;
410
+ b: string;
411
+ g: string;
412
+ kind: "hex";
413
+ } | null | undefined;
414
+ }, {
415
+ copy: string;
416
+ textColour?: {
417
+ r: string;
418
+ b: string;
419
+ g: string;
420
+ kind: "hex";
421
+ } | null | undefined;
422
+ backgroundColour?: {
423
+ r: string;
424
+ b: string;
425
+ g: string;
426
+ kind: "hex";
427
+ } | null | undefined;
428
+ }>>>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ product: {
431
+ supportTier: "Contribution";
432
+ ratePlan: "Monthly" | "Annual";
433
+ } | {
434
+ supportTier: "SupporterPlus";
435
+ ratePlan: "Monthly" | "Annual";
436
+ } | {
437
+ supportTier: "OneOff";
438
+ };
439
+ label: string;
440
+ isDefault: boolean;
441
+ benefits: {
442
+ copy: string;
443
+ }[];
444
+ benefitsLabel?: string | null | undefined;
445
+ pill?: {
446
+ copy: string;
447
+ textColour?: {
448
+ r: string;
449
+ b: string;
450
+ g: string;
451
+ kind: "hex";
452
+ } | null | undefined;
453
+ backgroundColour?: {
454
+ r: string;
455
+ b: string;
456
+ g: string;
457
+ kind: "hex";
458
+ } | null | undefined;
459
+ } | null | undefined;
460
+ }, {
461
+ product: {
462
+ supportTier: "Contribution";
463
+ ratePlan: "Monthly" | "Annual";
464
+ } | {
465
+ supportTier: "SupporterPlus";
466
+ ratePlan: "Monthly" | "Annual";
467
+ } | {
468
+ supportTier: "OneOff";
469
+ };
470
+ label: string;
471
+ isDefault: boolean;
472
+ benefits: {
473
+ copy: string;
474
+ }[];
475
+ benefitsLabel?: string | null | undefined;
476
+ pill?: {
477
+ copy: string;
478
+ textColour?: {
479
+ r: string;
480
+ b: string;
481
+ g: string;
482
+ kind: "hex";
483
+ } | null | undefined;
484
+ backgroundColour?: {
485
+ r: string;
486
+ b: string;
487
+ g: string;
488
+ kind: "hex";
489
+ } | null | undefined;
490
+ } | null | undefined;
491
+ }>, "many">>>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ choiceCards: {
494
+ product: {
495
+ supportTier: "Contribution";
496
+ ratePlan: "Monthly" | "Annual";
497
+ } | {
498
+ supportTier: "SupporterPlus";
499
+ ratePlan: "Monthly" | "Annual";
500
+ } | {
501
+ supportTier: "OneOff";
502
+ };
503
+ label: string;
504
+ isDefault: boolean;
505
+ benefits: {
506
+ copy: string;
507
+ }[];
508
+ benefitsLabel?: string | null | undefined;
509
+ pill?: {
510
+ copy: string;
511
+ textColour?: {
512
+ r: string;
513
+ b: string;
514
+ g: string;
515
+ kind: "hex";
516
+ } | null | undefined;
517
+ backgroundColour?: {
518
+ r: string;
519
+ b: string;
520
+ g: string;
521
+ kind: "hex";
522
+ } | null | undefined;
523
+ } | null | undefined;
524
+ }[];
525
+ mobileChoiceCards?: {
526
+ product: {
527
+ supportTier: "Contribution";
528
+ ratePlan: "Monthly" | "Annual";
529
+ } | {
530
+ supportTier: "SupporterPlus";
531
+ ratePlan: "Monthly" | "Annual";
532
+ } | {
533
+ supportTier: "OneOff";
534
+ };
535
+ label: string;
536
+ isDefault: boolean;
537
+ benefits: {
538
+ copy: string;
539
+ }[];
540
+ benefitsLabel?: string | null | undefined;
541
+ pill?: {
542
+ copy: string;
543
+ textColour?: {
544
+ r: string;
545
+ b: string;
546
+ g: string;
547
+ kind: "hex";
548
+ } | null | undefined;
549
+ backgroundColour?: {
550
+ r: string;
551
+ b: string;
552
+ g: string;
553
+ kind: "hex";
554
+ } | null | undefined;
555
+ } | null | undefined;
556
+ }[] | null | undefined;
557
+ }, {
558
+ choiceCards: {
559
+ product: {
560
+ supportTier: "Contribution";
561
+ ratePlan: "Monthly" | "Annual";
562
+ } | {
563
+ supportTier: "SupporterPlus";
564
+ ratePlan: "Monthly" | "Annual";
565
+ } | {
566
+ supportTier: "OneOff";
567
+ };
568
+ label: string;
569
+ isDefault: boolean;
570
+ benefits: {
571
+ copy: string;
572
+ }[];
573
+ benefitsLabel?: string | null | undefined;
574
+ pill?: {
575
+ copy: string;
576
+ textColour?: {
577
+ r: string;
578
+ b: string;
579
+ g: string;
580
+ kind: "hex";
581
+ } | null | undefined;
582
+ backgroundColour?: {
583
+ r: string;
584
+ b: string;
585
+ g: string;
586
+ kind: "hex";
587
+ } | null | undefined;
588
+ } | null | undefined;
589
+ }[];
590
+ mobileChoiceCards?: {
591
+ product: {
592
+ supportTier: "Contribution";
593
+ ratePlan: "Monthly" | "Annual";
594
+ } | {
595
+ supportTier: "SupporterPlus";
596
+ ratePlan: "Monthly" | "Annual";
597
+ } | {
598
+ supportTier: "OneOff";
599
+ };
600
+ label: string;
601
+ isDefault: boolean;
602
+ benefits: {
603
+ copy: string;
604
+ }[];
605
+ benefitsLabel?: string | null | undefined;
606
+ pill?: {
607
+ copy: string;
608
+ textColour?: {
609
+ r: string;
610
+ b: string;
611
+ g: string;
612
+ kind: "hex";
613
+ } | null | undefined;
614
+ backgroundColour?: {
615
+ r: string;
616
+ b: string;
617
+ g: string;
618
+ kind: "hex";
619
+ } | null | undefined;
620
+ } | null | undefined;
621
+ }[] | null | undefined;
622
+ }>;
623
+ export type ChoiceCardsSettings = z.infer<typeof choiceCardsSettings>;
624
+ export {};
625
+ //# sourceMappingURL=choiceCards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choiceCards.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/props/choiceCards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,cAAc,+DAAuD,CAAC;AAC5E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAuBtD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -23,17 +23,17 @@ export declare const configurableDesignSchema: z.ZodObject<{
23
23
  altText: z.ZodString;
24
24
  kind: z.ZodLiteral<"Image">;
25
25
  }, "strip", z.ZodTypeAny, {
26
+ kind: "Image";
26
27
  mobileUrl: string;
27
28
  tabletUrl: string;
28
29
  desktopUrl: string;
29
30
  altText: string;
30
- kind: "Image";
31
31
  }, {
32
+ kind: "Image";
32
33
  mobileUrl: string;
33
34
  tabletUrl: string;
34
35
  desktopUrl: string;
35
36
  altText: string;
36
- kind: "Image";
37
37
  }>, z.ZodObject<{
38
38
  buttonColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  r: z.ZodEffects<z.ZodString, string, string>;
@@ -319,11 +319,11 @@ export declare const configurableDesignSchema: z.ZodObject<{
319
319
  };
320
320
  };
321
321
  visual?: {
322
+ kind: "Image";
322
323
  mobileUrl: string;
323
324
  tabletUrl: string;
324
325
  desktopUrl: string;
325
326
  altText: string;
326
- kind: "Image";
327
327
  } | {
328
328
  kind: "ChoiceCards";
329
329
  buttonColour?: {
@@ -381,11 +381,11 @@ export declare const configurableDesignSchema: z.ZodObject<{
381
381
  };
382
382
  };
383
383
  visual?: {
384
+ kind: "Image";
384
385
  mobileUrl: string;
385
386
  tabletUrl: string;
386
387
  desktopUrl: string;
387
388
  altText: string;
388
- kind: "Image";
389
389
  } | {
390
390
  kind: "ChoiceCards";
391
391
  buttonColour?: {