fontdue-js 2.19.2 → 2.20.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 +11 -0
- package/README.md +11 -10
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -7
- package/dist/__generated__/CartItemProduct_product.graphql.js +11 -36
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +119 -87
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CharacterViewerIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerIDQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.js +62 -41
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +1 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.js +6 -13
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +1 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +2 -8
- package/dist/__generated__/CharacterViewer_style.graphql.d.ts +2 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +6 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +57 -3
- package/dist/__generated__/Family_node.graphql.d.ts +1 -2
- package/dist/__generated__/Family_node.graphql.js +2 -8
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +80 -31
- package/dist/__generated__/FontStyle_fontStyle.graphql.d.ts +2 -3
- package/dist/__generated__/FontStyle_fontStyle.graphql.js +4 -12
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +71 -29
- package/dist/__generated__/ServerConfigProviderQuery.graphql.d.ts +24 -0
- package/dist/__generated__/ServerConfigProviderQuery.graphql.js +108 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +108 -76
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +4 -7
- package/dist/__generated__/StoreModalContainerQuery.graphql.js +58 -25
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +2 -8
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +2 -17
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +48 -9
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +85 -41
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +78 -34
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +56 -8
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +2 -17
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +55 -7
- package/dist/__generated__/useFontStyle_fontStyle.graphql.d.ts +28 -0
- package/dist/__generated__/useFontStyle_fontStyle.graphql.js +94 -0
- package/dist/__tests__/collectionBundleSelection.test.js +0 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -9
- package/dist/components/CharacterViewer/index.js +5 -11
- package/dist/components/ConfigContext.d.ts +13 -0
- package/dist/components/ConfigContext.js +6 -2
- package/dist/components/ConsentBanner/consent.d.ts +18 -0
- package/dist/components/ConsentBanner/consent.js +93 -0
- package/dist/components/ConsentBanner/index.d.ts +3 -0
- package/dist/components/ConsentBanner/index.js +84 -0
- package/dist/components/Family/index.js +2 -5
- package/dist/components/FontStyle/index.js +2 -8
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +14 -1
- package/dist/components/FontdueProvider/index.js +1 -2
- package/dist/components/FontdueProvider/index.server.js +1 -2
- package/dist/components/ServerConfigProvider/index.d.ts +8 -0
- package/dist/components/ServerConfigProvider/index.js +41 -0
- package/dist/components/StoreModal/StoreModalContainer.js +15 -17
- package/dist/components/StoreModal/StoreModalFamily.js +1 -5
- package/dist/components/StoreModal/StoreModalIndexItem.js +6 -11
- package/dist/components/Tracking/index.d.ts +2 -0
- package/dist/components/Tracking/index.js +166 -0
- package/dist/components/TypeTester/TypeTesterSlider.js +10 -3
- package/dist/components/TypeTester/index.js +2 -5
- package/dist/components/TypeTester/useTypeTesterStyler.js +27 -85
- package/dist/components/UrlContext.d.ts +3 -0
- package/dist/components/UrlContext.js +15 -0
- package/dist/components/elements/StoreModalContainer/index.d.ts +2 -6
- package/dist/components/elements/StoreModalContainer/index.js +3 -8
- package/dist/components/elements/StoreModalFamily/index.d.ts +0 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -2
- package/dist/components/useConsent.d.ts +9 -0
- package/dist/components/useConsent.js +26 -0
- package/dist/components/useFont.d.ts +29 -0
- package/dist/components/useFont.js +77 -0
- package/dist/components/useFontLoaded.d.ts +24 -0
- package/dist/components/useFontLoaded.js +60 -0
- package/dist/components/useFontStyle.d.ts +3 -4
- package/dist/components/useFontStyle.js +24 -16
- package/dist/deepMerge.d.ts +4 -0
- package/dist/deepMerge.js +24 -0
- package/dist/fontLoader.d.ts +13 -0
- package/dist/fontLoader.js +55 -0
- package/dist/fontdue.css +65 -0
- package/dist/hooks/useAutofit.d.ts +20 -0
- package/dist/hooks/useAutofit.js +114 -0
- package/dist/react-ranger.js +5 -1
- package/dist/reducer.d.ts +0 -4
- package/dist/reducer.js +0 -11
- package/package.json +5 -2
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<dd7a06259fd83e702a9357aae1b63491>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -33,37 +33,51 @@ const node = function () {
|
|
|
33
33
|
"alias": null,
|
|
34
34
|
"args": null,
|
|
35
35
|
"kind": "ScalarField",
|
|
36
|
-
"name": "
|
|
36
|
+
"name": "format",
|
|
37
37
|
"storageKey": null
|
|
38
38
|
},
|
|
39
39
|
v3 = {
|
|
40
40
|
"alias": null,
|
|
41
41
|
"args": null,
|
|
42
42
|
"kind": "ScalarField",
|
|
43
|
-
"name": "
|
|
43
|
+
"name": "url",
|
|
44
44
|
"storageKey": null
|
|
45
45
|
},
|
|
46
46
|
v4 = {
|
|
47
47
|
"alias": null,
|
|
48
48
|
"args": null,
|
|
49
49
|
"kind": "ScalarField",
|
|
50
|
-
"name": "
|
|
50
|
+
"name": "id",
|
|
51
51
|
"storageKey": null
|
|
52
52
|
},
|
|
53
53
|
v5 = {
|
|
54
|
+
"alias": null,
|
|
55
|
+
"args": null,
|
|
56
|
+
"kind": "ScalarField",
|
|
57
|
+
"name": "stripeAccountId",
|
|
58
|
+
"storageKey": null
|
|
59
|
+
},
|
|
60
|
+
v6 = {
|
|
61
|
+
"alias": null,
|
|
62
|
+
"args": null,
|
|
63
|
+
"kind": "ScalarField",
|
|
64
|
+
"name": "email",
|
|
65
|
+
"storageKey": null
|
|
66
|
+
},
|
|
67
|
+
v7 = {
|
|
54
68
|
"alias": null,
|
|
55
69
|
"args": null,
|
|
56
70
|
"kind": "ScalarField",
|
|
57
71
|
"name": "country",
|
|
58
72
|
"storageKey": null
|
|
59
73
|
},
|
|
60
|
-
|
|
74
|
+
v8 = [v0 /*: any*/, {
|
|
61
75
|
"alias": null,
|
|
62
76
|
"args": null,
|
|
63
77
|
"kind": "ScalarField",
|
|
64
78
|
"name": "organization",
|
|
65
79
|
"storageKey": null
|
|
66
|
-
},
|
|
80
|
+
}, v6 /*: any*/, {
|
|
67
81
|
"alias": null,
|
|
68
82
|
"args": null,
|
|
69
83
|
"kind": "ScalarField",
|
|
@@ -87,7 +101,7 @@ const node = function () {
|
|
|
87
101
|
"kind": "ScalarField",
|
|
88
102
|
"name": "sublocality",
|
|
89
103
|
"storageKey": null
|
|
90
|
-
},
|
|
104
|
+
}, v7 /*: any*/, {
|
|
91
105
|
"alias": null,
|
|
92
106
|
"args": null,
|
|
93
107
|
"kind": "ScalarField",
|
|
@@ -118,63 +132,102 @@ const node = function () {
|
|
|
118
132
|
"name": "addressFormatted",
|
|
119
133
|
"storageKey": null
|
|
120
134
|
}],
|
|
121
|
-
|
|
135
|
+
v9 = {
|
|
122
136
|
"alias": null,
|
|
123
137
|
"args": null,
|
|
124
138
|
"kind": "ScalarField",
|
|
125
139
|
"name": "amount",
|
|
126
140
|
"storageKey": null
|
|
127
141
|
},
|
|
128
|
-
|
|
142
|
+
v10 = [v9 /*: any*/, {
|
|
129
143
|
"alias": null,
|
|
130
144
|
"args": null,
|
|
131
145
|
"kind": "ScalarField",
|
|
132
146
|
"name": "currency",
|
|
133
147
|
"storageKey": null
|
|
134
148
|
}],
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
v11 = [v4 /*: any*/],
|
|
150
|
+
v12 = {
|
|
137
151
|
"alias": null,
|
|
138
152
|
"args": null,
|
|
139
153
|
"concreteType": "LicenseOption",
|
|
140
154
|
"kind": "LinkedField",
|
|
141
155
|
"name": "licenseOptions",
|
|
142
156
|
"plural": true,
|
|
143
|
-
"selections":
|
|
157
|
+
"selections": v11 /*: any*/,
|
|
144
158
|
"storageKey": null
|
|
145
159
|
},
|
|
146
|
-
|
|
160
|
+
v13 = {
|
|
147
161
|
"alias": null,
|
|
148
162
|
"args": null,
|
|
149
163
|
"concreteType": "Money",
|
|
150
164
|
"kind": "LinkedField",
|
|
151
165
|
"name": "price",
|
|
152
166
|
"plural": false,
|
|
153
|
-
"selections":
|
|
167
|
+
"selections": v10 /*: any*/,
|
|
154
168
|
"storageKey": null
|
|
155
169
|
},
|
|
156
|
-
|
|
170
|
+
v14 = {
|
|
157
171
|
"alias": null,
|
|
158
172
|
"args": null,
|
|
159
|
-
"
|
|
160
|
-
"
|
|
173
|
+
"concreteType": "WebfontSource",
|
|
174
|
+
"kind": "LinkedField",
|
|
175
|
+
"name": "webfontSources",
|
|
176
|
+
"plural": true,
|
|
177
|
+
"selections": [v3 /*: any*/, v2 /*: any*/],
|
|
161
178
|
"storageKey": null
|
|
162
179
|
},
|
|
163
|
-
|
|
180
|
+
v15 = {
|
|
181
|
+
"alias": null,
|
|
182
|
+
"args": null,
|
|
183
|
+
"concreteType": "VerticalMetrics",
|
|
184
|
+
"kind": "LinkedField",
|
|
185
|
+
"name": "verticalMetrics",
|
|
186
|
+
"plural": false,
|
|
187
|
+
"selections": [{
|
|
188
|
+
"alias": null,
|
|
189
|
+
"args": null,
|
|
190
|
+
"kind": "ScalarField",
|
|
191
|
+
"name": "unitsPerEm",
|
|
192
|
+
"storageKey": null
|
|
193
|
+
}, {
|
|
194
|
+
"alias": null,
|
|
195
|
+
"args": null,
|
|
196
|
+
"kind": "ScalarField",
|
|
197
|
+
"name": "ascender",
|
|
198
|
+
"storageKey": null
|
|
199
|
+
}, {
|
|
200
|
+
"alias": null,
|
|
201
|
+
"args": null,
|
|
202
|
+
"kind": "ScalarField",
|
|
203
|
+
"name": "descender",
|
|
204
|
+
"storageKey": null
|
|
205
|
+
}, {
|
|
206
|
+
"alias": null,
|
|
207
|
+
"args": null,
|
|
208
|
+
"kind": "ScalarField",
|
|
209
|
+
"name": "lineGap",
|
|
210
|
+
"storageKey": null
|
|
211
|
+
}],
|
|
212
|
+
"storageKey": null
|
|
213
|
+
},
|
|
214
|
+
v16 = [v1 /*: any*/, v0 /*: any*/, v14 /*: any*/, v15 /*: any*/, v4 /*: any*/],
|
|
215
|
+
v17 = {
|
|
164
216
|
"alias": null,
|
|
165
217
|
"args": null,
|
|
166
218
|
"kind": "ScalarField",
|
|
167
219
|
"name": "totalStyles",
|
|
168
220
|
"storageKey": null
|
|
169
221
|
},
|
|
170
|
-
|
|
222
|
+
v18 = [v0 /*: any*/, v4 /*: any*/],
|
|
223
|
+
v19 = {
|
|
171
224
|
"alias": null,
|
|
172
225
|
"args": null,
|
|
173
226
|
"concreteType": "FontCollection",
|
|
174
227
|
"kind": "LinkedField",
|
|
175
228
|
"name": "fontCollection",
|
|
176
229
|
"plural": false,
|
|
177
|
-
"selections":
|
|
230
|
+
"selections": v18 /*: any*/,
|
|
178
231
|
"storageKey": null
|
|
179
232
|
};
|
|
180
233
|
return {
|
|
@@ -256,21 +309,9 @@ const node = function () {
|
|
|
256
309
|
"kind": "LinkedField",
|
|
257
310
|
"name": "webfontSources",
|
|
258
311
|
"plural": true,
|
|
259
|
-
"selections": [
|
|
260
|
-
"alias": null,
|
|
261
|
-
"args": null,
|
|
262
|
-
"kind": "ScalarField",
|
|
263
|
-
"name": "format",
|
|
264
|
-
"storageKey": null
|
|
265
|
-
}, {
|
|
266
|
-
"alias": null,
|
|
267
|
-
"args": null,
|
|
268
|
-
"kind": "ScalarField",
|
|
269
|
-
"name": "url",
|
|
270
|
-
"storageKey": null
|
|
271
|
-
}],
|
|
312
|
+
"selections": [v2 /*: any*/, v3 /*: any*/],
|
|
272
313
|
"storageKey": null
|
|
273
|
-
},
|
|
314
|
+
}, v4 /*: any*/],
|
|
274
315
|
"storageKey": null
|
|
275
316
|
}, {
|
|
276
317
|
"alias": null,
|
|
@@ -323,7 +364,7 @@ const node = function () {
|
|
|
323
364
|
"storageKey": null
|
|
324
365
|
}],
|
|
325
366
|
"storageKey": null
|
|
326
|
-
},
|
|
367
|
+
}, v5 /*: any*/, {
|
|
327
368
|
"alias": null,
|
|
328
369
|
"args": null,
|
|
329
370
|
"kind": "ScalarField",
|
|
@@ -336,7 +377,7 @@ const node = function () {
|
|
|
336
377
|
"kind": "LinkedField",
|
|
337
378
|
"name": "currentOrder",
|
|
338
379
|
"plural": false,
|
|
339
|
-
"selections": [
|
|
380
|
+
"selections": [v5 /*: any*/, {
|
|
340
381
|
"alias": null,
|
|
341
382
|
"args": null,
|
|
342
383
|
"concreteType": "StripePaymentIntent",
|
|
@@ -357,7 +398,7 @@ const node = function () {
|
|
|
357
398
|
"storageKey": null
|
|
358
399
|
}],
|
|
359
400
|
"storageKey": null
|
|
360
|
-
},
|
|
401
|
+
}, v4 /*: any*/, {
|
|
361
402
|
"alias": null,
|
|
362
403
|
"args": null,
|
|
363
404
|
"kind": "ScalarField",
|
|
@@ -370,13 +411,13 @@ const node = function () {
|
|
|
370
411
|
"kind": "LinkedField",
|
|
371
412
|
"name": "customer",
|
|
372
413
|
"plural": false,
|
|
373
|
-
"selections": [v0 /*: any*/,
|
|
414
|
+
"selections": [v0 /*: any*/, v6 /*: any*/, {
|
|
374
415
|
"alias": null,
|
|
375
416
|
"args": null,
|
|
376
417
|
"kind": "ScalarField",
|
|
377
418
|
"name": "newsletterOptIn",
|
|
378
419
|
"storageKey": null
|
|
379
|
-
},
|
|
420
|
+
}, v4 /*: any*/, {
|
|
380
421
|
"alias": null,
|
|
381
422
|
"args": null,
|
|
382
423
|
"kind": "ScalarField",
|
|
@@ -391,7 +432,7 @@ const node = function () {
|
|
|
391
432
|
"kind": "LinkedField",
|
|
392
433
|
"name": "billingIdentity",
|
|
393
434
|
"plural": false,
|
|
394
|
-
"selections":
|
|
435
|
+
"selections": v8 /*: any*/,
|
|
395
436
|
"storageKey": null
|
|
396
437
|
}, {
|
|
397
438
|
"alias": null,
|
|
@@ -400,7 +441,7 @@ const node = function () {
|
|
|
400
441
|
"kind": "LinkedField",
|
|
401
442
|
"name": "licenseeIdentity",
|
|
402
443
|
"plural": false,
|
|
403
|
-
"selections":
|
|
444
|
+
"selections": v8 /*: any*/,
|
|
404
445
|
"storageKey": null
|
|
405
446
|
}, {
|
|
406
447
|
"alias": null,
|
|
@@ -427,7 +468,7 @@ const node = function () {
|
|
|
427
468
|
"kind": "LinkedField",
|
|
428
469
|
"name": "subtotal",
|
|
429
470
|
"plural": false,
|
|
430
|
-
"selections":
|
|
471
|
+
"selections": v10 /*: any*/,
|
|
431
472
|
"storageKey": null
|
|
432
473
|
}, {
|
|
433
474
|
"alias": null,
|
|
@@ -443,7 +484,7 @@ const node = function () {
|
|
|
443
484
|
"kind": "LinkedField",
|
|
444
485
|
"name": "amount",
|
|
445
486
|
"plural": false,
|
|
446
|
-
"selections":
|
|
487
|
+
"selections": v10 /*: any*/,
|
|
447
488
|
"storageKey": null
|
|
448
489
|
}, {
|
|
449
490
|
"alias": null,
|
|
@@ -471,7 +512,7 @@ const node = function () {
|
|
|
471
512
|
"kind": "LinkedField",
|
|
472
513
|
"name": "creditAmount",
|
|
473
514
|
"plural": false,
|
|
474
|
-
"selections":
|
|
515
|
+
"selections": v10 /*: any*/,
|
|
475
516
|
"storageKey": null
|
|
476
517
|
}, {
|
|
477
518
|
"alias": null,
|
|
@@ -480,11 +521,11 @@ const node = function () {
|
|
|
480
521
|
"kind": "LinkedField",
|
|
481
522
|
"name": "creditAmountRemaining",
|
|
482
523
|
"plural": false,
|
|
483
|
-
"selections":
|
|
524
|
+
"selections": v10 /*: any*/,
|
|
484
525
|
"storageKey": null
|
|
485
|
-
},
|
|
526
|
+
}, v4 /*: any*/],
|
|
486
527
|
"storageKey": null
|
|
487
|
-
},
|
|
528
|
+
}, v4 /*: any*/],
|
|
488
529
|
"storageKey": null
|
|
489
530
|
}, {
|
|
490
531
|
"alias": null,
|
|
@@ -493,7 +534,7 @@ const node = function () {
|
|
|
493
534
|
"kind": "LinkedField",
|
|
494
535
|
"name": "discountedSubtotal",
|
|
495
536
|
"plural": false,
|
|
496
|
-
"selections":
|
|
537
|
+
"selections": v10 /*: any*/,
|
|
497
538
|
"storageKey": null
|
|
498
539
|
}, {
|
|
499
540
|
"alias": null,
|
|
@@ -502,7 +543,7 @@ const node = function () {
|
|
|
502
543
|
"kind": "LinkedField",
|
|
503
544
|
"name": "total",
|
|
504
545
|
"plural": false,
|
|
505
|
-
"selections":
|
|
546
|
+
"selections": v10 /*: any*/,
|
|
506
547
|
"storageKey": null
|
|
507
548
|
}, {
|
|
508
549
|
"alias": null,
|
|
@@ -517,7 +558,7 @@ const node = function () {
|
|
|
517
558
|
"kind": "LinkedField",
|
|
518
559
|
"name": "taxes",
|
|
519
560
|
"plural": false,
|
|
520
|
-
"selections":
|
|
561
|
+
"selections": v10 /*: any*/,
|
|
521
562
|
"storageKey": null
|
|
522
563
|
}, {
|
|
523
564
|
"alias": null,
|
|
@@ -550,7 +591,7 @@ const node = function () {
|
|
|
550
591
|
"kind": "LinkedField",
|
|
551
592
|
"name": "orderItems",
|
|
552
593
|
"plural": true,
|
|
553
|
-
"selections": [
|
|
594
|
+
"selections": [v4 /*: any*/, {
|
|
554
595
|
"alias": null,
|
|
555
596
|
"args": null,
|
|
556
597
|
"concreteType": "LicenseSelection",
|
|
@@ -564,21 +605,21 @@ const node = function () {
|
|
|
564
605
|
"kind": "LinkedField",
|
|
565
606
|
"name": "license",
|
|
566
607
|
"plural": false,
|
|
567
|
-
"selections": [
|
|
608
|
+
"selections": [v4 /*: any*/, v0 /*: any*/, {
|
|
568
609
|
"alias": null,
|
|
569
610
|
"args": null,
|
|
570
611
|
"concreteType": "LicenseVariable",
|
|
571
612
|
"kind": "LinkedField",
|
|
572
613
|
"name": "licenseVariables",
|
|
573
614
|
"plural": true,
|
|
574
|
-
"selections": [
|
|
615
|
+
"selections": [v4 /*: any*/, {
|
|
575
616
|
"alias": null,
|
|
576
617
|
"args": null,
|
|
577
618
|
"concreteType": "LicenseOption",
|
|
578
619
|
"kind": "LinkedField",
|
|
579
620
|
"name": "licenseOptions",
|
|
580
621
|
"plural": true,
|
|
581
|
-
"selections": [
|
|
622
|
+
"selections": [v4 /*: any*/, v0 /*: any*/, v9 /*: any*/],
|
|
582
623
|
"storageKey": null
|
|
583
624
|
}],
|
|
584
625
|
"storageKey": null
|
|
@@ -591,7 +632,7 @@ const node = function () {
|
|
|
591
632
|
"kind": "LinkedField",
|
|
592
633
|
"name": "licenseVariable",
|
|
593
634
|
"plural": false,
|
|
594
|
-
"selections": [
|
|
635
|
+
"selections": [v4 /*: any*/, {
|
|
595
636
|
"alias": null,
|
|
596
637
|
"args": null,
|
|
597
638
|
"kind": "ScalarField",
|
|
@@ -603,7 +644,7 @@ const node = function () {
|
|
|
603
644
|
"kind": "ScalarField",
|
|
604
645
|
"name": "variableType",
|
|
605
646
|
"storageKey": null
|
|
606
|
-
},
|
|
647
|
+
}, v12 /*: any*/],
|
|
607
648
|
"storageKey": null
|
|
608
649
|
}, {
|
|
609
650
|
"alias": null,
|
|
@@ -612,13 +653,13 @@ const node = function () {
|
|
|
612
653
|
"kind": "LinkedField",
|
|
613
654
|
"name": "licenseOption",
|
|
614
655
|
"plural": false,
|
|
615
|
-
"selections": [
|
|
656
|
+
"selections": [v4 /*: any*/, {
|
|
616
657
|
"alias": null,
|
|
617
658
|
"args": null,
|
|
618
659
|
"kind": "ScalarField",
|
|
619
660
|
"name": "amounts",
|
|
620
661
|
"storageKey": null
|
|
621
|
-
}, v0 /*: any*/,
|
|
662
|
+
}, v0 /*: any*/, v9 /*: any*/],
|
|
622
663
|
"storageKey": null
|
|
623
664
|
}, {
|
|
624
665
|
"alias": null,
|
|
@@ -626,16 +667,16 @@ const node = function () {
|
|
|
626
667
|
"kind": "ScalarField",
|
|
627
668
|
"name": "variableText",
|
|
628
669
|
"storageKey": null
|
|
629
|
-
},
|
|
670
|
+
}, v4 /*: any*/],
|
|
630
671
|
"storageKey": null
|
|
631
|
-
},
|
|
672
|
+
}, v13 /*: any*/, {
|
|
632
673
|
"alias": null,
|
|
633
674
|
"args": null,
|
|
634
675
|
"concreteType": "Sku",
|
|
635
676
|
"kind": "LinkedField",
|
|
636
677
|
"name": "sku",
|
|
637
678
|
"plural": false,
|
|
638
|
-
"selections": [
|
|
679
|
+
"selections": [v13 /*: any*/, {
|
|
639
680
|
"alias": null,
|
|
640
681
|
"args": null,
|
|
641
682
|
"concreteType": null,
|
|
@@ -660,16 +701,7 @@ const node = function () {
|
|
|
660
701
|
"kind": "LinkedField",
|
|
661
702
|
"name": "featureStyle",
|
|
662
703
|
"plural": false,
|
|
663
|
-
"selections":
|
|
664
|
-
"alias": null,
|
|
665
|
-
"args": null,
|
|
666
|
-
"concreteType": "FontCollection",
|
|
667
|
-
"kind": "LinkedField",
|
|
668
|
-
"name": "family",
|
|
669
|
-
"plural": false,
|
|
670
|
-
"selections": [v12 /*: any*/, v2 /*: any*/],
|
|
671
|
-
"storageKey": null
|
|
672
|
-
}],
|
|
704
|
+
"selections": v16 /*: any*/,
|
|
673
705
|
"storageKey": null
|
|
674
706
|
}, v0 /*: any*/, {
|
|
675
707
|
"alias": null,
|
|
@@ -677,7 +709,7 @@ const node = function () {
|
|
|
677
709
|
"kind": "ScalarField",
|
|
678
710
|
"name": "isVariableFont",
|
|
679
711
|
"storageKey": null
|
|
680
|
-
},
|
|
712
|
+
}, v17 /*: any*/],
|
|
681
713
|
"type": "FontCollection",
|
|
682
714
|
"abstractKey": null
|
|
683
715
|
}, {
|
|
@@ -689,21 +721,21 @@ const node = function () {
|
|
|
689
721
|
"kind": "LinkedField",
|
|
690
722
|
"name": "fontStyles",
|
|
691
723
|
"plural": true,
|
|
692
|
-
"selections":
|
|
724
|
+
"selections": v16 /*: any*/,
|
|
693
725
|
"storageKey": null
|
|
694
|
-
}, v0 /*: any*/,
|
|
726
|
+
}, v0 /*: any*/, v19 /*: any*/],
|
|
695
727
|
"type": "Bundle",
|
|
696
728
|
"abstractKey": null
|
|
697
729
|
}, {
|
|
698
730
|
"kind": "InlineFragment",
|
|
699
|
-
"selections": [v1 /*: any*/, v0 /*: any*/, {
|
|
731
|
+
"selections": [v1 /*: any*/, v0 /*: any*/, v14 /*: any*/, v15 /*: any*/, {
|
|
700
732
|
"alias": null,
|
|
701
733
|
"args": null,
|
|
702
734
|
"concreteType": "FontCollection",
|
|
703
735
|
"kind": "LinkedField",
|
|
704
736
|
"name": "family",
|
|
705
737
|
"plural": false,
|
|
706
|
-
"selections":
|
|
738
|
+
"selections": v18 /*: any*/,
|
|
707
739
|
"storageKey": null
|
|
708
740
|
}, {
|
|
709
741
|
"alias": null,
|
|
@@ -719,7 +751,7 @@ const node = function () {
|
|
|
719
751
|
"abstractKey": null
|
|
720
752
|
}, {
|
|
721
753
|
"kind": "InlineFragment",
|
|
722
|
-
"selections": [v0 /*: any*/,
|
|
754
|
+
"selections": [v0 /*: any*/, v17 /*: any*/, v19 /*: any*/],
|
|
723
755
|
"type": "CollectionBundle",
|
|
724
756
|
"abstractKey": null
|
|
725
757
|
}, {
|
|
@@ -731,14 +763,14 @@ const node = function () {
|
|
|
731
763
|
"kind": "LinkedField",
|
|
732
764
|
"name": "licenses",
|
|
733
765
|
"plural": true,
|
|
734
|
-
"selections": [
|
|
766
|
+
"selections": [v4 /*: any*/, v0 /*: any*/, {
|
|
735
767
|
"alias": null,
|
|
736
768
|
"args": null,
|
|
737
769
|
"concreteType": "LicenseVariable",
|
|
738
770
|
"kind": "LinkedField",
|
|
739
771
|
"name": "licenseVariables",
|
|
740
772
|
"plural": true,
|
|
741
|
-
"selections": [
|
|
773
|
+
"selections": [v4 /*: any*/, v12 /*: any*/],
|
|
742
774
|
"storageKey": null
|
|
743
775
|
}],
|
|
744
776
|
"storageKey": null
|
|
@@ -747,12 +779,12 @@ const node = function () {
|
|
|
747
779
|
"abstractKey": "__isLicenseable"
|
|
748
780
|
}, {
|
|
749
781
|
"kind": "InlineFragment",
|
|
750
|
-
"selections":
|
|
782
|
+
"selections": v11 /*: any*/,
|
|
751
783
|
"type": "Node",
|
|
752
784
|
"abstractKey": "__isNode"
|
|
753
785
|
}],
|
|
754
786
|
"storageKey": null
|
|
755
|
-
},
|
|
787
|
+
}, v4 /*: any*/],
|
|
756
788
|
"storageKey": null
|
|
757
789
|
}],
|
|
758
790
|
"storageKey": null
|
|
@@ -770,7 +802,7 @@ const node = function () {
|
|
|
770
802
|
"kind": "LinkedField",
|
|
771
803
|
"name": "orderVariable",
|
|
772
804
|
"plural": false,
|
|
773
|
-
"selections":
|
|
805
|
+
"selections": v11 /*: any*/,
|
|
774
806
|
"storageKey": null
|
|
775
807
|
}, {
|
|
776
808
|
"alias": null,
|
|
@@ -779,7 +811,7 @@ const node = function () {
|
|
|
779
811
|
"kind": "LinkedField",
|
|
780
812
|
"name": "orderVariableOption",
|
|
781
813
|
"plural": false,
|
|
782
|
-
"selections":
|
|
814
|
+
"selections": v11 /*: any*/,
|
|
783
815
|
"storageKey": null
|
|
784
816
|
}, {
|
|
785
817
|
"alias": null,
|
|
@@ -787,7 +819,7 @@ const node = function () {
|
|
|
787
819
|
"kind": "ScalarField",
|
|
788
820
|
"name": "countryCode",
|
|
789
821
|
"storageKey": null
|
|
790
|
-
},
|
|
822
|
+
}, v4 /*: any*/],
|
|
791
823
|
"storageKey": null
|
|
792
824
|
}, {
|
|
793
825
|
"alias": null,
|
|
@@ -836,17 +868,17 @@ const node = function () {
|
|
|
836
868
|
"storageKey": null
|
|
837
869
|
}, v0 /*: any*/],
|
|
838
870
|
"storageKey": null
|
|
839
|
-
},
|
|
871
|
+
}, v7 /*: any*/, v4 /*: any*/],
|
|
840
872
|
"storageKey": null
|
|
841
873
|
}]
|
|
842
874
|
},
|
|
843
875
|
"params": {
|
|
844
|
-
"cacheID": "
|
|
876
|
+
"cacheID": "46c58ad70b26772d0681b680caa22bea",
|
|
845
877
|
"id": null,
|
|
846
878
|
"metadata": {},
|
|
847
879
|
"name": "CartQuery",
|
|
848
880
|
"operationKind": "query",
|
|
849
|
-
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n
|
|
881
|
+
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\n }\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n country\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\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 }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
850
882
|
}
|
|
851
883
|
};
|
|
852
884
|
}();
|