fontdue-js 3.6.0 → 3.7.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/CHANGELOG.md +8 -0
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +4 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
- package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
- package/dist/__generated__/PriceBar_node.graphql.js +23 -16
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +4 -9
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +90 -53
- package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
- package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +4 -1
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +12 -5
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +27 -24
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +78 -77
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +54 -53
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +78 -77
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
- package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
- package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
- package/dist/__tests__/bundleSelectionOrder.test.js +92 -0
- package/dist/__tests__/collectionBundleSelection.test.js +441 -1446
- package/dist/__tests__/infiniteScroll.test.js +180 -0
- package/dist/__tests__/licenseExclusions.test.js +2 -1
- package/dist/__tests__/storefrontEvents.test.js +167 -0
- package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
- package/dist/components/Cart/Checkout.js +11 -1
- package/dist/components/Cart/storefrontEvents.d.ts +34 -0
- package/dist/components/Cart/storefrontEvents.js +138 -0
- package/dist/components/FontFamilies/index.js +4 -3
- package/dist/components/Precart/index.js +6 -0
- package/dist/components/PriceBar/index.js +5 -3
- package/dist/components/Root/productState.d.ts +2 -8
- package/dist/components/Root/productState.js +46 -57
- package/dist/components/SKUPrice/index.js +7 -8
- package/dist/components/StoreModal/StoreModalFamily.js +4 -2
- package/dist/components/StoreModal/StoreModalIndex.js +48 -7
- package/dist/components/StoreModal/StoreModalProduct.js +16 -9
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +3 -2
- package/dist/components/TypeTester/useTypeTesterStyler.js +1 -0
- package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +9 -4
- package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
- package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
- package/dist/components/elements/StoreModalUnifiedCheckout.js +12 -0
- package/dist/components/useInfiniteScroll.d.ts +28 -0
- package/dist/components/useInfiniteScroll.js +50 -0
- package/dist/fontdue.css +33 -0
- package/dist/hooks/useAutofit.d.ts +2 -1
- package/dist/hooks/useAutofit.js +10 -4
- package/dist/reducer.d.ts +5 -5
- package/dist/reducer.js +9 -87
- package/dist/selection.d.ts +40 -0
- package/dist/selection.js +494 -0
- package/dist/utils.d.ts +1 -12
- package/dist/utils.js +1 -36
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<8a2e025b087794002dfd85f1cf562386>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -58,38 +58,45 @@ const node = function () {
|
|
|
58
58
|
"alias": null,
|
|
59
59
|
"args": null,
|
|
60
60
|
"kind": "ScalarField",
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "visibility",
|
|
62
62
|
"storageKey": null
|
|
63
63
|
},
|
|
64
64
|
v10 = {
|
|
65
65
|
"alias": null,
|
|
66
66
|
"args": null,
|
|
67
67
|
"kind": "ScalarField",
|
|
68
|
-
"name": "
|
|
68
|
+
"name": "isVariableFont",
|
|
69
69
|
"storageKey": null
|
|
70
70
|
},
|
|
71
71
|
v11 = {
|
|
72
72
|
"alias": null,
|
|
73
73
|
"args": null,
|
|
74
74
|
"kind": "ScalarField",
|
|
75
|
-
"name": "
|
|
75
|
+
"name": "collectionType",
|
|
76
76
|
"storageKey": null
|
|
77
77
|
},
|
|
78
78
|
v12 = {
|
|
79
|
+
"alias": null,
|
|
80
|
+
"args": null,
|
|
81
|
+
"kind": "ScalarField",
|
|
82
|
+
"name": "name",
|
|
83
|
+
"storageKey": null
|
|
84
|
+
},
|
|
85
|
+
v13 = {
|
|
79
86
|
"alias": null,
|
|
80
87
|
"args": null,
|
|
81
88
|
"kind": "ScalarField",
|
|
82
89
|
"name": "amount",
|
|
83
90
|
"storageKey": null
|
|
84
91
|
},
|
|
85
|
-
|
|
92
|
+
v14 = [v13 /*: any*/, {
|
|
86
93
|
"alias": null,
|
|
87
94
|
"args": null,
|
|
88
95
|
"kind": "ScalarField",
|
|
89
96
|
"name": "currency",
|
|
90
97
|
"storageKey": null
|
|
91
98
|
}],
|
|
92
|
-
|
|
99
|
+
v15 = {
|
|
93
100
|
"alias": null,
|
|
94
101
|
"args": null,
|
|
95
102
|
"concreteType": "Sku",
|
|
@@ -103,44 +110,44 @@ const node = function () {
|
|
|
103
110
|
"kind": "LinkedField",
|
|
104
111
|
"name": "price",
|
|
105
112
|
"plural": false,
|
|
106
|
-
"selections":
|
|
113
|
+
"selections": v14 /*: any*/,
|
|
107
114
|
"storageKey": null
|
|
108
115
|
}],
|
|
109
116
|
"storageKey": null
|
|
110
117
|
},
|
|
111
|
-
|
|
112
|
-
|
|
118
|
+
v16 = [v4 /*: any*/],
|
|
119
|
+
v17 = {
|
|
113
120
|
"alias": null,
|
|
114
121
|
"args": null,
|
|
115
122
|
"concreteType": "FontCollection",
|
|
116
123
|
"kind": "LinkedField",
|
|
117
124
|
"name": "parent",
|
|
118
125
|
"plural": false,
|
|
119
|
-
"selections":
|
|
126
|
+
"selections": v16 /*: any*/,
|
|
120
127
|
"storageKey": null
|
|
121
128
|
},
|
|
122
|
-
|
|
129
|
+
v18 = {
|
|
123
130
|
"alias": null,
|
|
124
131
|
"args": null,
|
|
125
132
|
"kind": "ScalarField",
|
|
126
133
|
"name": "cssFamily",
|
|
127
134
|
"storageKey": null
|
|
128
135
|
},
|
|
129
|
-
|
|
136
|
+
v19 = {
|
|
130
137
|
"alias": null,
|
|
131
138
|
"args": null,
|
|
132
139
|
"kind": "ScalarField",
|
|
133
140
|
"name": "url",
|
|
134
141
|
"storageKey": null
|
|
135
142
|
},
|
|
136
|
-
|
|
143
|
+
v20 = {
|
|
137
144
|
"alias": null,
|
|
138
145
|
"args": null,
|
|
139
146
|
"concreteType": "WebfontSource",
|
|
140
147
|
"kind": "LinkedField",
|
|
141
148
|
"name": "webfontSources",
|
|
142
149
|
"plural": true,
|
|
143
|
-
"selections": [
|
|
150
|
+
"selections": [v19 /*: any*/, {
|
|
144
151
|
"alias": null,
|
|
145
152
|
"args": null,
|
|
146
153
|
"kind": "ScalarField",
|
|
@@ -155,7 +162,7 @@ const node = function () {
|
|
|
155
162
|
}],
|
|
156
163
|
"storageKey": null
|
|
157
164
|
},
|
|
158
|
-
|
|
165
|
+
v21 = {
|
|
159
166
|
"alias": null,
|
|
160
167
|
"args": null,
|
|
161
168
|
"concreteType": "VerticalMetrics",
|
|
@@ -195,67 +202,67 @@ const node = function () {
|
|
|
195
202
|
}],
|
|
196
203
|
"storageKey": null
|
|
197
204
|
},
|
|
198
|
-
|
|
205
|
+
v22 = {
|
|
199
206
|
"alias": null,
|
|
200
207
|
"args": null,
|
|
201
208
|
"kind": "ScalarField",
|
|
202
209
|
"name": "supportedLanguages",
|
|
203
210
|
"storageKey": null
|
|
204
211
|
},
|
|
205
|
-
|
|
212
|
+
v23 = {
|
|
206
213
|
"alias": null,
|
|
207
214
|
"args": null,
|
|
208
215
|
"concreteType": "FontStyle",
|
|
209
216
|
"kind": "LinkedField",
|
|
210
217
|
"name": "featureStyle",
|
|
211
218
|
"plural": false,
|
|
212
|
-
"selections": [
|
|
219
|
+
"selections": [v18 /*: any*/, v12 /*: any*/, v20 /*: any*/, v21 /*: any*/, v22 /*: any*/, v4 /*: any*/],
|
|
213
220
|
"storageKey": null
|
|
214
221
|
},
|
|
215
|
-
|
|
222
|
+
v24 = {
|
|
216
223
|
"alias": null,
|
|
217
224
|
"args": null,
|
|
218
225
|
"kind": "ScalarField",
|
|
219
226
|
"name": "totalStyles",
|
|
220
227
|
"storageKey": null
|
|
221
228
|
},
|
|
222
|
-
|
|
229
|
+
v25 = {
|
|
223
230
|
"alias": null,
|
|
224
231
|
"args": null,
|
|
225
232
|
"concreteType": "Money",
|
|
226
233
|
"kind": "LinkedField",
|
|
227
234
|
"name": "totalStylesPrice",
|
|
228
235
|
"plural": false,
|
|
229
|
-
"selections":
|
|
236
|
+
"selections": v14 /*: any*/,
|
|
230
237
|
"storageKey": null
|
|
231
238
|
},
|
|
232
|
-
|
|
239
|
+
v26 = [{
|
|
233
240
|
"kind": "Literal",
|
|
234
241
|
"name": "collectionTypes",
|
|
235
242
|
"value": ["FAMILY"]
|
|
236
243
|
}],
|
|
237
|
-
|
|
244
|
+
v27 = {
|
|
238
245
|
"alias": null,
|
|
239
246
|
"args": null,
|
|
240
247
|
"kind": "ScalarField",
|
|
241
248
|
"name": "cssWeight",
|
|
242
249
|
"storageKey": null
|
|
243
250
|
},
|
|
244
|
-
|
|
251
|
+
v28 = {
|
|
245
252
|
"alias": null,
|
|
246
253
|
"args": null,
|
|
247
254
|
"kind": "ScalarField",
|
|
248
255
|
"name": "cssStretch",
|
|
249
256
|
"storageKey": null
|
|
250
257
|
},
|
|
251
|
-
|
|
258
|
+
v29 = {
|
|
252
259
|
"alias": null,
|
|
253
260
|
"args": null,
|
|
254
261
|
"concreteType": "VariableInstance",
|
|
255
262
|
"kind": "LinkedField",
|
|
256
263
|
"name": "variableInstances",
|
|
257
264
|
"plural": true,
|
|
258
|
-
"selections": [
|
|
265
|
+
"selections": [v12 /*: any*/, {
|
|
259
266
|
"alias": null,
|
|
260
267
|
"args": null,
|
|
261
268
|
"concreteType": "VariableSetting",
|
|
@@ -279,69 +286,63 @@ const node = function () {
|
|
|
279
286
|
}],
|
|
280
287
|
"storageKey": null
|
|
281
288
|
},
|
|
282
|
-
|
|
289
|
+
v30 = {
|
|
283
290
|
"alias": null,
|
|
284
291
|
"args": null,
|
|
285
292
|
"concreteType": "Bundle",
|
|
286
293
|
"kind": "LinkedField",
|
|
287
294
|
"name": "bundles",
|
|
288
295
|
"plural": true,
|
|
289
|
-
"selections": [v4 /*: any*/, {
|
|
290
|
-
"alias": null,
|
|
291
|
-
"args": null,
|
|
292
|
-
"kind": "ScalarField",
|
|
293
|
-
"name": "hidden",
|
|
294
|
-
"storageKey": null
|
|
295
|
-
}, {
|
|
296
|
+
"selections": [v4 /*: any*/, v9 /*: any*/, {
|
|
296
297
|
"alias": null,
|
|
297
298
|
"args": null,
|
|
298
299
|
"concreteType": "FontStyle",
|
|
299
300
|
"kind": "LinkedField",
|
|
300
301
|
"name": "fontStyles",
|
|
301
302
|
"plural": true,
|
|
302
|
-
"selections": [v4 /*: any*/,
|
|
303
|
+
"selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
|
|
303
304
|
"storageKey": null
|
|
304
|
-
},
|
|
305
|
+
}, v12 /*: any*/, v15 /*: any*/],
|
|
305
306
|
"storageKey": null
|
|
306
307
|
},
|
|
307
|
-
|
|
308
|
+
v31 = {
|
|
308
309
|
"alias": null,
|
|
309
310
|
"args": null,
|
|
310
311
|
"concreteType": "FontStyle",
|
|
311
312
|
"kind": "LinkedField",
|
|
312
313
|
"name": "fontStyles",
|
|
313
314
|
"plural": true,
|
|
314
|
-
"selections": [v4 /*: any*/,
|
|
315
|
+
"selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/, {
|
|
315
316
|
"alias": null,
|
|
316
317
|
"args": null,
|
|
317
318
|
"kind": "ScalarField",
|
|
318
319
|
"name": "cssStyle",
|
|
319
320
|
"storageKey": null
|
|
320
|
-
},
|
|
321
|
+
}, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
|
|
321
322
|
"storageKey": null
|
|
322
323
|
},
|
|
323
|
-
|
|
324
|
+
v32 = {
|
|
324
325
|
"kind": "Literal",
|
|
325
326
|
"name": "format",
|
|
326
327
|
"value": "HTML"
|
|
327
328
|
},
|
|
328
|
-
|
|
329
|
-
|
|
329
|
+
v33 = [v32 /*: any*/],
|
|
330
|
+
v34 = {
|
|
330
331
|
"alias": null,
|
|
331
332
|
"args": null,
|
|
332
333
|
"kind": "ScalarField",
|
|
333
334
|
"name": "variableType",
|
|
334
335
|
"storageKey": null
|
|
335
336
|
},
|
|
336
|
-
|
|
337
|
-
|
|
337
|
+
v35 = [v13 /*: any*/],
|
|
338
|
+
v36 = [v24 /*: any*/, {
|
|
338
339
|
"alias": null,
|
|
339
340
|
"args": v7 /*: any*/,
|
|
340
341
|
"concreteType": "Money",
|
|
341
342
|
"kind": "LinkedField",
|
|
342
343
|
"name": "totalStylesPrice",
|
|
343
344
|
"plural": false,
|
|
344
|
-
"selections":
|
|
345
|
+
"selections": v35 /*: any*/,
|
|
345
346
|
"storageKey": null
|
|
346
347
|
}];
|
|
347
348
|
return {
|
|
@@ -397,34 +398,34 @@ const node = function () {
|
|
|
397
398
|
"abstractKey": "__isNode"
|
|
398
399
|
}, {
|
|
399
400
|
"kind": "InlineFragment",
|
|
400
|
-
"selections": [v9 /*: any*/, v10 /*: any*/, v11 /*: any*/,
|
|
401
|
+
"selections": [v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v24 /*: any*/, v25 /*: any*/, {
|
|
401
402
|
"alias": null,
|
|
402
|
-
"args":
|
|
403
|
+
"args": v26 /*: any*/,
|
|
403
404
|
"concreteType": "FontCollection",
|
|
404
405
|
"kind": "LinkedField",
|
|
405
406
|
"name": "children",
|
|
406
407
|
"plural": true,
|
|
407
|
-
"selections": [
|
|
408
|
+
"selections": [v10 /*: any*/, v24 /*: any*/, v4 /*: any*/, v9 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v25 /*: any*/, {
|
|
408
409
|
"alias": null,
|
|
409
|
-
"args":
|
|
410
|
+
"args": v26 /*: any*/,
|
|
410
411
|
"concreteType": "FontCollection",
|
|
411
412
|
"kind": "LinkedField",
|
|
412
413
|
"name": "children",
|
|
413
414
|
"plural": true,
|
|
414
|
-
"selections": [
|
|
415
|
+
"selections": [v10 /*: any*/, v24 /*: any*/, v4 /*: any*/],
|
|
415
416
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
416
|
-
},
|
|
417
|
+
}, v30 /*: any*/, v31 /*: any*/],
|
|
417
418
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
418
|
-
},
|
|
419
|
+
}, v30 /*: any*/, v31 /*: any*/, {
|
|
419
420
|
"alias": null,
|
|
420
421
|
"args": null,
|
|
421
422
|
"concreteType": "License",
|
|
422
423
|
"kind": "LinkedField",
|
|
423
424
|
"name": "licenses",
|
|
424
425
|
"plural": true,
|
|
425
|
-
"selections": [v4 /*: any*/,
|
|
426
|
+
"selections": [v4 /*: any*/, v19 /*: any*/, v12 /*: any*/, {
|
|
426
427
|
"alias": null,
|
|
427
|
-
"args":
|
|
428
|
+
"args": v33 /*: any*/,
|
|
428
429
|
"kind": "ScalarField",
|
|
429
430
|
"name": "description",
|
|
430
431
|
"storageKey": "description(format:\"HTML\")"
|
|
@@ -441,7 +442,7 @@ const node = function () {
|
|
|
441
442
|
"kind": "LinkedField",
|
|
442
443
|
"name": "excludedLicenses",
|
|
443
444
|
"plural": true,
|
|
444
|
-
"selections":
|
|
445
|
+
"selections": v16 /*: any*/,
|
|
445
446
|
"storageKey": null
|
|
446
447
|
}, {
|
|
447
448
|
"alias": "variables",
|
|
@@ -450,7 +451,7 @@ const node = function () {
|
|
|
450
451
|
"kind": "LinkedField",
|
|
451
452
|
"name": "licenseVariables",
|
|
452
453
|
"plural": true,
|
|
453
|
-
"selections": [v4 /*: any*/,
|
|
454
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v34 /*: any*/, {
|
|
454
455
|
"alias": null,
|
|
455
456
|
"args": null,
|
|
456
457
|
"kind": "ScalarField",
|
|
@@ -463,7 +464,7 @@ const node = function () {
|
|
|
463
464
|
"kind": "LinkedField",
|
|
464
465
|
"name": "licenseOptions",
|
|
465
466
|
"plural": true,
|
|
466
|
-
"selections": [v4 /*: any*/,
|
|
467
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v13 /*: any*/, {
|
|
467
468
|
"alias": null,
|
|
468
469
|
"args": null,
|
|
469
470
|
"kind": "ScalarField",
|
|
@@ -506,9 +507,9 @@ const node = function () {
|
|
|
506
507
|
"kind": "LinkedField",
|
|
507
508
|
"name": "orderVariables",
|
|
508
509
|
"plural": true,
|
|
509
|
-
"selections": [v4 /*: any*/,
|
|
510
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v34 /*: any*/, {
|
|
510
511
|
"alias": null,
|
|
511
|
-
"args": [
|
|
512
|
+
"args": [v32 /*: any*/, v6 /*: any*/],
|
|
512
513
|
"kind": "ScalarField",
|
|
513
514
|
"name": "description",
|
|
514
515
|
"storageKey": null
|
|
@@ -519,7 +520,7 @@ const node = function () {
|
|
|
519
520
|
"kind": "LinkedField",
|
|
520
521
|
"name": "orderVariableOptions",
|
|
521
522
|
"plural": true,
|
|
522
|
-
"selections": [v4 /*: any*/,
|
|
523
|
+
"selections": [v4 /*: any*/, v13 /*: any*/],
|
|
523
524
|
"storageKey": null
|
|
524
525
|
}],
|
|
525
526
|
"storageKey": null
|
|
@@ -536,7 +537,7 @@ const node = function () {
|
|
|
536
537
|
"kind": "ScalarField",
|
|
537
538
|
"name": "code",
|
|
538
539
|
"storageKey": null
|
|
539
|
-
},
|
|
540
|
+
}, v12 /*: any*/],
|
|
540
541
|
"storageKey": null
|
|
541
542
|
}, {
|
|
542
543
|
"alias": null,
|
|
@@ -574,49 +575,49 @@ const node = function () {
|
|
|
574
575
|
"storageKey": null
|
|
575
576
|
}, {
|
|
576
577
|
"alias": null,
|
|
577
|
-
"args":
|
|
578
|
+
"args": v33 /*: any*/,
|
|
578
579
|
"kind": "ScalarField",
|
|
579
580
|
"name": "storeModalSelectLicenseeLabel",
|
|
580
581
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
581
582
|
}, {
|
|
582
583
|
"alias": null,
|
|
583
|
-
"args":
|
|
584
|
+
"args": v33 /*: any*/,
|
|
584
585
|
"kind": "ScalarField",
|
|
585
586
|
"name": "storeModalLicenseeSelfLabel",
|
|
586
587
|
"storageKey": "storeModalLicenseeSelfLabel(format:\"HTML\")"
|
|
587
588
|
}, {
|
|
588
589
|
"alias": null,
|
|
589
|
-
"args":
|
|
590
|
+
"args": v33 /*: any*/,
|
|
590
591
|
"kind": "ScalarField",
|
|
591
592
|
"name": "storeModalLicenseeSelfDescription",
|
|
592
593
|
"storageKey": "storeModalLicenseeSelfDescription(format:\"HTML\")"
|
|
593
594
|
}, {
|
|
594
595
|
"alias": null,
|
|
595
|
-
"args":
|
|
596
|
+
"args": v33 /*: any*/,
|
|
596
597
|
"kind": "ScalarField",
|
|
597
598
|
"name": "storeModalLicenseeClientLabel",
|
|
598
599
|
"storageKey": "storeModalLicenseeClientLabel(format:\"HTML\")"
|
|
599
600
|
}, {
|
|
600
601
|
"alias": null,
|
|
601
|
-
"args":
|
|
602
|
+
"args": v33 /*: any*/,
|
|
602
603
|
"kind": "ScalarField",
|
|
603
604
|
"name": "storeModalLicenseeClientDescription",
|
|
604
605
|
"storageKey": "storeModalLicenseeClientDescription(format:\"HTML\")"
|
|
605
606
|
}, {
|
|
606
607
|
"alias": null,
|
|
607
|
-
"args":
|
|
608
|
+
"args": v33 /*: any*/,
|
|
608
609
|
"kind": "ScalarField",
|
|
609
610
|
"name": "storeModalSelectOrderVariablesLabel",
|
|
610
611
|
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
611
612
|
}, {
|
|
612
613
|
"alias": null,
|
|
613
|
-
"args":
|
|
614
|
+
"args": v33 /*: any*/,
|
|
614
615
|
"kind": "ScalarField",
|
|
615
616
|
"name": "storeModalSelectLicensesLabel",
|
|
616
617
|
"storageKey": "storeModalSelectLicensesLabel(format:\"HTML\")"
|
|
617
618
|
}, {
|
|
618
619
|
"alias": null,
|
|
619
|
-
"args":
|
|
620
|
+
"args": v33 /*: any*/,
|
|
620
621
|
"kind": "ScalarField",
|
|
621
622
|
"name": "storeModalSelectFontsLabel",
|
|
622
623
|
"storageKey": "storeModalSelectFontsLabel(format:\"HTML\")"
|
|
@@ -668,7 +669,7 @@ const node = function () {
|
|
|
668
669
|
"kind": "LinkedField",
|
|
669
670
|
"name": "price",
|
|
670
671
|
"plural": false,
|
|
671
|
-
"selections":
|
|
672
|
+
"selections": v35 /*: any*/,
|
|
672
673
|
"storageKey": null
|
|
673
674
|
}, {
|
|
674
675
|
"alias": null,
|
|
@@ -679,22 +680,22 @@ const node = function () {
|
|
|
679
680
|
"plural": false,
|
|
680
681
|
"selections": [v8 /*: any*/, {
|
|
681
682
|
"kind": "InlineFragment",
|
|
682
|
-
"selections":
|
|
683
|
+
"selections": v36 /*: any*/,
|
|
683
684
|
"type": "FontCollection",
|
|
684
685
|
"abstractKey": null
|
|
685
686
|
}, {
|
|
686
687
|
"kind": "InlineFragment",
|
|
687
|
-
"selections":
|
|
688
|
+
"selections": v36 /*: any*/,
|
|
688
689
|
"type": "Bundle",
|
|
689
690
|
"abstractKey": null
|
|
690
691
|
}, {
|
|
691
692
|
"kind": "InlineFragment",
|
|
692
|
-
"selections":
|
|
693
|
+
"selections": v36 /*: any*/,
|
|
693
694
|
"type": "CollectionBundle",
|
|
694
695
|
"abstractKey": null
|
|
695
696
|
}, {
|
|
696
697
|
"kind": "InlineFragment",
|
|
697
|
-
"selections":
|
|
698
|
+
"selections": v16 /*: any*/,
|
|
698
699
|
"type": "Node",
|
|
699
700
|
"abstractKey": "__isNode"
|
|
700
701
|
}],
|
|
@@ -708,7 +709,7 @@ const node = function () {
|
|
|
708
709
|
"kind": "LinkedField",
|
|
709
710
|
"name": "subtotal",
|
|
710
711
|
"plural": false,
|
|
711
|
-
"selections":
|
|
712
|
+
"selections": v14 /*: any*/,
|
|
712
713
|
"storageKey": null
|
|
713
714
|
}],
|
|
714
715
|
"storageKey": null
|
|
@@ -717,12 +718,12 @@ const node = function () {
|
|
|
717
718
|
}]
|
|
718
719
|
},
|
|
719
720
|
"params": {
|
|
720
|
-
"cacheID": "
|
|
721
|
+
"cacheID": "fb1495e3bb49944d0f3570afc38ae2ef",
|
|
721
722
|
"id": null,
|
|
722
723
|
"metadata": {},
|
|
723
724
|
"name": "StoreModalProductQuery",
|
|
724
725
|
"operationKind": "query",
|
|
725
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n
|
|
726
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
726
727
|
}
|
|
727
728
|
};
|
|
728
729
|
}();
|