@guardian/support-dotcom-components 7.0.1 → 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.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/api/epicRouter.d.ts +2 -1
- package/dist/server/api/epicRouter.d.ts.map +1 -1
- package/dist/server/factories/epicVariant.d.ts +68 -2
- package/dist/server/factories/epicVariant.d.ts.map +1 -1
- package/dist/server/factories/index.d.ts +68 -2
- package/dist/server/factories/index.d.ts.map +1 -1
- package/dist/server/lib/choiceCards/choiceCards.d.ts +6 -0
- package/dist/server/lib/choiceCards/choiceCards.d.ts.map +1 -0
- package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts +7 -0
- package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts.map +1 -0
- package/dist/server/productCatalog.d.ts +14 -0
- package/dist/server/productCatalog.d.ts.map +1 -0
- package/dist/shared/lib/geolocation.d.ts +4 -3
- package/dist/shared/lib/geolocation.d.ts.map +1 -1
- package/dist/shared/types/abTests/epic.d.ts +734 -14
- package/dist/shared/types/abTests/epic.d.ts.map +1 -1
- package/dist/shared/types/abTests/gutter.d.ts +14 -14
- package/dist/shared/types/props/banner.d.ts +6 -6
- package/dist/shared/types/props/choiceCards.d.ts +625 -0
- package/dist/shared/types/props/choiceCards.d.ts.map +1 -0
- package/dist/shared/types/props/design.d.ts +4 -4
- package/dist/shared/types/props/epic.d.ts +1332 -24
- package/dist/shared/types/props/epic.d.ts.map +1 -1
- package/dist/shared/types/props/gutter.d.ts +10 -10
- package/dist/shared/types/props/shared.d.ts +6 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/props/epic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAC"}
|
|
@@ -16,16 +16,16 @@ export declare const gutterContentSchema: z.ZodObject<{
|
|
|
16
16
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
17
17
|
altText: z.ZodString;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
mainUrl: string;
|
|
20
19
|
altText: string;
|
|
20
|
+
mainUrl: string;
|
|
21
21
|
mobileUrl?: string | undefined;
|
|
22
22
|
tabletUrl?: string | undefined;
|
|
23
23
|
desktopUrl?: string | undefined;
|
|
24
24
|
leftColUrl?: string | undefined;
|
|
25
25
|
wideUrl?: string | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
mainUrl: string;
|
|
28
27
|
altText: string;
|
|
28
|
+
mainUrl: string;
|
|
29
29
|
mobileUrl?: string | undefined;
|
|
30
30
|
tabletUrl?: string | undefined;
|
|
31
31
|
desktopUrl?: string | undefined;
|
|
@@ -45,8 +45,8 @@ export declare const gutterContentSchema: z.ZodObject<{
|
|
|
45
45
|
}>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
image: {
|
|
48
|
-
mainUrl: string;
|
|
49
48
|
altText: string;
|
|
49
|
+
mainUrl: string;
|
|
50
50
|
mobileUrl?: string | undefined;
|
|
51
51
|
tabletUrl?: string | undefined;
|
|
52
52
|
desktopUrl?: string | undefined;
|
|
@@ -60,8 +60,8 @@ export declare const gutterContentSchema: z.ZodObject<{
|
|
|
60
60
|
} | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
image: {
|
|
63
|
-
mainUrl: string;
|
|
64
63
|
altText: string;
|
|
64
|
+
mainUrl: string;
|
|
65
65
|
mobileUrl?: string | undefined;
|
|
66
66
|
tabletUrl?: string | undefined;
|
|
67
67
|
desktopUrl?: string | undefined;
|
|
@@ -91,16 +91,16 @@ export declare const gutterPropsSchema: z.ZodObject<{
|
|
|
91
91
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
92
92
|
altText: z.ZodString;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
mainUrl: string;
|
|
95
94
|
altText: string;
|
|
95
|
+
mainUrl: string;
|
|
96
96
|
mobileUrl?: string | undefined;
|
|
97
97
|
tabletUrl?: string | undefined;
|
|
98
98
|
desktopUrl?: string | undefined;
|
|
99
99
|
leftColUrl?: string | undefined;
|
|
100
100
|
wideUrl?: string | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
mainUrl: string;
|
|
103
102
|
altText: string;
|
|
103
|
+
mainUrl: string;
|
|
104
104
|
mobileUrl?: string | undefined;
|
|
105
105
|
tabletUrl?: string | undefined;
|
|
106
106
|
desktopUrl?: string | undefined;
|
|
@@ -120,8 +120,8 @@ export declare const gutterPropsSchema: z.ZodObject<{
|
|
|
120
120
|
}>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
image: {
|
|
123
|
-
mainUrl: string;
|
|
124
123
|
altText: string;
|
|
124
|
+
mainUrl: string;
|
|
125
125
|
mobileUrl?: string | undefined;
|
|
126
126
|
tabletUrl?: string | undefined;
|
|
127
127
|
desktopUrl?: string | undefined;
|
|
@@ -135,8 +135,8 @@ export declare const gutterPropsSchema: z.ZodObject<{
|
|
|
135
135
|
} | undefined;
|
|
136
136
|
}, {
|
|
137
137
|
image: {
|
|
138
|
-
mainUrl: string;
|
|
139
138
|
altText: string;
|
|
139
|
+
mainUrl: string;
|
|
140
140
|
mobileUrl?: string | undefined;
|
|
141
141
|
tabletUrl?: string | undefined;
|
|
142
142
|
desktopUrl?: string | undefined;
|
|
@@ -185,8 +185,8 @@ export declare const gutterPropsSchema: z.ZodObject<{
|
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
186
|
content: {
|
|
187
187
|
image: {
|
|
188
|
-
mainUrl: string;
|
|
189
188
|
altText: string;
|
|
189
|
+
mainUrl: string;
|
|
190
190
|
mobileUrl?: string | undefined;
|
|
191
191
|
tabletUrl?: string | undefined;
|
|
192
192
|
desktopUrl?: string | undefined;
|
|
@@ -215,8 +215,8 @@ export declare const gutterPropsSchema: z.ZodObject<{
|
|
|
215
215
|
}, {
|
|
216
216
|
content: {
|
|
217
217
|
image: {
|
|
218
|
-
mainUrl: string;
|
|
219
218
|
altText: string;
|
|
219
|
+
mainUrl: string;
|
|
220
220
|
mobileUrl?: string | undefined;
|
|
221
221
|
tabletUrl?: string | undefined;
|
|
222
222
|
desktopUrl?: string | undefined;
|
|
@@ -259,16 +259,16 @@ export declare const imageSchema: z.ZodObject<{
|
|
|
259
259
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
260
260
|
altText: z.ZodString;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
mainUrl: string;
|
|
263
262
|
altText: string;
|
|
263
|
+
mainUrl: string;
|
|
264
264
|
mobileUrl?: string | undefined;
|
|
265
265
|
tabletUrl?: string | undefined;
|
|
266
266
|
desktopUrl?: string | undefined;
|
|
267
267
|
leftColUrl?: string | undefined;
|
|
268
268
|
wideUrl?: string | undefined;
|
|
269
269
|
}, {
|
|
270
|
-
mainUrl: string;
|
|
271
270
|
altText: string;
|
|
271
|
+
mainUrl: string;
|
|
272
272
|
mobileUrl?: string | undefined;
|
|
273
273
|
tabletUrl?: string | undefined;
|
|
274
274
|
desktopUrl?: string | undefined;
|
|
@@ -292,16 +292,16 @@ export declare const bylineWithImageSchema: z.ZodObject<{
|
|
|
292
292
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
293
293
|
altText: z.ZodString;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
mainUrl: string;
|
|
296
295
|
altText: string;
|
|
296
|
+
mainUrl: string;
|
|
297
297
|
mobileUrl?: string | undefined;
|
|
298
298
|
tabletUrl?: string | undefined;
|
|
299
299
|
desktopUrl?: string | undefined;
|
|
300
300
|
leftColUrl?: string | undefined;
|
|
301
301
|
wideUrl?: string | undefined;
|
|
302
302
|
}, {
|
|
303
|
-
mainUrl: string;
|
|
304
303
|
altText: string;
|
|
304
|
+
mainUrl: string;
|
|
305
305
|
mobileUrl?: string | undefined;
|
|
306
306
|
tabletUrl?: string | undefined;
|
|
307
307
|
desktopUrl?: string | undefined;
|
|
@@ -312,8 +312,8 @@ export declare const bylineWithImageSchema: z.ZodObject<{
|
|
|
312
312
|
name: string;
|
|
313
313
|
description?: string | undefined;
|
|
314
314
|
headshot?: {
|
|
315
|
-
mainUrl: string;
|
|
316
315
|
altText: string;
|
|
316
|
+
mainUrl: string;
|
|
317
317
|
mobileUrl?: string | undefined;
|
|
318
318
|
tabletUrl?: string | undefined;
|
|
319
319
|
desktopUrl?: string | undefined;
|
|
@@ -324,8 +324,8 @@ export declare const bylineWithImageSchema: z.ZodObject<{
|
|
|
324
324
|
name: string;
|
|
325
325
|
description?: string | undefined;
|
|
326
326
|
headshot?: {
|
|
327
|
-
mainUrl: string;
|
|
328
327
|
altText: string;
|
|
328
|
+
mainUrl: string;
|
|
329
329
|
mobileUrl?: string | undefined;
|
|
330
330
|
tabletUrl?: string | undefined;
|
|
331
331
|
desktopUrl?: string | undefined;
|
package/package.json
CHANGED