fontdue-js 3.5.1 → 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.
Files changed (151) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -0
  3. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +3 -1
  4. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +1 -1
  5. package/dist/__generated__/CustomerSignInRequestLoginCodeMutation.graphql.d.ts +24 -0
  6. package/dist/__generated__/CustomerSignInRequestLoginCodeMutation.graphql.js +71 -0
  7. package/dist/__generated__/CustomerSignInVerifyLoginCodeMutation.graphql.d.ts +30 -0
  8. package/dist/__generated__/CustomerSignInVerifyLoginCodeMutation.graphql.js +98 -0
  9. package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +4 -1
  10. package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
  11. package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.d.ts +3 -1
  12. package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.js +1 -1
  13. package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
  14. package/dist/__generated__/PriceBar_node.graphql.js +23 -16
  15. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
  16. package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
  17. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
  18. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
  19. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +4 -9
  20. package/dist/__generated__/StoreModalIndexQuery.graphql.js +90 -53
  21. package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
  22. package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
  23. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +4 -1
  24. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +12 -5
  25. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +2 -1
  26. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +27 -24
  27. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -19
  28. package/dist/__generated__/StoreModalProductQuery.graphql.js +143 -174
  29. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  30. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +54 -53
  31. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +38 -0
  32. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +750 -0
  33. package/dist/__generated__/StoreModalProductViewer.graphql.d.ts +34 -0
  34. package/dist/__generated__/StoreModalProductViewer.graphql.js +149 -0
  35. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +3 -1
  36. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +1 -1
  37. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +3 -1
  38. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +1 -1
  39. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  40. package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
  41. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
  42. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
  43. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  44. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
  45. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
  46. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
  47. package/dist/__generated__/useCurrentCustomerQuery.graphql.d.ts +23 -0
  48. package/dist/__generated__/{ServerConfigProviderQuery.graphql.js → useCurrentCustomerQuery.graphql.js} +24 -39
  49. package/dist/__tests__/bundleSelectionOrder.test.js +92 -0
  50. package/dist/__tests__/collectionBundleSelection.test.js +441 -1446
  51. package/dist/__tests__/customerSession.test.js +456 -0
  52. package/dist/__tests__/infiniteScroll.test.js +180 -0
  53. package/dist/__tests__/licenseExclusions.test.js +2 -1
  54. package/dist/__tests__/storeModalRoutes.test.js +118 -0
  55. package/dist/__tests__/storefrontEvents.test.js +167 -0
  56. package/dist/__tests__/stripeElements.test.js +173 -0
  57. package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
  58. package/dist/__tests__/typeTesterInitialSize.test.js +82 -0
  59. package/dist/__tests__/typeTesterTruncate.test.js +218 -0
  60. package/dist/auth/session.d.ts +42 -0
  61. package/dist/auth/session.js +139 -0
  62. package/dist/auth/tokenStore.d.ts +61 -0
  63. package/dist/auth/tokenStore.js +162 -0
  64. package/dist/components/Cart/Checkout.js +19 -9
  65. package/dist/components/Cart/storefrontEvents.d.ts +34 -0
  66. package/dist/components/Cart/storefrontEvents.js +138 -0
  67. package/dist/components/ConfigContext.d.ts +2 -2
  68. package/dist/components/CustomerSignIn/index.d.ts +33 -0
  69. package/dist/components/CustomerSignIn/index.js +170 -0
  70. package/dist/components/FontFamilies/index.js +4 -3
  71. package/dist/components/NewsletterSignup/index.js +5 -1
  72. package/dist/components/Precart/index.js +6 -0
  73. package/dist/components/PriceBar/index.js +5 -3
  74. package/dist/components/Root/index.js +4 -34
  75. package/dist/components/Root/productState.d.ts +2 -8
  76. package/dist/components/Root/productState.js +46 -57
  77. package/dist/components/SKUPrice/index.js +7 -8
  78. package/dist/components/StoreModal/StoreModalFamily.js +4 -2
  79. package/dist/components/StoreModal/StoreModalIndex.js +48 -7
  80. package/dist/components/StoreModal/StoreModalProduct.d.ts +5 -1
  81. package/dist/components/StoreModal/StoreModalProduct.js +69 -16
  82. package/dist/components/StoreModal/index.js +14 -14
  83. package/dist/components/StoreModal/routes.js +9 -1
  84. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
  85. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
  86. package/dist/components/StoreModalProductLicenseSelection/index.js +3 -2
  87. package/dist/components/TestFontsForm/index.js +5 -1
  88. package/dist/components/TypeTester/TypeTesterContent.js +9 -2
  89. package/dist/components/TypeTester/TypeTesterContext.js +17 -4
  90. package/dist/components/TypeTester/TypeTesterFitter.js +7 -2
  91. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -0
  92. package/dist/components/TypeTester/TypeTesterStandalone.js +2 -0
  93. package/dist/components/TypeTester/TypeTesterStandaloneElement.d.ts +1 -0
  94. package/dist/components/TypeTester/TypeTesterStandaloneElement.js +4 -1
  95. package/dist/components/TypeTester/TypeTesterVariableAxes.js +16 -10
  96. package/dist/components/TypeTester/index.d.ts +3 -1
  97. package/dist/components/TypeTester/index.js +2 -1
  98. package/dist/components/TypeTester/truncate.d.ts +12 -0
  99. package/dist/components/TypeTester/truncate.js +95 -0
  100. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
  101. package/dist/components/TypeTester/useTypeTesterStyler.js +36 -7
  102. package/dist/components/TypeTesters/TypeTestersElement.d.ts +2 -1
  103. package/dist/components/TypeTesters/TypeTestersElement.js +4 -1
  104. package/dist/components/TypeTesters/index.d.ts +2 -0
  105. package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
  106. package/dist/components/elements/StoreModalContainer/index.js +9 -4
  107. package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
  108. package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
  109. package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +1 -1
  110. package/dist/components/elements/StoreModalUnifiedCheckout.js +20 -17
  111. package/dist/components/useInfiniteScroll.d.ts +28 -0
  112. package/dist/components/useInfiniteScroll.js +50 -0
  113. package/dist/fontdue.css +63 -0
  114. package/dist/hooks/useAutofit.d.ts +2 -1
  115. package/dist/hooks/useAutofit.js +10 -4
  116. package/dist/hooks/useCurrentCustomer.d.ts +34 -0
  117. package/dist/hooks/useCurrentCustomer.js +93 -0
  118. package/dist/reducer.d.ts +5 -5
  119. package/dist/reducer.js +9 -87
  120. package/dist/relay/environment.js +91 -50
  121. package/dist/selection.d.ts +40 -0
  122. package/dist/selection.js +494 -0
  123. package/dist/storeModalRoutes.d.ts +38 -0
  124. package/dist/storeModalRoutes.js +110 -0
  125. package/dist/stripeElements.d.ts +18 -0
  126. package/dist/stripeElements.js +49 -0
  127. package/dist/utils.d.ts +1 -12
  128. package/dist/utils.js +1 -36
  129. package/dist/version.js +1 -1
  130. package/package.json +1 -1
  131. package/dist/__generated__/NodePasswordFormIDQuery.graphql.d.ts +0 -21
  132. package/dist/__generated__/NodePasswordFormIDQuery.graphql.js +0 -86
  133. package/dist/__generated__/NodePasswordFormSlugQuery.graphql.d.ts +0 -25
  134. package/dist/__generated__/NodePasswordFormSlugQuery.graphql.js +0 -108
  135. package/dist/__generated__/ServerConfigProviderQuery.graphql.d.ts +0 -24
  136. package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +0 -20
  137. package/dist/__generated__/TestModeBannerQuery.graphql.js +0 -87
  138. package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +0 -20
  139. package/dist/__generated__/ThemeConfigQuery.graphql.js +0 -87
  140. package/dist/components/CartButton/index.server.d.ts +0 -3
  141. package/dist/components/CartButton/index.server.js +0 -18
  142. package/dist/components/CorsErrorModal.d.ts +0 -1
  143. package/dist/components/CorsErrorModal.js +0 -92
  144. package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +0 -14
  145. package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +0 -61
  146. package/dist/components/ThemeConfig/index.server.d.ts +0 -2
  147. package/dist/components/ThemeConfig/index.server.js +0 -17
  148. package/dist/components/TypeTester/features.d.ts +0 -5
  149. package/dist/components/TypeTester/features.js +0 -143
  150. package/dist/data/unicodeData.d.ts +0 -4
  151. package/dist/data/unicodeData.js +0 -1
@@ -0,0 +1,750 @@
1
+ /**
2
+ * @generated SignedSource<<ea0562a1eaacba8b9f8162ed0aca3734>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ const node = function () {
12
+ var v0 = {
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "licenseOptions"
16
+ },
17
+ v1 = {
18
+ "defaultValue": null,
19
+ "kind": "LocalArgument",
20
+ "name": "orderVariables"
21
+ },
22
+ v2 = {
23
+ "defaultValue": null,
24
+ "kind": "LocalArgument",
25
+ "name": "productSlug"
26
+ },
27
+ v3 = [{
28
+ "kind": "Variable",
29
+ "name": "name",
30
+ "variableName": "productSlug"
31
+ }],
32
+ v4 = {
33
+ "alias": null,
34
+ "args": null,
35
+ "kind": "ScalarField",
36
+ "name": "id",
37
+ "storageKey": null
38
+ },
39
+ v5 = {
40
+ "kind": "Variable",
41
+ "name": "licenseOptions",
42
+ "variableName": "licenseOptions"
43
+ },
44
+ v6 = {
45
+ "kind": "Variable",
46
+ "name": "orderVariables",
47
+ "variableName": "orderVariables"
48
+ },
49
+ v7 = [v5 /*: any*/, v6 /*: any*/],
50
+ v8 = {
51
+ "alias": null,
52
+ "args": null,
53
+ "kind": "ScalarField",
54
+ "name": "visibility",
55
+ "storageKey": null
56
+ },
57
+ v9 = {
58
+ "alias": null,
59
+ "args": null,
60
+ "kind": "ScalarField",
61
+ "name": "isVariableFont",
62
+ "storageKey": null
63
+ },
64
+ v10 = {
65
+ "alias": null,
66
+ "args": null,
67
+ "kind": "ScalarField",
68
+ "name": "collectionType",
69
+ "storageKey": null
70
+ },
71
+ v11 = {
72
+ "alias": null,
73
+ "args": null,
74
+ "kind": "ScalarField",
75
+ "name": "name",
76
+ "storageKey": null
77
+ },
78
+ v12 = {
79
+ "alias": null,
80
+ "args": null,
81
+ "kind": "ScalarField",
82
+ "name": "amount",
83
+ "storageKey": null
84
+ },
85
+ v13 = [v12 /*: any*/, {
86
+ "alias": null,
87
+ "args": null,
88
+ "kind": "ScalarField",
89
+ "name": "currency",
90
+ "storageKey": null
91
+ }],
92
+ v14 = {
93
+ "alias": null,
94
+ "args": null,
95
+ "concreteType": "Sku",
96
+ "kind": "LinkedField",
97
+ "name": "sku",
98
+ "plural": false,
99
+ "selections": [v4 /*: any*/, {
100
+ "alias": null,
101
+ "args": v7 /*: any*/,
102
+ "concreteType": "Money",
103
+ "kind": "LinkedField",
104
+ "name": "price",
105
+ "plural": false,
106
+ "selections": v13 /*: any*/,
107
+ "storageKey": null
108
+ }],
109
+ "storageKey": null
110
+ },
111
+ v15 = [v4 /*: any*/],
112
+ v16 = {
113
+ "alias": null,
114
+ "args": null,
115
+ "concreteType": "FontCollection",
116
+ "kind": "LinkedField",
117
+ "name": "parent",
118
+ "plural": false,
119
+ "selections": v15 /*: any*/,
120
+ "storageKey": null
121
+ },
122
+ v17 = {
123
+ "alias": null,
124
+ "args": null,
125
+ "kind": "ScalarField",
126
+ "name": "cssFamily",
127
+ "storageKey": null
128
+ },
129
+ v18 = {
130
+ "alias": null,
131
+ "args": null,
132
+ "kind": "ScalarField",
133
+ "name": "url",
134
+ "storageKey": null
135
+ },
136
+ v19 = {
137
+ "alias": null,
138
+ "args": null,
139
+ "concreteType": "WebfontSource",
140
+ "kind": "LinkedField",
141
+ "name": "webfontSources",
142
+ "plural": true,
143
+ "selections": [v18 /*: any*/, {
144
+ "alias": null,
145
+ "args": null,
146
+ "kind": "ScalarField",
147
+ "name": "format",
148
+ "storageKey": null
149
+ }, {
150
+ "alias": null,
151
+ "args": null,
152
+ "kind": "ScalarField",
153
+ "name": "tech",
154
+ "storageKey": null
155
+ }],
156
+ "storageKey": null
157
+ },
158
+ v20 = {
159
+ "alias": null,
160
+ "args": null,
161
+ "concreteType": "VerticalMetrics",
162
+ "kind": "LinkedField",
163
+ "name": "verticalMetrics",
164
+ "plural": false,
165
+ "selections": [{
166
+ "alias": null,
167
+ "args": null,
168
+ "kind": "ScalarField",
169
+ "name": "unitsPerEm",
170
+ "storageKey": null
171
+ }, {
172
+ "alias": null,
173
+ "args": null,
174
+ "kind": "ScalarField",
175
+ "name": "ascender",
176
+ "storageKey": null
177
+ }, {
178
+ "alias": null,
179
+ "args": null,
180
+ "kind": "ScalarField",
181
+ "name": "descender",
182
+ "storageKey": null
183
+ }, {
184
+ "alias": null,
185
+ "args": null,
186
+ "kind": "ScalarField",
187
+ "name": "lineGap",
188
+ "storageKey": null
189
+ }, {
190
+ "alias": null,
191
+ "args": null,
192
+ "kind": "ScalarField",
193
+ "name": "avgCharWidth",
194
+ "storageKey": null
195
+ }],
196
+ "storageKey": null
197
+ },
198
+ v21 = {
199
+ "alias": null,
200
+ "args": null,
201
+ "kind": "ScalarField",
202
+ "name": "supportedLanguages",
203
+ "storageKey": null
204
+ },
205
+ v22 = {
206
+ "alias": null,
207
+ "args": null,
208
+ "concreteType": "FontStyle",
209
+ "kind": "LinkedField",
210
+ "name": "featureStyle",
211
+ "plural": false,
212
+ "selections": [v17 /*: any*/, v11 /*: any*/, v19 /*: any*/, v20 /*: any*/, v21 /*: any*/, v4 /*: any*/],
213
+ "storageKey": null
214
+ },
215
+ v23 = {
216
+ "alias": null,
217
+ "args": null,
218
+ "kind": "ScalarField",
219
+ "name": "totalStyles",
220
+ "storageKey": null
221
+ },
222
+ v24 = {
223
+ "alias": null,
224
+ "args": null,
225
+ "concreteType": "Money",
226
+ "kind": "LinkedField",
227
+ "name": "totalStylesPrice",
228
+ "plural": false,
229
+ "selections": v13 /*: any*/,
230
+ "storageKey": null
231
+ },
232
+ v25 = [{
233
+ "kind": "Literal",
234
+ "name": "collectionTypes",
235
+ "value": ["FAMILY"]
236
+ }],
237
+ v26 = {
238
+ "alias": null,
239
+ "args": null,
240
+ "kind": "ScalarField",
241
+ "name": "cssWeight",
242
+ "storageKey": null
243
+ },
244
+ v27 = {
245
+ "alias": null,
246
+ "args": null,
247
+ "kind": "ScalarField",
248
+ "name": "cssStretch",
249
+ "storageKey": null
250
+ },
251
+ v28 = {
252
+ "alias": null,
253
+ "args": null,
254
+ "concreteType": "VariableInstance",
255
+ "kind": "LinkedField",
256
+ "name": "variableInstances",
257
+ "plural": true,
258
+ "selections": [v11 /*: any*/, {
259
+ "alias": null,
260
+ "args": null,
261
+ "concreteType": "VariableSetting",
262
+ "kind": "LinkedField",
263
+ "name": "coordinates",
264
+ "plural": true,
265
+ "selections": [{
266
+ "alias": null,
267
+ "args": null,
268
+ "kind": "ScalarField",
269
+ "name": "axis",
270
+ "storageKey": null
271
+ }, {
272
+ "alias": null,
273
+ "args": null,
274
+ "kind": "ScalarField",
275
+ "name": "value",
276
+ "storageKey": null
277
+ }],
278
+ "storageKey": null
279
+ }],
280
+ "storageKey": null
281
+ },
282
+ v29 = {
283
+ "alias": null,
284
+ "args": null,
285
+ "concreteType": "Bundle",
286
+ "kind": "LinkedField",
287
+ "name": "bundles",
288
+ "plural": true,
289
+ "selections": [v4 /*: any*/, v8 /*: any*/, {
290
+ "alias": null,
291
+ "args": null,
292
+ "concreteType": "FontStyle",
293
+ "kind": "LinkedField",
294
+ "name": "fontStyles",
295
+ "plural": true,
296
+ "selections": [v4 /*: any*/, v17 /*: any*/, v26 /*: any*/, v27 /*: any*/, v11 /*: any*/, v21 /*: any*/, v28 /*: any*/, v14 /*: any*/, v19 /*: any*/, v20 /*: any*/],
297
+ "storageKey": null
298
+ }, v11 /*: any*/, v14 /*: any*/],
299
+ "storageKey": null
300
+ },
301
+ v30 = {
302
+ "alias": null,
303
+ "args": null,
304
+ "concreteType": "FontStyle",
305
+ "kind": "LinkedField",
306
+ "name": "fontStyles",
307
+ "plural": true,
308
+ "selections": [v4 /*: any*/, v17 /*: any*/, v26 /*: any*/, v27 /*: any*/, {
309
+ "alias": null,
310
+ "args": null,
311
+ "kind": "ScalarField",
312
+ "name": "cssStyle",
313
+ "storageKey": null
314
+ }, v11 /*: any*/, v21 /*: any*/, v28 /*: any*/, v14 /*: any*/, v19 /*: any*/, v20 /*: any*/],
315
+ "storageKey": null
316
+ },
317
+ v31 = {
318
+ "kind": "Literal",
319
+ "name": "format",
320
+ "value": "HTML"
321
+ },
322
+ v32 = [v31 /*: any*/],
323
+ v33 = {
324
+ "alias": null,
325
+ "args": null,
326
+ "kind": "ScalarField",
327
+ "name": "variableType",
328
+ "storageKey": null
329
+ },
330
+ v34 = [v12 /*: any*/],
331
+ v35 = [v23 /*: any*/, {
332
+ "alias": null,
333
+ "args": v7 /*: any*/,
334
+ "concreteType": "Money",
335
+ "kind": "LinkedField",
336
+ "name": "totalStylesPrice",
337
+ "plural": false,
338
+ "selections": v34 /*: any*/,
339
+ "storageKey": null
340
+ }];
341
+ return {
342
+ "fragment": {
343
+ "argumentDefinitions": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/],
344
+ "kind": "Fragment",
345
+ "metadata": null,
346
+ "name": "StoreModalProductSlugQuery",
347
+ "selections": [{
348
+ "alias": null,
349
+ "args": null,
350
+ "concreteType": "Viewer",
351
+ "kind": "LinkedField",
352
+ "name": "viewer",
353
+ "plural": false,
354
+ "selections": [{
355
+ "alias": null,
356
+ "args": v3 /*: any*/,
357
+ "concreteType": "Slug",
358
+ "kind": "LinkedField",
359
+ "name": "slug",
360
+ "plural": false,
361
+ "selections": [{
362
+ "alias": "collection",
363
+ "args": null,
364
+ "concreteType": "FontCollection",
365
+ "kind": "LinkedField",
366
+ "name": "fontCollection",
367
+ "plural": false,
368
+ "selections": [v4 /*: any*/, {
369
+ "args": v7 /*: any*/,
370
+ "kind": "FragmentSpread",
371
+ "name": "StoreModalProductContent_collection"
372
+ }],
373
+ "storageKey": null
374
+ }],
375
+ "storageKey": null
376
+ }, {
377
+ "args": v7 /*: any*/,
378
+ "kind": "FragmentSpread",
379
+ "name": "StoreModalProductViewer"
380
+ }],
381
+ "storageKey": null
382
+ }],
383
+ "type": "RootQueryType",
384
+ "abstractKey": null
385
+ },
386
+ "kind": "Request",
387
+ "operation": {
388
+ "argumentDefinitions": [v2 /*: any*/, v0 /*: any*/, v1 /*: any*/],
389
+ "kind": "Operation",
390
+ "name": "StoreModalProductSlugQuery",
391
+ "selections": [{
392
+ "alias": null,
393
+ "args": null,
394
+ "concreteType": "Viewer",
395
+ "kind": "LinkedField",
396
+ "name": "viewer",
397
+ "plural": false,
398
+ "selections": [{
399
+ "alias": null,
400
+ "args": v3 /*: any*/,
401
+ "concreteType": "Slug",
402
+ "kind": "LinkedField",
403
+ "name": "slug",
404
+ "plural": false,
405
+ "selections": [{
406
+ "alias": "collection",
407
+ "args": null,
408
+ "concreteType": "FontCollection",
409
+ "kind": "LinkedField",
410
+ "name": "fontCollection",
411
+ "plural": false,
412
+ "selections": [v4 /*: any*/, {
413
+ "kind": "InlineFragment",
414
+ "selections": [{
415
+ "kind": "InlineFragment",
416
+ "selections": [v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v14 /*: any*/, v16 /*: any*/, v22 /*: any*/, v23 /*: any*/, v24 /*: any*/, {
417
+ "alias": null,
418
+ "args": v25 /*: any*/,
419
+ "concreteType": "FontCollection",
420
+ "kind": "LinkedField",
421
+ "name": "children",
422
+ "plural": true,
423
+ "selections": [v9 /*: any*/, v23 /*: any*/, v4 /*: any*/, v8 /*: any*/, v10 /*: any*/, v11 /*: any*/, v14 /*: any*/, v16 /*: any*/, v22 /*: any*/, v24 /*: any*/, {
424
+ "alias": null,
425
+ "args": v25 /*: any*/,
426
+ "concreteType": "FontCollection",
427
+ "kind": "LinkedField",
428
+ "name": "children",
429
+ "plural": true,
430
+ "selections": [v9 /*: any*/, v23 /*: any*/, v4 /*: any*/],
431
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
432
+ }, v29 /*: any*/, v30 /*: any*/],
433
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
434
+ }, v29 /*: any*/, v30 /*: any*/, {
435
+ "alias": null,
436
+ "args": null,
437
+ "concreteType": "License",
438
+ "kind": "LinkedField",
439
+ "name": "licenses",
440
+ "plural": true,
441
+ "selections": [v4 /*: any*/, v18 /*: any*/, v11 /*: any*/, {
442
+ "alias": null,
443
+ "args": v32 /*: any*/,
444
+ "kind": "ScalarField",
445
+ "name": "description",
446
+ "storageKey": "description(format:\"HTML\")"
447
+ }, {
448
+ "alias": null,
449
+ "args": null,
450
+ "kind": "ScalarField",
451
+ "name": "defaultSelected",
452
+ "storageKey": null
453
+ }, {
454
+ "alias": null,
455
+ "args": null,
456
+ "concreteType": "License",
457
+ "kind": "LinkedField",
458
+ "name": "excludedLicenses",
459
+ "plural": true,
460
+ "selections": v15 /*: any*/,
461
+ "storageKey": null
462
+ }, {
463
+ "alias": "variables",
464
+ "args": null,
465
+ "concreteType": "LicenseVariable",
466
+ "kind": "LinkedField",
467
+ "name": "licenseVariables",
468
+ "plural": true,
469
+ "selections": [v4 /*: any*/, v11 /*: any*/, v33 /*: any*/, {
470
+ "alias": null,
471
+ "args": null,
472
+ "kind": "ScalarField",
473
+ "name": "units",
474
+ "storageKey": null
475
+ }, {
476
+ "alias": "options",
477
+ "args": null,
478
+ "concreteType": "LicenseOption",
479
+ "kind": "LinkedField",
480
+ "name": "licenseOptions",
481
+ "plural": true,
482
+ "selections": [v4 /*: any*/, v11 /*: any*/, v12 /*: any*/, {
483
+ "alias": null,
484
+ "args": null,
485
+ "kind": "ScalarField",
486
+ "name": "amounts",
487
+ "storageKey": null
488
+ }],
489
+ "storageKey": null
490
+ }],
491
+ "storageKey": null
492
+ }],
493
+ "storageKey": null
494
+ }],
495
+ "type": "FontCollection",
496
+ "abstractKey": null
497
+ }],
498
+ "type": "Node",
499
+ "abstractKey": "__isNode"
500
+ }],
501
+ "storageKey": null
502
+ }, v4 /*: any*/],
503
+ "storageKey": null
504
+ }, {
505
+ "alias": null,
506
+ "args": null,
507
+ "kind": "ScalarField",
508
+ "name": "endpoint",
509
+ "storageKey": null
510
+ }, {
511
+ "alias": null,
512
+ "args": null,
513
+ "kind": "ScalarField",
514
+ "name": "stripeAccountId",
515
+ "storageKey": null
516
+ }, {
517
+ "alias": null,
518
+ "args": null,
519
+ "concreteType": "OrderVariable",
520
+ "kind": "LinkedField",
521
+ "name": "orderVariables",
522
+ "plural": true,
523
+ "selections": [v4 /*: any*/, v11 /*: any*/, v33 /*: any*/, {
524
+ "alias": null,
525
+ "args": [v31 /*: any*/, v6 /*: any*/],
526
+ "kind": "ScalarField",
527
+ "name": "description",
528
+ "storageKey": null
529
+ }, {
530
+ "alias": null,
531
+ "args": null,
532
+ "concreteType": "OrderVariableOption",
533
+ "kind": "LinkedField",
534
+ "name": "orderVariableOptions",
535
+ "plural": true,
536
+ "selections": [v4 /*: any*/, v12 /*: any*/],
537
+ "storageKey": null
538
+ }],
539
+ "storageKey": null
540
+ }, {
541
+ "alias": null,
542
+ "args": null,
543
+ "concreteType": "Country",
544
+ "kind": "LinkedField",
545
+ "name": "countries",
546
+ "plural": true,
547
+ "selections": [{
548
+ "alias": null,
549
+ "args": null,
550
+ "kind": "ScalarField",
551
+ "name": "code",
552
+ "storageKey": null
553
+ }, v11 /*: any*/],
554
+ "storageKey": null
555
+ }, {
556
+ "alias": null,
557
+ "args": null,
558
+ "kind": "ScalarField",
559
+ "name": "detectedCountry",
560
+ "storageKey": null
561
+ }, {
562
+ "alias": null,
563
+ "args": null,
564
+ "concreteType": "Settings",
565
+ "kind": "LinkedField",
566
+ "name": "settings",
567
+ "plural": false,
568
+ "selections": [{
569
+ "alias": null,
570
+ "args": null,
571
+ "kind": "ScalarField",
572
+ "name": "taxSystem",
573
+ "storageKey": null
574
+ }, {
575
+ "alias": null,
576
+ "args": null,
577
+ "concreteType": "StripeTaxSettings",
578
+ "kind": "LinkedField",
579
+ "name": "stripeTaxSettings",
580
+ "plural": false,
581
+ "selections": [{
582
+ "alias": null,
583
+ "args": null,
584
+ "kind": "ScalarField",
585
+ "name": "taxBehavior",
586
+ "storageKey": null
587
+ }],
588
+ "storageKey": null
589
+ }, {
590
+ "alias": null,
591
+ "args": v32 /*: any*/,
592
+ "kind": "ScalarField",
593
+ "name": "storeModalSelectLicenseeLabel",
594
+ "storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
595
+ }, {
596
+ "alias": null,
597
+ "args": v32 /*: any*/,
598
+ "kind": "ScalarField",
599
+ "name": "storeModalLicenseeSelfLabel",
600
+ "storageKey": "storeModalLicenseeSelfLabel(format:\"HTML\")"
601
+ }, {
602
+ "alias": null,
603
+ "args": v32 /*: any*/,
604
+ "kind": "ScalarField",
605
+ "name": "storeModalLicenseeSelfDescription",
606
+ "storageKey": "storeModalLicenseeSelfDescription(format:\"HTML\")"
607
+ }, {
608
+ "alias": null,
609
+ "args": v32 /*: any*/,
610
+ "kind": "ScalarField",
611
+ "name": "storeModalLicenseeClientLabel",
612
+ "storageKey": "storeModalLicenseeClientLabel(format:\"HTML\")"
613
+ }, {
614
+ "alias": null,
615
+ "args": v32 /*: any*/,
616
+ "kind": "ScalarField",
617
+ "name": "storeModalLicenseeClientDescription",
618
+ "storageKey": "storeModalLicenseeClientDescription(format:\"HTML\")"
619
+ }, {
620
+ "alias": null,
621
+ "args": v32 /*: any*/,
622
+ "kind": "ScalarField",
623
+ "name": "storeModalSelectOrderVariablesLabel",
624
+ "storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
625
+ }, {
626
+ "alias": null,
627
+ "args": v32 /*: any*/,
628
+ "kind": "ScalarField",
629
+ "name": "storeModalSelectLicensesLabel",
630
+ "storageKey": "storeModalSelectLicensesLabel(format:\"HTML\")"
631
+ }, {
632
+ "alias": null,
633
+ "args": v32 /*: any*/,
634
+ "kind": "ScalarField",
635
+ "name": "storeModalSelectFontsLabel",
636
+ "storageKey": "storeModalSelectFontsLabel(format:\"HTML\")"
637
+ }],
638
+ "storageKey": null
639
+ }, {
640
+ "alias": null,
641
+ "args": null,
642
+ "concreteType": "TaxCollection",
643
+ "kind": "LinkedField",
644
+ "name": "taxCollections",
645
+ "plural": true,
646
+ "selections": [{
647
+ "alias": null,
648
+ "args": null,
649
+ "kind": "ScalarField",
650
+ "name": "taxName",
651
+ "storageKey": null
652
+ }, {
653
+ "alias": null,
654
+ "args": null,
655
+ "kind": "ScalarField",
656
+ "name": "inclusive",
657
+ "storageKey": null
658
+ }],
659
+ "storageKey": null
660
+ }, {
661
+ "alias": null,
662
+ "args": [v5 /*: any*/, v6 /*: any*/, {
663
+ "kind": "Literal",
664
+ "name": "skuIds",
665
+ "value": []
666
+ }],
667
+ "concreteType": "Precart",
668
+ "kind": "LinkedField",
669
+ "name": "precart",
670
+ "plural": false,
671
+ "selections": [{
672
+ "alias": null,
673
+ "args": null,
674
+ "concreteType": "Sku",
675
+ "kind": "LinkedField",
676
+ "name": "skus",
677
+ "plural": true,
678
+ "selections": [{
679
+ "alias": null,
680
+ "args": v7 /*: any*/,
681
+ "concreteType": "Money",
682
+ "kind": "LinkedField",
683
+ "name": "price",
684
+ "plural": false,
685
+ "selections": v34 /*: any*/,
686
+ "storageKey": null
687
+ }, {
688
+ "alias": null,
689
+ "args": null,
690
+ "concreteType": null,
691
+ "kind": "LinkedField",
692
+ "name": "product",
693
+ "plural": false,
694
+ "selections": [{
695
+ "alias": null,
696
+ "args": null,
697
+ "kind": "ScalarField",
698
+ "name": "__typename",
699
+ "storageKey": null
700
+ }, {
701
+ "kind": "InlineFragment",
702
+ "selections": v35 /*: any*/,
703
+ "type": "FontCollection",
704
+ "abstractKey": null
705
+ }, {
706
+ "kind": "InlineFragment",
707
+ "selections": v35 /*: any*/,
708
+ "type": "Bundle",
709
+ "abstractKey": null
710
+ }, {
711
+ "kind": "InlineFragment",
712
+ "selections": v35 /*: any*/,
713
+ "type": "CollectionBundle",
714
+ "abstractKey": null
715
+ }, {
716
+ "kind": "InlineFragment",
717
+ "selections": v15 /*: any*/,
718
+ "type": "Node",
719
+ "abstractKey": "__isNode"
720
+ }],
721
+ "storageKey": null
722
+ }, v4 /*: any*/],
723
+ "storageKey": null
724
+ }, {
725
+ "alias": null,
726
+ "args": null,
727
+ "concreteType": "Money",
728
+ "kind": "LinkedField",
729
+ "name": "subtotal",
730
+ "plural": false,
731
+ "selections": v13 /*: any*/,
732
+ "storageKey": null
733
+ }],
734
+ "storageKey": null
735
+ }, v4 /*: any*/],
736
+ "storageKey": null
737
+ }]
738
+ },
739
+ "params": {
740
+ "cacheID": "6feee62a68cae0ff5e7bcaef1fc97aed",
741
+ "id": null,
742
+ "metadata": {},
743
+ "name": "StoreModalProductSlugQuery",
744
+ "operationKind": "query",
745
+ "text": "query StoreModalProductSlugQuery(\n $productSlug: String!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n viewer {\n slug(name: $productSlug) {\n collection: fontCollection {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n id\n }\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"
746
+ }
747
+ };
748
+ }();
749
+ node.hash = "f0bb35ed9f88ad214b40fd1f3b92fed0";
750
+ export default node;