fontdue-js 3.6.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 (167) hide show
  1. package/CHANGELOG.md +14 -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__/FontFamiliesQuery.graphql.d.ts +4 -1
  40. package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
  41. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
  42. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
  43. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
  44. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
  45. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  46. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
  47. package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
  48. package/dist/__generated__/PriceBar_node.graphql.js +23 -16
  49. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  50. package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
  51. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
  52. package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
  53. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
  54. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
  55. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
  56. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
  57. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +6 -3
  58. package/dist/__generated__/StoreModalIndexQuery.graphql.js +218 -117
  59. package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
  60. package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
  61. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
  62. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
  63. package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
  64. package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
  65. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +6 -2
  66. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +43 -19
  67. package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +7 -6
  68. package/dist/__generated__/StoreModalProductLicenseSelection_licenseable.graphql.js +43 -0
  69. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  70. package/dist/__generated__/StoreModalProductQuery.graphql.js +199 -142
  71. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  72. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +190 -133
  73. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
  74. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +254 -176
  75. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  76. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
  77. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
  78. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
  79. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  80. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
  81. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  82. package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
  83. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
  84. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
  85. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  86. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
  87. package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
  88. package/dist/__generated__/productState_Query.graphql.js +43 -4
  89. package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
  90. package/dist/__generated__/productState_fontPack.graphql.js +117 -0
  91. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
  92. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
  93. package/dist/__tests__/bundleSelectionOrder.test.js +94 -0
  94. package/dist/__tests__/collectionBundleSelection.test.js +443 -1446
  95. package/dist/__tests__/fontPackSelection.test.js +435 -0
  96. package/dist/__tests__/infiniteScroll.test.js +180 -0
  97. package/dist/__tests__/licenseExclusions.test.js +4 -1
  98. package/dist/__tests__/storeModalPackButton.test.js +102 -0
  99. package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
  100. package/dist/__tests__/storeModalRoutes.test.js +9 -0
  101. package/dist/__tests__/storefrontEvents.test.js +167 -0
  102. package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
  103. package/dist/components/AddToCartBanner/index.js +1 -1
  104. package/dist/components/BuyButton/index.d.ts +29 -9
  105. package/dist/components/BuyButton/index.js +123 -26
  106. package/dist/components/BuyButton/index.server.d.ts +4 -2
  107. package/dist/components/BuyButton/index.server.js +24 -3
  108. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
  109. package/dist/components/Cart/Checkout.js +11 -1
  110. package/dist/components/Cart/storefrontEvents.d.ts +34 -0
  111. package/dist/components/Cart/storefrontEvents.js +138 -0
  112. package/dist/components/CollectionAa/index.js +2 -2
  113. package/dist/components/FontFamilies/index.js +4 -3
  114. package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
  115. package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
  116. package/dist/components/NodePasswordForm/index.d.ts +7 -4
  117. package/dist/components/NodePasswordForm/index.js +6 -6
  118. package/dist/components/Precart/index.js +6 -0
  119. package/dist/components/PriceBar/index.js +5 -3
  120. package/dist/components/Root/productState.d.ts +2 -8
  121. package/dist/components/Root/productState.js +100 -61
  122. package/dist/components/SKUPrice/index.js +7 -8
  123. package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
  124. package/dist/components/StoreModal/StoreModalFamily.js +11 -7
  125. package/dist/components/StoreModal/StoreModalIndex.js +58 -7
  126. package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
  127. package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
  128. package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
  129. package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
  130. package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
  131. package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
  132. package/dist/components/StoreModal/StoreModalPack.js +79 -0
  133. package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
  134. package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
  135. package/dist/components/StoreModal/StoreModalProduct.js +49 -19
  136. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
  137. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
  138. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
  139. package/dist/components/StoreModalProductLicenseSelection/index.js +7 -6
  140. package/dist/components/StoreModalProductSummary/index.js +1 -1
  141. package/dist/components/TypeTester/useTypeTesterStyler.js +1 -0
  142. package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
  143. package/dist/components/elements/StoreModalContainer/index.js +9 -4
  144. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
  145. package/dist/components/elements/StoreModalFamily/index.js +1 -1
  146. package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
  147. package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
  148. package/dist/components/elements/StoreModalUnifiedCheckout.js +12 -0
  149. package/dist/components/useInfiniteScroll.d.ts +28 -0
  150. package/dist/components/useInfiniteScroll.js +50 -0
  151. package/dist/fontdue.css +39 -0
  152. package/dist/hooks/useAutofit.d.ts +2 -1
  153. package/dist/hooks/useAutofit.js +10 -4
  154. package/dist/reducer.d.ts +12 -5
  155. package/dist/reducer.js +18 -87
  156. package/dist/selection.d.ts +44 -0
  157. package/dist/selection.js +539 -0
  158. package/dist/storeModalRoutes.js +5 -4
  159. package/dist/utils.d.ts +1 -12
  160. package/dist/utils.js +1 -36
  161. package/dist/version.js +1 -1
  162. package/package.json +1 -1
  163. package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
  164. package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
  165. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +0 -40
  166. package/fontdue.css +0 -2733
  167. package/fontdue.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<1965d64fa7f303dfcd53846ea6d9bd21>>
2
+ * @generated SignedSource<<1455416c012741e081db5301244ac6d9>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -41,26 +41,33 @@ const node = function () {
41
41
  "kind": "FragmentSpread",
42
42
  "name": "Family_node"
43
43
  },
44
- v4 = [{
44
+ v4 = {
45
+ "alias": null,
46
+ "args": null,
47
+ "kind": "ScalarField",
48
+ "name": "visibility",
49
+ "storageKey": null
50
+ },
51
+ v5 = [{
45
52
  "kind": "Literal",
46
53
  "name": "collectionTypes",
47
54
  "value": ["FAMILY"]
48
55
  }],
49
- v5 = {
56
+ v6 = {
50
57
  "alias": null,
51
58
  "args": null,
52
59
  "kind": "ScalarField",
53
60
  "name": "name",
54
61
  "storageKey": null
55
62
  },
56
- v6 = {
63
+ v7 = {
57
64
  "alias": null,
58
65
  "args": null,
59
66
  "kind": "ScalarField",
60
67
  "name": "cssFamily",
61
68
  "storageKey": null
62
69
  },
63
- v7 = {
70
+ v8 = {
64
71
  "alias": null,
65
72
  "args": null,
66
73
  "concreteType": "WebfontSource",
@@ -88,7 +95,7 @@ const node = function () {
88
95
  }],
89
96
  "storageKey": null
90
97
  },
91
- v8 = {
98
+ v9 = {
92
99
  "alias": null,
93
100
  "args": null,
94
101
  "concreteType": "VerticalMetrics",
@@ -128,33 +135,33 @@ const node = function () {
128
135
  }],
129
136
  "storageKey": null
130
137
  },
131
- v9 = {
138
+ v10 = {
132
139
  "alias": null,
133
140
  "args": null,
134
141
  "kind": "ScalarField",
135
142
  "name": "supportedLanguages",
136
143
  "storageKey": null
137
144
  },
138
- v10 = [{
145
+ v11 = [{
139
146
  "kind": "Literal",
140
147
  "name": "format",
141
148
  "value": "LOCALIZED"
142
149
  }],
143
- v11 = {
150
+ v12 = {
144
151
  "alias": "name_localized",
145
- "args": v10 /*: any*/,
152
+ "args": v11 /*: any*/,
146
153
  "kind": "ScalarField",
147
154
  "name": "name",
148
155
  "storageKey": "name(format:\"LOCALIZED\")"
149
156
  },
150
- v12 = {
157
+ v13 = {
151
158
  "alias": null,
152
159
  "args": null,
153
160
  "concreteType": "VariableInstance",
154
161
  "kind": "LinkedField",
155
162
  "name": "variableInstances",
156
163
  "plural": true,
157
- "selections": [v5 /*: any*/, {
164
+ "selections": [v6 /*: any*/, {
158
165
  "alias": null,
159
166
  "args": null,
160
167
  "concreteType": "VariableSetting",
@@ -178,40 +185,40 @@ const node = function () {
178
185
  }],
179
186
  "storageKey": null
180
187
  },
181
- v13 = {
188
+ v14 = {
182
189
  "alias": null,
183
190
  "args": null,
184
191
  "kind": "ScalarField",
185
192
  "name": "id",
186
193
  "storageKey": null
187
194
  },
188
- v14 = {
195
+ v15 = {
189
196
  "alias": null,
190
197
  "args": null,
191
198
  "concreteType": "FontStyle",
192
199
  "kind": "LinkedField",
193
200
  "name": "fontStyles",
194
201
  "plural": true,
195
- "selections": [v6 /*: any*/, v5 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/, v11 /*: any*/, v12 /*: any*/, v13 /*: any*/, {
202
+ "selections": [v7 /*: any*/, v6 /*: any*/, v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v12 /*: any*/, v13 /*: any*/, v14 /*: any*/, {
196
203
  "alias": null,
197
204
  "args": null,
198
205
  "concreteType": "VariableAxis",
199
206
  "kind": "LinkedField",
200
207
  "name": "variableAxes",
201
208
  "plural": true,
202
- "selections": [v5 /*: any*/],
209
+ "selections": [v6 /*: any*/],
203
210
  "storageKey": null
204
211
  }],
205
212
  "storageKey": null
206
213
  },
207
- v15 = {
214
+ v16 = {
208
215
  "alias": null,
209
216
  "args": null,
210
217
  "concreteType": "Sku",
211
218
  "kind": "LinkedField",
212
219
  "name": "sku",
213
220
  "plural": false,
214
- "selections": [v13 /*: any*/, {
221
+ "selections": [v14 /*: any*/, {
215
222
  "alias": null,
216
223
  "args": v2 /*: any*/,
217
224
  "concreteType": "Money",
@@ -235,28 +242,28 @@ const node = function () {
235
242
  }],
236
243
  "storageKey": null
237
244
  },
238
- v16 = {
245
+ v17 = {
239
246
  "alias": null,
240
247
  "args": null,
241
248
  "kind": "ScalarField",
242
249
  "name": "collectionType",
243
250
  "storageKey": null
244
251
  },
245
- v17 = {
252
+ v18 = {
246
253
  "alias": null,
247
254
  "args": null,
248
255
  "kind": "ScalarField",
249
256
  "name": "totalStyles",
250
257
  "storageKey": null
251
258
  },
252
- v18 = {
259
+ v19 = {
253
260
  "alias": null,
254
261
  "args": null,
255
262
  "kind": "ScalarField",
256
263
  "name": "isVariableFont",
257
264
  "storageKey": null
258
265
  },
259
- v19 = {
266
+ v20 = {
260
267
  "alias": null,
261
268
  "args": null,
262
269
  "concreteType": "FontStyle",
@@ -265,11 +272,11 @@ const node = function () {
265
272
  "plural": false,
266
273
  "selections": [{
267
274
  "alias": "keyCharacters_localized",
268
- "args": v10 /*: any*/,
275
+ "args": v11 /*: any*/,
269
276
  "kind": "ScalarField",
270
277
  "name": "keyCharacters",
271
278
  "storageKey": "keyCharacters(format:\"LOCALIZED\")"
272
- }, v13 /*: any*/],
279
+ }, v14 /*: any*/],
273
280
  "storageKey": null
274
281
  };
275
282
  return {
@@ -287,14 +294,14 @@ const node = function () {
287
294
  "plural": false,
288
295
  "selections": [v3 /*: any*/, {
289
296
  "kind": "InlineFragment",
290
- "selections": [{
297
+ "selections": [v4 /*: any*/, {
291
298
  "alias": "families",
292
- "args": v4 /*: any*/,
299
+ "args": v5 /*: any*/,
293
300
  "concreteType": "FontCollection",
294
301
  "kind": "LinkedField",
295
302
  "name": "children",
296
303
  "plural": true,
297
- "selections": [v3 /*: any*/],
304
+ "selections": [v4 /*: any*/, v3 /*: any*/],
298
305
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
299
306
  }],
300
307
  "type": "FontCollection",
@@ -325,49 +332,49 @@ const node = function () {
325
332
  "storageKey": null
326
333
  }, {
327
334
  "kind": "InlineFragment",
328
- "selections": [v5 /*: any*/, v14 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, v18 /*: any*/, {
335
+ "selections": [v6 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, v18 /*: any*/, v19 /*: any*/, {
329
336
  "alias": "families",
330
- "args": v4 /*: any*/,
337
+ "args": v5 /*: any*/,
331
338
  "concreteType": "FontCollection",
332
339
  "kind": "LinkedField",
333
340
  "name": "children",
334
341
  "plural": true,
335
- "selections": [v19 /*: any*/, v5 /*: any*/, v14 /*: any*/, v13 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, v18 /*: any*/, {
342
+ "selections": [v20 /*: any*/, v6 /*: any*/, v15 /*: any*/, v14 /*: any*/, v4 /*: any*/, v16 /*: any*/, v17 /*: any*/, v18 /*: any*/, v19 /*: any*/, {
336
343
  "alias": "families",
337
- "args": v4 /*: any*/,
344
+ "args": v5 /*: any*/,
338
345
  "concreteType": "FontCollection",
339
346
  "kind": "LinkedField",
340
347
  "name": "children",
341
348
  "plural": true,
342
- "selections": [v19 /*: any*/, v5 /*: any*/, {
349
+ "selections": [v20 /*: any*/, v6 /*: any*/, {
343
350
  "alias": null,
344
351
  "args": null,
345
352
  "concreteType": "FontStyle",
346
353
  "kind": "LinkedField",
347
354
  "name": "fontStyles",
348
355
  "plural": true,
349
- "selections": [v6 /*: any*/, v5 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/, v11 /*: any*/, v12 /*: any*/, v13 /*: any*/],
356
+ "selections": [v7 /*: any*/, v6 /*: any*/, v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v12 /*: any*/, v13 /*: any*/, v14 /*: any*/],
350
357
  "storageKey": null
351
- }, v13 /*: any*/],
358
+ }, v14 /*: any*/],
352
359
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
353
360
  }],
354
361
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
355
- }],
362
+ }, v4 /*: any*/],
356
363
  "type": "FontCollection",
357
364
  "abstractKey": null
358
- }, v13 /*: any*/],
365
+ }, v14 /*: any*/],
359
366
  "storageKey": null
360
367
  }]
361
368
  },
362
369
  "params": {
363
- "cacheID": "ec904b75cd1b05424d91f9c0148820ee",
370
+ "cacheID": "8eb1ccf44e53bc82db5609efacd2c961",
364
371
  "id": null,
365
372
  "metadata": {},
366
373
  "name": "FontFamiliesQuery",
367
374
  "operationKind": "query",
368
- "text": "query FontFamiliesQuery(\n $collectionId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $collectionId) {\n __typename\n ...Family_node_4sncub\n ... on FontCollection {\n families: children(collectionTypes: [FAMILY]) {\n ...Family_node_4sncub\n id\n }\n }\n id\n }\n}\n\nfragment FamilyList_node on FontCollection {\n name\n fontStyles {\n ...FontStyle_fontStyle\n supportedLanguages\n name\n name_localized: name(format: LOCALIZED)\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n id\n }\n}\n\nfragment Family_node_4sncub on FontCollection {\n ...FamilyList_node\n sku {\n id\n ...SKUPrice_sku_4sncub\n ...SelectButton_sku_4sncub\n }\n name\n collectionType\n totalStyles\n isVariableFont\n fontStyles {\n variableAxes {\n name\n }\n variableInstances {\n name\n }\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n featureStyle {\n keyCharacters_localized: keyCharacters(format: LOCALIZED)\n id\n }\n ...FamilyList_node\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 SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\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"
375
+ "text": "query FontFamiliesQuery(\n $collectionId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $collectionId) {\n __typename\n ...Family_node_4sncub\n ... on FontCollection {\n visibility\n families: children(collectionTypes: [FAMILY]) {\n visibility\n ...Family_node_4sncub\n id\n }\n }\n id\n }\n}\n\nfragment FamilyList_node on FontCollection {\n name\n fontStyles {\n ...FontStyle_fontStyle\n supportedLanguages\n name\n name_localized: name(format: LOCALIZED)\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n id\n }\n}\n\nfragment Family_node_4sncub on FontCollection {\n ...FamilyList_node\n sku {\n id\n ...SKUPrice_sku_4sncub\n ...SelectButton_sku_4sncub\n }\n name\n collectionType\n totalStyles\n isVariableFont\n fontStyles {\n variableAxes {\n name\n }\n variableInstances {\n name\n }\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n featureStyle {\n keyCharacters_localized: keyCharacters(format: LOCALIZED)\n id\n }\n ...FamilyList_node\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 SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\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"
369
376
  }
370
377
  };
371
378
  }();
372
- node.hash = "18eba6b750d3f714b964af66ecfcfa3b";
379
+ node.hash = "1ccff8f69fae99e65e6007bf25e4f8a3";
373
380
  export default node;
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @generated SignedSource<<b5b872a45d8e38f1905efd817d33f729>>
2
+ * @generated SignedSource<<e6a03ce14482d29befaa4bf94c61bacd>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ConcreteRequest } from 'relay-runtime';
7
7
  import { Result } from "relay-runtime";
8
8
  export type NodePasswordFormElementIDQuery$variables = {
9
- collectionId: string;
9
+ nodeId: string;
10
10
  };
11
11
  export type NodePasswordFormElementIDQuery$data = {
12
- readonly collection: Result<{
12
+ readonly node: Result<{
13
13
  readonly id: string;
14
14
  } | null, ReadonlyArray<unknown>>;
15
15
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<b5b872a45d8e38f1905efd817d33f729>>
2
+ * @generated SignedSource<<e6a03ce14482d29befaa4bf94c61bacd>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -12,12 +12,12 @@ const node = function () {
12
12
  var v0 = [{
13
13
  "defaultValue": null,
14
14
  "kind": "LocalArgument",
15
- "name": "collectionId"
15
+ "name": "nodeId"
16
16
  }],
17
17
  v1 = [{
18
18
  "kind": "Variable",
19
19
  "name": "id",
20
- "variableName": "collectionId"
20
+ "variableName": "nodeId"
21
21
  }],
22
22
  v2 = {
23
23
  "alias": null,
@@ -35,7 +35,7 @@ const node = function () {
35
35
  "selections": [{
36
36
  "kind": "CatchField",
37
37
  "field": {
38
- "alias": "collection",
38
+ "alias": null,
39
39
  "args": v1 /*: any*/,
40
40
  "concreteType": null,
41
41
  "kind": "LinkedField",
@@ -45,7 +45,7 @@ const node = function () {
45
45
  "storageKey": null
46
46
  },
47
47
  "to": "RESULT",
48
- "path": "collection"
48
+ "path": "node"
49
49
  }],
50
50
  "type": "RootQueryType",
51
51
  "abstractKey": null
@@ -56,7 +56,7 @@ const node = function () {
56
56
  "kind": "Operation",
57
57
  "name": "NodePasswordFormElementIDQuery",
58
58
  "selections": [{
59
- "alias": "collection",
59
+ "alias": null,
60
60
  "args": v1 /*: any*/,
61
61
  "concreteType": null,
62
62
  "kind": "LinkedField",
@@ -73,14 +73,14 @@ const node = function () {
73
73
  }]
74
74
  },
75
75
  "params": {
76
- "cacheID": "c41065c50841d1bdce6230e2b450a07e",
76
+ "cacheID": "5a1dbfad7400d9ae09b4e81f039d9a94",
77
77
  "id": null,
78
78
  "metadata": {},
79
79
  "name": "NodePasswordFormElementIDQuery",
80
80
  "operationKind": "query",
81
- "text": "query NodePasswordFormElementIDQuery(\n $collectionId: ID!\n) {\n collection: node(id: $collectionId) {\n __typename\n id\n }\n}\n"
81
+ "text": "query NodePasswordFormElementIDQuery(\n $nodeId: ID!\n) {\n node(id: $nodeId) {\n __typename\n id\n }\n}\n"
82
82
  }
83
83
  };
84
84
  }();
85
- node.hash = "213a61ae079e4f57b7b197b0d2f5256a";
85
+ node.hash = "fa35f237c6ea919a7afbe22c86ca19b5";
86
86
  export default node;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @generated SignedSource<<d13f1d6fabebfc6aeff941a895825cb6>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ import { Result } from "relay-runtime";
8
+ export type NodePasswordFormElementPackSlugQuery$variables = {
9
+ fontPackSlug: string;
10
+ };
11
+ export type NodePasswordFormElementPackSlugQuery$data = {
12
+ readonly viewer: {
13
+ readonly slug: {
14
+ readonly pack: Result<{
15
+ readonly id: string;
16
+ } | null, ReadonlyArray<unknown>>;
17
+ } | null;
18
+ };
19
+ };
20
+ export type NodePasswordFormElementPackSlugQuery = {
21
+ response: NodePasswordFormElementPackSlugQuery$data;
22
+ variables: NodePasswordFormElementPackSlugQuery$variables;
23
+ };
24
+ declare const node: ConcreteRequest;
25
+ export default node;
@@ -0,0 +1,108 @@
1
+ /**
2
+ * @generated SignedSource<<d13f1d6fabebfc6aeff941a895825cb6>>
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": "fontPackSlug"
16
+ }],
17
+ v1 = [{
18
+ "kind": "Variable",
19
+ "name": "name",
20
+ "variableName": "fontPackSlug"
21
+ }],
22
+ v2 = {
23
+ "alias": null,
24
+ "args": null,
25
+ "kind": "ScalarField",
26
+ "name": "id",
27
+ "storageKey": null
28
+ },
29
+ v3 = {
30
+ "alias": "pack",
31
+ "args": null,
32
+ "concreteType": "FontPack",
33
+ "kind": "LinkedField",
34
+ "name": "fontPack",
35
+ "plural": false,
36
+ "selections": [v2 /*: any*/],
37
+ "storageKey": null
38
+ };
39
+ return {
40
+ "fragment": {
41
+ "argumentDefinitions": v0 /*: any*/,
42
+ "kind": "Fragment",
43
+ "metadata": null,
44
+ "name": "NodePasswordFormElementPackSlugQuery",
45
+ "selections": [{
46
+ "alias": null,
47
+ "args": null,
48
+ "concreteType": "Viewer",
49
+ "kind": "LinkedField",
50
+ "name": "viewer",
51
+ "plural": false,
52
+ "selections": [{
53
+ "alias": null,
54
+ "args": v1 /*: any*/,
55
+ "concreteType": "Slug",
56
+ "kind": "LinkedField",
57
+ "name": "slug",
58
+ "plural": false,
59
+ "selections": [{
60
+ "kind": "CatchField",
61
+ "field": v3 /*: any*/,
62
+ "to": "RESULT",
63
+ "path": "viewer.slug.pack"
64
+ }],
65
+ "storageKey": null
66
+ }],
67
+ "storageKey": null
68
+ }],
69
+ "type": "RootQueryType",
70
+ "abstractKey": null
71
+ },
72
+ "kind": "Request",
73
+ "operation": {
74
+ "argumentDefinitions": v0 /*: any*/,
75
+ "kind": "Operation",
76
+ "name": "NodePasswordFormElementPackSlugQuery",
77
+ "selections": [{
78
+ "alias": null,
79
+ "args": null,
80
+ "concreteType": "Viewer",
81
+ "kind": "LinkedField",
82
+ "name": "viewer",
83
+ "plural": false,
84
+ "selections": [{
85
+ "alias": null,
86
+ "args": v1 /*: any*/,
87
+ "concreteType": "Slug",
88
+ "kind": "LinkedField",
89
+ "name": "slug",
90
+ "plural": false,
91
+ "selections": [v3 /*: any*/, v2 /*: any*/],
92
+ "storageKey": null
93
+ }, v2 /*: any*/],
94
+ "storageKey": null
95
+ }]
96
+ },
97
+ "params": {
98
+ "cacheID": "7e62edf3b1b734904291f95bb61cba1f",
99
+ "id": null,
100
+ "metadata": {},
101
+ "name": "NodePasswordFormElementPackSlugQuery",
102
+ "operationKind": "query",
103
+ "text": "query NodePasswordFormElementPackSlugQuery(\n $fontPackSlug: String!\n) {\n viewer {\n slug(name: $fontPackSlug) {\n pack: fontPack {\n id\n }\n id\n }\n id\n }\n}\n"
104
+ }
105
+ };
106
+ }();
107
+ node.hash = "3186720cb9ad751d233e995a102efcd1";
108
+ export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<74cae87a2fa5e1e7b1ee3b6482faabae>>
2
+ * @generated SignedSource<<1d375bd2dbb244662c59ea9b56aafdee>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */