fontdue-js 3.7.0 → 3.9.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 (135) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +8 -5
  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__/TestFontsForm_Query.graphql.d.ts +14 -2
  72. package/dist/__generated__/TestFontsForm_Query.graphql.js +76 -18
  73. package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
  74. package/dist/__generated__/productState_Query.graphql.js +43 -4
  75. package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
  76. package/dist/__generated__/productState_fontPack.graphql.js +117 -0
  77. package/dist/__tests__/bundleSelectionOrder.test.js +2 -0
  78. package/dist/__tests__/collectionBundleSelection.test.js +2 -0
  79. package/dist/__tests__/fontPackSelection.test.js +435 -0
  80. package/dist/__tests__/licenseExclusions.test.js +2 -0
  81. package/dist/__tests__/storeModalPackButton.test.js +102 -0
  82. package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
  83. package/dist/__tests__/storeModalRoutes.test.js +9 -0
  84. package/dist/__tests__/testFontsFamilyChoice.test.js +150 -0
  85. package/dist/components/AddToCartBanner/index.js +1 -1
  86. package/dist/components/BuyButton/index.d.ts +29 -9
  87. package/dist/components/BuyButton/index.js +123 -26
  88. package/dist/components/BuyButton/index.server.d.ts +4 -2
  89. package/dist/components/BuyButton/index.server.js +24 -3
  90. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
  91. package/dist/components/CollectionAa/index.js +2 -2
  92. package/dist/components/ConfigContext.d.ts +11 -0
  93. package/dist/components/ConfigContext.js +7 -1
  94. package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
  95. package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
  96. package/dist/components/NodePasswordForm/index.d.ts +7 -4
  97. package/dist/components/NodePasswordForm/index.js +6 -6
  98. package/dist/components/Root/productState.js +57 -7
  99. package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
  100. package/dist/components/StoreModal/StoreModalFamily.js +7 -5
  101. package/dist/components/StoreModal/StoreModalIndex.js +13 -3
  102. package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
  103. package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
  104. package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
  105. package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
  106. package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
  107. package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
  108. package/dist/components/StoreModal/StoreModalPack.js +79 -0
  109. package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
  110. package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
  111. package/dist/components/StoreModal/StoreModalProduct.js +38 -15
  112. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
  113. package/dist/components/StoreModalProductLicenseSelection/index.js +6 -6
  114. package/dist/components/StoreModalProductSummary/index.js +1 -1
  115. package/dist/components/TestFontsForm/TestFontsFormElement.d.ts +4 -1
  116. package/dist/components/TestFontsForm/TestFontsFormElement.js +11 -3
  117. package/dist/components/TestFontsForm/index.d.ts +6 -3
  118. package/dist/components/TestFontsForm/index.js +82 -13
  119. package/dist/components/TestFontsForm/index.server.js +2 -1
  120. package/dist/components/TestFontsForm/variables.d.ts +8 -0
  121. package/dist/components/TestFontsForm/variables.js +22 -0
  122. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
  123. package/dist/components/elements/StoreModalFamily/index.js +1 -1
  124. package/dist/fontdue.css +13 -0
  125. package/dist/reducer.d.ts +7 -0
  126. package/dist/reducer.js +9 -0
  127. package/dist/selection.d.ts +5 -1
  128. package/dist/selection.js +61 -16
  129. package/dist/storeModalRoutes.js +5 -4
  130. package/dist/version.js +1 -1
  131. package/package.json +1 -1
  132. package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
  133. package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
  134. package/fontdue.css +0 -2733
  135. package/fontdue.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<89e2f92178d415c422dec3ee20d52fa7>>
2
+ * @generated SignedSource<<5499691b7a86b4a28f1caa8d610d54fe>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -29,18 +29,10 @@ const node = function () {
29
29
  "name": "excludeTags",
30
30
  "variableName": "excludeTags"
31
31
  },
32
- v4 = [{
33
- "kind": "Variable",
34
- "name": "after",
35
- "variableName": "cursor"
36
- }, v3 /*: any*/, {
37
- "kind": "Variable",
38
- "name": "first",
39
- "variableName": "count"
40
- }, {
32
+ v4 = [v3 /*: any*/, {
41
33
  "kind": "Literal",
42
- "name": "onlyRoots",
43
- "value": true
34
+ "name": "first",
35
+ "value": 9999
44
36
  }],
45
37
  v5 = {
46
38
  "alias": null,
@@ -53,7 +45,7 @@ const node = function () {
53
45
  "alias": null,
54
46
  "args": null,
55
47
  "kind": "ScalarField",
56
- "name": "isVariableFont",
48
+ "name": "name",
57
49
  "storageKey": null
58
50
  },
59
51
  v7 = {
@@ -64,10 +56,111 @@ const node = function () {
64
56
  "storageKey": null
65
57
  },
66
58
  v8 = {
59
+ "alias": null,
60
+ "args": null,
61
+ "concreteType": "FontStyle",
62
+ "kind": "LinkedField",
63
+ "name": "featureStyle",
64
+ "plural": false,
65
+ "selections": [{
66
+ "alias": null,
67
+ "args": null,
68
+ "kind": "ScalarField",
69
+ "name": "cssFamily",
70
+ "storageKey": null
71
+ }, v6 /*: any*/, {
72
+ "alias": null,
73
+ "args": null,
74
+ "concreteType": "WebfontSource",
75
+ "kind": "LinkedField",
76
+ "name": "webfontSources",
77
+ "plural": true,
78
+ "selections": [{
79
+ "alias": null,
80
+ "args": null,
81
+ "kind": "ScalarField",
82
+ "name": "url",
83
+ "storageKey": null
84
+ }, {
85
+ "alias": null,
86
+ "args": null,
87
+ "kind": "ScalarField",
88
+ "name": "format",
89
+ "storageKey": null
90
+ }, {
91
+ "alias": null,
92
+ "args": null,
93
+ "kind": "ScalarField",
94
+ "name": "tech",
95
+ "storageKey": null
96
+ }],
97
+ "storageKey": null
98
+ }, {
99
+ "alias": null,
100
+ "args": null,
101
+ "concreteType": "VerticalMetrics",
102
+ "kind": "LinkedField",
103
+ "name": "verticalMetrics",
104
+ "plural": false,
105
+ "selections": [{
106
+ "alias": null,
107
+ "args": null,
108
+ "kind": "ScalarField",
109
+ "name": "unitsPerEm",
110
+ "storageKey": null
111
+ }, {
112
+ "alias": null,
113
+ "args": null,
114
+ "kind": "ScalarField",
115
+ "name": "ascender",
116
+ "storageKey": null
117
+ }, {
118
+ "alias": null,
119
+ "args": null,
120
+ "kind": "ScalarField",
121
+ "name": "descender",
122
+ "storageKey": null
123
+ }, {
124
+ "alias": null,
125
+ "args": null,
126
+ "kind": "ScalarField",
127
+ "name": "lineGap",
128
+ "storageKey": null
129
+ }, {
130
+ "alias": null,
131
+ "args": null,
132
+ "kind": "ScalarField",
133
+ "name": "avgCharWidth",
134
+ "storageKey": null
135
+ }],
136
+ "storageKey": null
137
+ }, {
138
+ "alias": null,
139
+ "args": null,
140
+ "kind": "ScalarField",
141
+ "name": "supportedLanguages",
142
+ "storageKey": null
143
+ }, v5 /*: any*/],
144
+ "storageKey": null
145
+ },
146
+ v9 = [{
147
+ "kind": "Variable",
148
+ "name": "after",
149
+ "variableName": "cursor"
150
+ }, v3 /*: any*/, {
151
+ "kind": "Variable",
152
+ "name": "first",
153
+ "variableName": "count"
154
+ }, {
155
+ "kind": "Literal",
156
+ "name": "onlyRoots",
157
+ "value": true
158
+ }],
159
+ v10 = {
67
160
  "alias": null,
68
161
  "args": null,
69
162
  "kind": "ScalarField",
70
- "name": "name",
163
+ "name": "isVariableFont",
71
164
  "storageKey": null
72
165
  };
73
166
  return {
@@ -84,6 +177,37 @@ const node = function () {
84
177
  "name": "viewer",
85
178
  "plural": false,
86
179
  "selections": [{
180
+ "alias": null,
181
+ "args": v4 /*: any*/,
182
+ "concreteType": "FontPackConnection",
183
+ "kind": "LinkedField",
184
+ "name": "fontPacks",
185
+ "plural": false,
186
+ "selections": [{
187
+ "alias": null,
188
+ "args": null,
189
+ "concreteType": "FontPackEdge",
190
+ "kind": "LinkedField",
191
+ "name": "edges",
192
+ "plural": true,
193
+ "selections": [{
194
+ "alias": null,
195
+ "args": null,
196
+ "concreteType": "FontPack",
197
+ "kind": "LinkedField",
198
+ "name": "node",
199
+ "plural": false,
200
+ "selections": [v5 /*: any*/, {
201
+ "args": null,
202
+ "kind": "FragmentSpread",
203
+ "name": "StoreModalIndexPackItem_fontPack"
204
+ }],
205
+ "storageKey": null
206
+ }],
207
+ "storageKey": null
208
+ }],
209
+ "storageKey": null
210
+ }, {
87
211
  "args": [{
88
212
  "kind": "Variable",
89
213
  "name": "count",
@@ -114,8 +238,35 @@ const node = function () {
114
238
  "name": "viewer",
115
239
  "plural": false,
116
240
  "selections": [{
117
- "alias": "rootCollections",
241
+ "alias": null,
118
242
  "args": v4 /*: any*/,
243
+ "concreteType": "FontPackConnection",
244
+ "kind": "LinkedField",
245
+ "name": "fontPacks",
246
+ "plural": false,
247
+ "selections": [{
248
+ "alias": null,
249
+ "args": null,
250
+ "concreteType": "FontPackEdge",
251
+ "kind": "LinkedField",
252
+ "name": "edges",
253
+ "plural": true,
254
+ "selections": [{
255
+ "alias": null,
256
+ "args": null,
257
+ "concreteType": "FontPack",
258
+ "kind": "LinkedField",
259
+ "name": "node",
260
+ "plural": false,
261
+ "selections": [v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
262
+ "storageKey": null
263
+ }],
264
+ "storageKey": null
265
+ }],
266
+ "storageKey": null
267
+ }, {
268
+ "alias": "rootCollections",
269
+ "args": v9 /*: any*/,
119
270
  "concreteType": "FontCollectionConnection",
120
271
  "kind": "LinkedField",
121
272
  "name": "fontCollections",
@@ -134,7 +285,7 @@ const node = function () {
134
285
  "kind": "LinkedField",
135
286
  "name": "node",
136
287
  "plural": false,
137
- "selections": [v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, {
288
+ "selections": [v5 /*: any*/, v10 /*: any*/, v7 /*: any*/, {
138
289
  "alias": null,
139
290
  "args": [{
140
291
  "kind": "Literal",
@@ -145,102 +296,15 @@ const node = function () {
145
296
  "kind": "LinkedField",
146
297
  "name": "children",
147
298
  "plural": true,
148
- "selections": [v6 /*: any*/, v7 /*: any*/, v5 /*: any*/],
299
+ "selections": [v10 /*: any*/, v7 /*: any*/, v5 /*: any*/],
149
300
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
150
- }, v8 /*: any*/, {
301
+ }, v6 /*: any*/, {
151
302
  "alias": null,
152
303
  "args": null,
153
304
  "kind": "ScalarField",
154
305
  "name": "collectionType",
155
306
  "storageKey": null
156
- }, {
157
- "alias": null,
158
- "args": null,
159
- "concreteType": "FontStyle",
160
- "kind": "LinkedField",
161
- "name": "featureStyle",
162
- "plural": false,
163
- "selections": [{
164
- "alias": null,
165
- "args": null,
166
- "kind": "ScalarField",
167
- "name": "cssFamily",
168
- "storageKey": null
169
- }, v8 /*: any*/, {
170
- "alias": null,
171
- "args": null,
172
- "concreteType": "WebfontSource",
173
- "kind": "LinkedField",
174
- "name": "webfontSources",
175
- "plural": true,
176
- "selections": [{
177
- "alias": null,
178
- "args": null,
179
- "kind": "ScalarField",
180
- "name": "url",
181
- "storageKey": null
182
- }, {
183
- "alias": null,
184
- "args": null,
185
- "kind": "ScalarField",
186
- "name": "format",
187
- "storageKey": null
188
- }, {
189
- "alias": null,
190
- "args": null,
191
- "kind": "ScalarField",
192
- "name": "tech",
193
- "storageKey": null
194
- }],
195
- "storageKey": null
196
- }, {
197
- "alias": null,
198
- "args": null,
199
- "concreteType": "VerticalMetrics",
200
- "kind": "LinkedField",
201
- "name": "verticalMetrics",
202
- "plural": false,
203
- "selections": [{
204
- "alias": null,
205
- "args": null,
206
- "kind": "ScalarField",
207
- "name": "unitsPerEm",
208
- "storageKey": null
209
- }, {
210
- "alias": null,
211
- "args": null,
212
- "kind": "ScalarField",
213
- "name": "ascender",
214
- "storageKey": null
215
- }, {
216
- "alias": null,
217
- "args": null,
218
- "kind": "ScalarField",
219
- "name": "descender",
220
- "storageKey": null
221
- }, {
222
- "alias": null,
223
- "args": null,
224
- "kind": "ScalarField",
225
- "name": "lineGap",
226
- "storageKey": null
227
- }, {
228
- "alias": null,
229
- "args": null,
230
- "kind": "ScalarField",
231
- "name": "avgCharWidth",
232
- "storageKey": null
233
- }],
234
- "storageKey": null
235
- }, {
236
- "alias": null,
237
- "args": null,
238
- "kind": "ScalarField",
239
- "name": "supportedLanguages",
240
- "storageKey": null
241
- }, v5 /*: any*/],
242
- "storageKey": null
243
- }, {
307
+ }, v8 /*: any*/, {
244
308
  "alias": null,
245
309
  "args": null,
246
310
  "kind": "ScalarField",
@@ -281,7 +345,7 @@ const node = function () {
281
345
  "storageKey": null
282
346
  }, {
283
347
  "alias": "rootCollections",
284
- "args": v4 /*: any*/,
348
+ "args": v9 /*: any*/,
285
349
  "filters": ["onlyRoots", "excludeTags"],
286
350
  "handle": "connection",
287
351
  "key": "StoreModalIndex_rootCollections",
@@ -292,14 +356,14 @@ const node = function () {
292
356
  }]
293
357
  },
294
358
  "params": {
295
- "cacheID": "df11edab134861f178bb71a22f10abfa",
359
+ "cacheID": "fc6c3c60269ac58d7204476de4bae67b",
296
360
  "id": null,
297
361
  "metadata": {},
298
362
  "name": "StoreModalIndexQuery",
299
363
  "operationKind": "query",
300
- "text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n $count: Int = 25\n $cursor: String\n) {\n viewer {\n ...StoreModalIndex_viewer_3217ho\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment StoreModalIndex_viewer_3217ho on Viewer {\n rootCollections: fontCollections(onlyRoots: true, first: $count, after: $cursor, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\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"
364
+ "text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n $count: Int = 25\n $cursor: String\n) {\n viewer {\n fontPacks(first: 9999, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexPackItem_fontPack\n }\n }\n }\n ...StoreModalIndex_viewer_3217ho\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment StoreModalIndexPackItem_fontPack on FontPack {\n id\n name\n totalStyles\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment StoreModalIndex_viewer_3217ho on Viewer {\n rootCollections: fontCollections(onlyRoots: true, first: $count, after: $cursor, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\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"
301
365
  }
302
366
  };
303
367
  }();
304
- node.hash = "125a10155b690929f0eae6e9e6c7188c";
368
+ node.hash = "cea53722e4ce3c40a68997218f7e979f";
305
369
  export default node;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @generated SignedSource<<f83a3d9303d644fd5c707118591230cf>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type StoreModalPackButton_fontPack$data = {
9
+ readonly featureStyle: {
10
+ readonly supportedLanguages: ReadonlyArray<string> | null;
11
+ readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle">;
12
+ } | null;
13
+ readonly name: string;
14
+ readonly sku: {
15
+ readonly id: string;
16
+ readonly price: {
17
+ readonly amount: number;
18
+ };
19
+ readonly " $fragmentSpreads": FragmentRefs<"SKUPrice_sku">;
20
+ } | null;
21
+ readonly totalStyles: number | null;
22
+ readonly totalStylesPrice: {
23
+ readonly amount: number;
24
+ readonly " $fragmentSpreads": FragmentRefs<"Price_price">;
25
+ } | null;
26
+ readonly " $fragmentType": "StoreModalPackButton_fontPack";
27
+ };
28
+ export type StoreModalPackButton_fontPack$key = {
29
+ readonly " $data"?: StoreModalPackButton_fontPack$data;
30
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalPackButton_fontPack">;
31
+ };
32
+ declare const node: ReaderFragment;
33
+ export default node;
@@ -0,0 +1,119 @@
1
+ /**
2
+ * @generated SignedSource<<f83a3d9303d644fd5c707118591230cf>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ const node = function () {
12
+ var v0 = [{
13
+ "kind": "Variable",
14
+ "name": "licenseOptions",
15
+ "variableName": "licenseOptions"
16
+ }, {
17
+ "kind": "Variable",
18
+ "name": "orderVariables",
19
+ "variableName": "orderVariables"
20
+ }],
21
+ v1 = {
22
+ "alias": null,
23
+ "args": null,
24
+ "kind": "ScalarField",
25
+ "name": "amount",
26
+ "storageKey": null
27
+ };
28
+ return {
29
+ "argumentDefinitions": [{
30
+ "defaultValue": [],
31
+ "kind": "LocalArgument",
32
+ "name": "licenseOptions"
33
+ }, {
34
+ "defaultValue": [],
35
+ "kind": "LocalArgument",
36
+ "name": "orderVariables"
37
+ }],
38
+ "kind": "Fragment",
39
+ "metadata": null,
40
+ "name": "StoreModalPackButton_fontPack",
41
+ "selections": [{
42
+ "alias": null,
43
+ "args": null,
44
+ "kind": "ScalarField",
45
+ "name": "name",
46
+ "storageKey": null
47
+ }, {
48
+ "alias": null,
49
+ "args": null,
50
+ "concreteType": "Sku",
51
+ "kind": "LinkedField",
52
+ "name": "sku",
53
+ "plural": false,
54
+ "selections": [{
55
+ "args": v0 /*: any*/,
56
+ "kind": "FragmentSpread",
57
+ "name": "SKUPrice_sku"
58
+ }, {
59
+ "alias": null,
60
+ "args": null,
61
+ "kind": "ScalarField",
62
+ "name": "id",
63
+ "storageKey": null
64
+ }, {
65
+ "alias": null,
66
+ "args": v0 /*: any*/,
67
+ "concreteType": "Money",
68
+ "kind": "LinkedField",
69
+ "name": "price",
70
+ "plural": false,
71
+ "selections": [v1 /*: any*/],
72
+ "storageKey": null
73
+ }],
74
+ "storageKey": null
75
+ }, {
76
+ "alias": null,
77
+ "args": null,
78
+ "concreteType": "FontStyle",
79
+ "kind": "LinkedField",
80
+ "name": "featureStyle",
81
+ "plural": false,
82
+ "selections": [{
83
+ "args": null,
84
+ "kind": "FragmentSpread",
85
+ "name": "FontStyle_fontStyle"
86
+ }, {
87
+ "alias": null,
88
+ "args": null,
89
+ "kind": "ScalarField",
90
+ "name": "supportedLanguages",
91
+ "storageKey": null
92
+ }],
93
+ "storageKey": null
94
+ }, {
95
+ "alias": null,
96
+ "args": null,
97
+ "kind": "ScalarField",
98
+ "name": "totalStyles",
99
+ "storageKey": null
100
+ }, {
101
+ "alias": null,
102
+ "args": v0 /*: any*/,
103
+ "concreteType": "Money",
104
+ "kind": "LinkedField",
105
+ "name": "totalStylesPrice",
106
+ "plural": false,
107
+ "selections": [v1 /*: any*/, {
108
+ "args": null,
109
+ "kind": "FragmentSpread",
110
+ "name": "Price_price"
111
+ }],
112
+ "storageKey": null
113
+ }],
114
+ "type": "FontPack",
115
+ "abstractKey": null
116
+ };
117
+ }();
118
+ node.hash = "9075ef7d1f8c2ce1fa8beba0884713cb";
119
+ export default node;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @generated SignedSource<<9167c1ca2e4139c000cef1fddb920801>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ export type Visibility = "HIDDEN" | "UNLISTED" | "VISIBLE" | "%future added value";
8
+ import { FragmentRefs } from "relay-runtime";
9
+ export type StoreModalPack_fontPack$data = {
10
+ readonly members: ReadonlyArray<{
11
+ readonly __typename: "FontCollection";
12
+ readonly children: ReadonlyArray<{
13
+ readonly id: string;
14
+ readonly visibility: Visibility;
15
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection">;
16
+ }> | null;
17
+ readonly id: string;
18
+ readonly visibility: Visibility;
19
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection">;
20
+ } | {
21
+ readonly __typename: "FontStyle";
22
+ readonly cssFamily: string | null;
23
+ readonly cssStretch: string | null;
24
+ readonly cssStyle: string | null;
25
+ readonly cssWeight: string | null;
26
+ readonly family: {
27
+ readonly id: string;
28
+ readonly isVariableFont: boolean;
29
+ readonly name: string;
30
+ readonly visibility: Visibility;
31
+ } | null;
32
+ readonly id: string;
33
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalStyleButton_fontStyle">;
34
+ } | {
35
+ readonly __typename: "%other";
36
+ }>;
37
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalPackButton_fontPack">;
38
+ readonly " $fragmentType": "StoreModalPack_fontPack";
39
+ };
40
+ export type StoreModalPack_fontPack$key = {
41
+ readonly " $data"?: StoreModalPack_fontPack$data;
42
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalPack_fontPack">;
43
+ };
44
+ declare const node: ReaderFragment;
45
+ export default node;