fontdue-js 3.7.0 → 3.8.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 (123) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +5 -4
  3. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
  4. package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
  5. package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
  6. package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
  7. package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
  8. package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
  9. package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
  10. package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
  11. package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
  12. package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
  13. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
  14. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
  15. package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
  16. package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
  17. package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
  18. package/dist/__generated__/BuyButton_product.graphql.js +72 -0
  19. package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
  20. package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
  21. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  22. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
  23. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  24. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
  25. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
  26. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
  27. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  28. package/dist/__generated__/CartQuery.graphql.js +26 -20
  29. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
  30. package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
  31. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  32. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
  33. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  34. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
  35. package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
  36. package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
  37. package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
  38. package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
  39. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
  40. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
  41. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
  42. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
  43. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  44. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
  45. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  46. package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
  47. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
  48. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
  49. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +9 -1
  50. package/dist/__generated__/StoreModalIndexQuery.graphql.js +174 -110
  51. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
  52. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
  53. package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
  54. package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
  55. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +3 -2
  56. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +36 -19
  57. package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +6 -6
  58. package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.js → StoreModalProductLicenseSelection_licenseable.graphql.js} +5 -5
  59. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  60. package/dist/__generated__/StoreModalProductQuery.graphql.js +159 -103
  61. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  62. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +184 -128
  63. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
  64. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +248 -171
  65. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  66. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
  67. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
  68. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
  69. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  70. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
  71. package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
  72. package/dist/__generated__/productState_Query.graphql.js +43 -4
  73. package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
  74. package/dist/__generated__/productState_fontPack.graphql.js +117 -0
  75. package/dist/__tests__/bundleSelectionOrder.test.js +2 -0
  76. package/dist/__tests__/collectionBundleSelection.test.js +2 -0
  77. package/dist/__tests__/fontPackSelection.test.js +435 -0
  78. package/dist/__tests__/licenseExclusions.test.js +2 -0
  79. package/dist/__tests__/storeModalPackButton.test.js +102 -0
  80. package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
  81. package/dist/__tests__/storeModalRoutes.test.js +9 -0
  82. package/dist/components/AddToCartBanner/index.js +1 -1
  83. package/dist/components/BuyButton/index.d.ts +29 -9
  84. package/dist/components/BuyButton/index.js +123 -26
  85. package/dist/components/BuyButton/index.server.d.ts +4 -2
  86. package/dist/components/BuyButton/index.server.js +24 -3
  87. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
  88. package/dist/components/CollectionAa/index.js +2 -2
  89. package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
  90. package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
  91. package/dist/components/NodePasswordForm/index.d.ts +7 -4
  92. package/dist/components/NodePasswordForm/index.js +6 -6
  93. package/dist/components/Root/productState.js +57 -7
  94. package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
  95. package/dist/components/StoreModal/StoreModalFamily.js +7 -5
  96. package/dist/components/StoreModal/StoreModalIndex.js +13 -3
  97. package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
  98. package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
  99. package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
  100. package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
  101. package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
  102. package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
  103. package/dist/components/StoreModal/StoreModalPack.js +79 -0
  104. package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
  105. package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
  106. package/dist/components/StoreModal/StoreModalProduct.js +38 -15
  107. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
  108. package/dist/components/StoreModalProductLicenseSelection/index.js +6 -6
  109. package/dist/components/StoreModalProductSummary/index.js +1 -1
  110. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
  111. package/dist/components/elements/StoreModalFamily/index.js +1 -1
  112. package/dist/fontdue.css +6 -0
  113. package/dist/reducer.d.ts +7 -0
  114. package/dist/reducer.js +9 -0
  115. package/dist/selection.d.ts +5 -1
  116. package/dist/selection.js +61 -16
  117. package/dist/storeModalRoutes.js +5 -4
  118. package/dist/version.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
  121. package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
  122. package/fontdue.css +0 -2733
  123. package/fontdue.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<e840eeeb775736ad69637f46fa78e562>>
2
+ * @generated SignedSource<<3b8420bd66bdd1d36ec4ab67e6ade582>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -42,103 +42,110 @@ const node = function () {
42
42
  "alias": null,
43
43
  "args": null,
44
44
  "kind": "ScalarField",
45
- "name": "id",
45
+ "name": "__typename",
46
46
  "storageKey": null
47
47
  },
48
48
  v6 = {
49
49
  "alias": null,
50
50
  "args": null,
51
51
  "kind": "ScalarField",
52
- "name": "visibility",
52
+ "name": "id",
53
53
  "storageKey": null
54
54
  },
55
55
  v7 = {
56
56
  "alias": null,
57
57
  "args": null,
58
58
  "kind": "ScalarField",
59
- "name": "isVariableFont",
59
+ "name": "visibility",
60
60
  "storageKey": null
61
61
  },
62
62
  v8 = {
63
63
  "alias": null,
64
64
  "args": null,
65
65
  "kind": "ScalarField",
66
- "name": "collectionType",
66
+ "name": "isVariableFont",
67
67
  "storageKey": null
68
68
  },
69
69
  v9 = {
70
70
  "alias": null,
71
71
  "args": null,
72
72
  "kind": "ScalarField",
73
- "name": "name",
73
+ "name": "collectionType",
74
74
  "storageKey": null
75
75
  },
76
76
  v10 = {
77
+ "alias": null,
78
+ "args": null,
79
+ "kind": "ScalarField",
80
+ "name": "name",
81
+ "storageKey": null
82
+ },
83
+ v11 = {
77
84
  "alias": null,
78
85
  "args": null,
79
86
  "kind": "ScalarField",
80
87
  "name": "amount",
81
88
  "storageKey": null
82
89
  },
83
- v11 = [v10 /*: any*/, {
90
+ v12 = [v11 /*: any*/, {
84
91
  "alias": null,
85
92
  "args": null,
86
93
  "kind": "ScalarField",
87
94
  "name": "currency",
88
95
  "storageKey": null
89
96
  }],
90
- v12 = {
97
+ v13 = {
91
98
  "alias": null,
92
99
  "args": null,
93
100
  "concreteType": "Sku",
94
101
  "kind": "LinkedField",
95
102
  "name": "sku",
96
103
  "plural": false,
97
- "selections": [v5 /*: any*/, {
104
+ "selections": [v6 /*: any*/, {
98
105
  "alias": null,
99
106
  "args": v4 /*: any*/,
100
107
  "concreteType": "Money",
101
108
  "kind": "LinkedField",
102
109
  "name": "price",
103
110
  "plural": false,
104
- "selections": v11 /*: any*/,
111
+ "selections": v12 /*: any*/,
105
112
  "storageKey": null
106
113
  }],
107
114
  "storageKey": null
108
115
  },
109
- v13 = [v5 /*: any*/],
110
- v14 = {
116
+ v14 = [v6 /*: any*/],
117
+ v15 = {
111
118
  "alias": null,
112
119
  "args": null,
113
120
  "concreteType": "FontCollection",
114
121
  "kind": "LinkedField",
115
122
  "name": "parent",
116
123
  "plural": false,
117
- "selections": v13 /*: any*/,
124
+ "selections": v14 /*: any*/,
118
125
  "storageKey": null
119
126
  },
120
- v15 = {
127
+ v16 = {
121
128
  "alias": null,
122
129
  "args": null,
123
130
  "kind": "ScalarField",
124
131
  "name": "cssFamily",
125
132
  "storageKey": null
126
133
  },
127
- v16 = {
134
+ v17 = {
128
135
  "alias": null,
129
136
  "args": null,
130
137
  "kind": "ScalarField",
131
138
  "name": "url",
132
139
  "storageKey": null
133
140
  },
134
- v17 = {
141
+ v18 = {
135
142
  "alias": null,
136
143
  "args": null,
137
144
  "concreteType": "WebfontSource",
138
145
  "kind": "LinkedField",
139
146
  "name": "webfontSources",
140
147
  "plural": true,
141
- "selections": [v16 /*: any*/, {
148
+ "selections": [v17 /*: any*/, {
142
149
  "alias": null,
143
150
  "args": null,
144
151
  "kind": "ScalarField",
@@ -153,7 +160,7 @@ const node = function () {
153
160
  }],
154
161
  "storageKey": null
155
162
  },
156
- v18 = {
163
+ v19 = {
157
164
  "alias": null,
158
165
  "args": null,
159
166
  "concreteType": "VerticalMetrics",
@@ -193,67 +200,67 @@ const node = function () {
193
200
  }],
194
201
  "storageKey": null
195
202
  },
196
- v19 = {
203
+ v20 = {
197
204
  "alias": null,
198
205
  "args": null,
199
206
  "kind": "ScalarField",
200
207
  "name": "supportedLanguages",
201
208
  "storageKey": null
202
209
  },
203
- v20 = {
210
+ v21 = {
204
211
  "alias": null,
205
212
  "args": null,
206
213
  "concreteType": "FontStyle",
207
214
  "kind": "LinkedField",
208
215
  "name": "featureStyle",
209
216
  "plural": false,
210
- "selections": [v15 /*: any*/, v9 /*: any*/, v17 /*: any*/, v18 /*: any*/, v19 /*: any*/, v5 /*: any*/],
217
+ "selections": [v16 /*: any*/, v10 /*: any*/, v18 /*: any*/, v19 /*: any*/, v20 /*: any*/, v6 /*: any*/],
211
218
  "storageKey": null
212
219
  },
213
- v21 = {
220
+ v22 = {
214
221
  "alias": null,
215
222
  "args": null,
216
223
  "kind": "ScalarField",
217
224
  "name": "totalStyles",
218
225
  "storageKey": null
219
226
  },
220
- v22 = {
227
+ v23 = {
221
228
  "alias": null,
222
229
  "args": null,
223
230
  "concreteType": "Money",
224
231
  "kind": "LinkedField",
225
232
  "name": "totalStylesPrice",
226
233
  "plural": false,
227
- "selections": v11 /*: any*/,
234
+ "selections": v12 /*: any*/,
228
235
  "storageKey": null
229
236
  },
230
- v23 = [{
237
+ v24 = [{
231
238
  "kind": "Literal",
232
239
  "name": "collectionTypes",
233
240
  "value": ["FAMILY"]
234
241
  }],
235
- v24 = {
242
+ v25 = {
236
243
  "alias": null,
237
244
  "args": null,
238
245
  "kind": "ScalarField",
239
246
  "name": "cssWeight",
240
247
  "storageKey": null
241
248
  },
242
- v25 = {
249
+ v26 = {
243
250
  "alias": null,
244
251
  "args": null,
245
252
  "kind": "ScalarField",
246
253
  "name": "cssStretch",
247
254
  "storageKey": null
248
255
  },
249
- v26 = {
256
+ v27 = {
250
257
  "alias": null,
251
258
  "args": null,
252
259
  "concreteType": "VariableInstance",
253
260
  "kind": "LinkedField",
254
261
  "name": "variableInstances",
255
262
  "plural": true,
256
- "selections": [v9 /*: any*/, {
263
+ "selections": [v10 /*: any*/, {
257
264
  "alias": null,
258
265
  "args": null,
259
266
  "concreteType": "VariableSetting",
@@ -277,40 +284,136 @@ const node = function () {
277
284
  }],
278
285
  "storageKey": null
279
286
  },
280
- v27 = {
287
+ v28 = {
281
288
  "alias": null,
282
289
  "args": null,
283
290
  "concreteType": "Bundle",
284
291
  "kind": "LinkedField",
285
292
  "name": "bundles",
286
293
  "plural": true,
287
- "selections": [v5 /*: any*/, v6 /*: any*/, {
294
+ "selections": [v6 /*: any*/, v7 /*: any*/, {
288
295
  "alias": null,
289
296
  "args": null,
290
297
  "concreteType": "FontStyle",
291
298
  "kind": "LinkedField",
292
299
  "name": "fontStyles",
293
300
  "plural": true,
294
- "selections": [v5 /*: any*/, v15 /*: any*/, v24 /*: any*/, v25 /*: any*/, v9 /*: any*/, v19 /*: any*/, v26 /*: any*/, v12 /*: any*/, v17 /*: any*/, v18 /*: any*/],
301
+ "selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
295
302
  "storageKey": null
296
- }, v9 /*: any*/, v12 /*: any*/],
303
+ }, v10 /*: any*/, v13 /*: any*/],
297
304
  "storageKey": null
298
305
  },
299
- v28 = {
306
+ v29 = {
307
+ "alias": null,
308
+ "args": null,
309
+ "kind": "ScalarField",
310
+ "name": "cssStyle",
311
+ "storageKey": null
312
+ },
313
+ v30 = {
300
314
  "alias": null,
301
315
  "args": null,
302
316
  "concreteType": "FontStyle",
303
317
  "kind": "LinkedField",
304
318
  "name": "fontStyles",
305
319
  "plural": true,
306
- "selections": [v5 /*: any*/, v15 /*: any*/, v24 /*: any*/, v25 /*: any*/, {
320
+ "selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v29 /*: any*/, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
321
+ "storageKey": null
322
+ },
323
+ v31 = {
324
+ "alias": null,
325
+ "args": v24 /*: any*/,
326
+ "concreteType": "FontCollection",
327
+ "kind": "LinkedField",
328
+ "name": "children",
329
+ "plural": true,
330
+ "selections": [v8 /*: any*/, v22 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, v10 /*: any*/, v13 /*: any*/, v15 /*: any*/, v21 /*: any*/, v23 /*: any*/, {
331
+ "alias": null,
332
+ "args": v24 /*: any*/,
333
+ "concreteType": "FontCollection",
334
+ "kind": "LinkedField",
335
+ "name": "children",
336
+ "plural": true,
337
+ "selections": [v8 /*: any*/, v22 /*: any*/, v6 /*: any*/],
338
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
339
+ }, v28 /*: any*/, v30 /*: any*/],
340
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
341
+ },
342
+ v32 = {
343
+ "kind": "InlineFragment",
344
+ "selections": [{
307
345
  "alias": null,
308
346
  "args": null,
309
- "kind": "ScalarField",
310
- "name": "cssStyle",
347
+ "concreteType": "License",
348
+ "kind": "LinkedField",
349
+ "name": "licenses",
350
+ "plural": true,
351
+ "selections": [v6 /*: any*/, v17 /*: any*/, v10 /*: any*/, {
352
+ "alias": null,
353
+ "args": [{
354
+ "kind": "Literal",
355
+ "name": "format",
356
+ "value": "HTML"
357
+ }],
358
+ "kind": "ScalarField",
359
+ "name": "description",
360
+ "storageKey": "description(format:\"HTML\")"
361
+ }, {
362
+ "alias": null,
363
+ "args": null,
364
+ "kind": "ScalarField",
365
+ "name": "defaultSelected",
366
+ "storageKey": null
367
+ }, {
368
+ "alias": null,
369
+ "args": null,
370
+ "concreteType": "License",
371
+ "kind": "LinkedField",
372
+ "name": "excludedLicenses",
373
+ "plural": true,
374
+ "selections": v14 /*: any*/,
375
+ "storageKey": null
376
+ }, {
377
+ "alias": "variables",
378
+ "args": null,
379
+ "concreteType": "LicenseVariable",
380
+ "kind": "LinkedField",
381
+ "name": "licenseVariables",
382
+ "plural": true,
383
+ "selections": [v6 /*: any*/, v10 /*: any*/, {
384
+ "alias": null,
385
+ "args": null,
386
+ "kind": "ScalarField",
387
+ "name": "variableType",
388
+ "storageKey": null
389
+ }, {
390
+ "alias": null,
391
+ "args": null,
392
+ "kind": "ScalarField",
393
+ "name": "units",
394
+ "storageKey": null
395
+ }, {
396
+ "alias": "options",
397
+ "args": null,
398
+ "concreteType": "LicenseOption",
399
+ "kind": "LinkedField",
400
+ "name": "licenseOptions",
401
+ "plural": true,
402
+ "selections": [v6 /*: any*/, v10 /*: any*/, v11 /*: any*/, {
403
+ "alias": null,
404
+ "args": null,
405
+ "kind": "ScalarField",
406
+ "name": "amounts",
407
+ "storageKey": null
408
+ }],
409
+ "storageKey": null
410
+ }],
411
+ "storageKey": null
412
+ }],
311
413
  "storageKey": null
312
- }, v9 /*: any*/, v19 /*: any*/, v26 /*: any*/, v12 /*: any*/, v17 /*: any*/, v18 /*: any*/],
313
- "storageKey": null
414
+ }],
415
+ "type": "Licenseable",
416
+ "abstractKey": "__isLicenseable"
314
417
  };
315
418
  return {
316
419
  "fragment": {
@@ -347,121 +450,74 @@ const node = function () {
347
450
  "kind": "LinkedField",
348
451
  "name": "node",
349
452
  "plural": false,
350
- "selections": [{
351
- "alias": null,
352
- "args": null,
353
- "kind": "ScalarField",
354
- "name": "__typename",
355
- "storageKey": null
356
- }, {
453
+ "selections": [v5 /*: any*/, {
357
454
  "kind": "TypeDiscriminator",
358
455
  "abstractKey": "__isNode"
359
- }, v5 /*: any*/, {
456
+ }, v6 /*: any*/, {
457
+ "kind": "InlineFragment",
458
+ "selections": [v7 /*: any*/, v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v13 /*: any*/, v15 /*: any*/, v21 /*: any*/, v22 /*: any*/, v23 /*: any*/, v31 /*: any*/, v28 /*: any*/, v30 /*: any*/, v32 /*: any*/],
459
+ "type": "FontCollection",
460
+ "abstractKey": null
461
+ }, {
360
462
  "kind": "InlineFragment",
361
- "selections": [v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/, v12 /*: any*/, v14 /*: any*/, v20 /*: any*/, v21 /*: any*/, v22 /*: any*/, {
463
+ "selections": [v10 /*: any*/, v13 /*: any*/, v21 /*: any*/, v22 /*: any*/, {
362
464
  "alias": null,
363
- "args": v23 /*: any*/,
364
- "concreteType": "FontCollection",
465
+ "args": v4 /*: any*/,
466
+ "concreteType": "Money",
365
467
  "kind": "LinkedField",
366
- "name": "children",
367
- "plural": true,
368
- "selections": [v7 /*: any*/, v21 /*: any*/, v5 /*: any*/, v6 /*: any*/, v8 /*: any*/, v9 /*: any*/, v12 /*: any*/, v14 /*: any*/, v20 /*: any*/, v22 /*: any*/, {
369
- "alias": null,
370
- "args": v23 /*: any*/,
371
- "concreteType": "FontCollection",
372
- "kind": "LinkedField",
373
- "name": "children",
374
- "plural": true,
375
- "selections": [v7 /*: any*/, v21 /*: any*/, v5 /*: any*/],
376
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
377
- }, v27 /*: any*/, v28 /*: any*/],
378
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
379
- }, v27 /*: any*/, v28 /*: any*/, {
468
+ "name": "totalStylesPrice",
469
+ "plural": false,
470
+ "selections": v12 /*: any*/,
471
+ "storageKey": null
472
+ }, {
380
473
  "alias": null,
381
474
  "args": null,
382
- "concreteType": "License",
475
+ "concreteType": null,
383
476
  "kind": "LinkedField",
384
- "name": "licenses",
477
+ "name": "members",
385
478
  "plural": true,
386
- "selections": [v5 /*: any*/, v16 /*: any*/, v9 /*: any*/, {
387
- "alias": null,
388
- "args": [{
389
- "kind": "Literal",
390
- "name": "format",
391
- "value": "HTML"
392
- }],
393
- "kind": "ScalarField",
394
- "name": "description",
395
- "storageKey": "description(format:\"HTML\")"
396
- }, {
397
- "alias": null,
398
- "args": null,
399
- "kind": "ScalarField",
400
- "name": "defaultSelected",
401
- "storageKey": null
402
- }, {
403
- "alias": null,
404
- "args": null,
405
- "concreteType": "License",
406
- "kind": "LinkedField",
407
- "name": "excludedLicenses",
408
- "plural": true,
409
- "selections": v13 /*: any*/,
410
- "storageKey": null
411
- }, {
412
- "alias": "variables",
413
- "args": null,
414
- "concreteType": "LicenseVariable",
415
- "kind": "LinkedField",
416
- "name": "licenseVariables",
417
- "plural": true,
418
- "selections": [v5 /*: any*/, v9 /*: any*/, {
419
- "alias": null,
420
- "args": null,
421
- "kind": "ScalarField",
422
- "name": "variableType",
423
- "storageKey": null
424
- }, {
479
+ "selections": [v5 /*: any*/, {
480
+ "kind": "InlineFragment",
481
+ "selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v29 /*: any*/, {
425
482
  "alias": null,
426
483
  "args": null,
427
- "kind": "ScalarField",
428
- "name": "units",
429
- "storageKey": null
430
- }, {
431
- "alias": "options",
432
- "args": null,
433
- "concreteType": "LicenseOption",
484
+ "concreteType": "FontCollection",
434
485
  "kind": "LinkedField",
435
- "name": "licenseOptions",
436
- "plural": true,
437
- "selections": [v5 /*: any*/, v9 /*: any*/, v10 /*: any*/, {
438
- "alias": null,
439
- "args": null,
440
- "kind": "ScalarField",
441
- "name": "amounts",
442
- "storageKey": null
443
- }],
486
+ "name": "family",
487
+ "plural": false,
488
+ "selections": [v6 /*: any*/, v10 /*: any*/, v8 /*: any*/, v7 /*: any*/],
444
489
  "storageKey": null
445
- }],
446
- "storageKey": null
490
+ }, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
491
+ "type": "FontStyle",
492
+ "abstractKey": null
493
+ }, {
494
+ "kind": "InlineFragment",
495
+ "selections": [v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v13 /*: any*/, v15 /*: any*/, v21 /*: any*/, v22 /*: any*/, v23 /*: any*/, v31 /*: any*/, v28 /*: any*/, v30 /*: any*/],
496
+ "type": "FontCollection",
497
+ "abstractKey": null
498
+ }, {
499
+ "kind": "InlineFragment",
500
+ "selections": v14 /*: any*/,
501
+ "type": "Node",
502
+ "abstractKey": "__isNode"
447
503
  }],
448
504
  "storageKey": null
449
- }],
450
- "type": "FontCollection",
505
+ }, v32 /*: any*/],
506
+ "type": "FontPack",
451
507
  "abstractKey": null
452
508
  }],
453
509
  "storageKey": null
454
510
  }]
455
511
  },
456
512
  "params": {
457
- "cacheID": "1fd5cc14743fbe1db1d0e5db26c55ac9",
513
+ "cacheID": "e76946d384161bdec43aed745ea8b411",
458
514
  "id": null,
459
515
  "metadata": {},
460
516
  "name": "StoreModalProductRefetchQuery",
461
517
  "operationKind": "query",
462
- "text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\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 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"
518
+ "text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\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 StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\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 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"
463
519
  }
464
520
  };
465
521
  }();
466
- node.hash = "f7a9e591b5e1596f4d518fc5d9d46e91";
522
+ node.hash = "c8ce87bca2032637d922f535fc168f56";
467
523
  export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<ea0562a1eaacba8b9f8162ed0aca3734>>
2
+ * @generated SignedSource<<5a1f99f864f7661fe006d3119e6d7c7f>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -26,6 +26,10 @@ export type StoreModalProductSlugQuery$data = {
26
26
  readonly id: string;
27
27
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductContent_collection">;
28
28
  } | null;
29
+ readonly pack: {
30
+ readonly id: string;
31
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductContent_collection">;
32
+ } | null;
29
33
  } | null;
30
34
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductViewer">;
31
35
  };