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.
- package/CHANGELOG.md +6 -0
- package/README.md +5 -4
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
- package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
- package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
- package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
- package/dist/__generated__/BuyButton_product.graphql.js +72 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +26 -20
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
- package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
- package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +9 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +174 -110
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +3 -2
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +36 -19
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +6 -6
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.js → StoreModalProductLicenseSelection_licenseable.graphql.js} +5 -5
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +159 -103
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +184 -128
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +248 -171
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
- package/dist/__generated__/productState_Query.graphql.js +43 -4
- package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
- package/dist/__generated__/productState_fontPack.graphql.js +117 -0
- package/dist/__tests__/bundleSelectionOrder.test.js +2 -0
- package/dist/__tests__/collectionBundleSelection.test.js +2 -0
- package/dist/__tests__/fontPackSelection.test.js +435 -0
- package/dist/__tests__/licenseExclusions.test.js +2 -0
- package/dist/__tests__/storeModalPackButton.test.js +102 -0
- package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
- package/dist/__tests__/storeModalRoutes.test.js +9 -0
- package/dist/components/AddToCartBanner/index.js +1 -1
- package/dist/components/BuyButton/index.d.ts +29 -9
- package/dist/components/BuyButton/index.js +123 -26
- package/dist/components/BuyButton/index.server.d.ts +4 -2
- package/dist/components/BuyButton/index.server.js +24 -3
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
- package/dist/components/CollectionAa/index.js +2 -2
- package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
- package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
- package/dist/components/NodePasswordForm/index.d.ts +7 -4
- package/dist/components/NodePasswordForm/index.js +6 -6
- package/dist/components/Root/productState.js +57 -7
- package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalFamily.js +7 -5
- package/dist/components/StoreModal/StoreModalIndex.js +13 -3
- package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
- package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
- package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
- package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
- package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalPack.js +79 -0
- package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
- package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
- package/dist/components/StoreModal/StoreModalProduct.js +38 -15
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +6 -6
- package/dist/components/StoreModalProductSummary/index.js +1 -1
- package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/fontdue.css +6 -0
- package/dist/reducer.d.ts +7 -0
- package/dist/reducer.js +9 -0
- package/dist/selection.d.ts +5 -1
- package/dist/selection.js +61 -16
- package/dist/storeModalRoutes.js +5 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
- package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
- package/fontdue.css +0 -2733
- package/fontdue.css.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
-
|
|
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
|
-
|
|
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": [
|
|
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":
|
|
111
|
+
"selections": v12 /*: any*/,
|
|
105
112
|
"storageKey": null
|
|
106
113
|
}],
|
|
107
114
|
"storageKey": null
|
|
108
115
|
},
|
|
109
|
-
|
|
110
|
-
|
|
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":
|
|
124
|
+
"selections": v14 /*: any*/,
|
|
118
125
|
"storageKey": null
|
|
119
126
|
},
|
|
120
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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": [
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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": [
|
|
217
|
+
"selections": [v16 /*: any*/, v10 /*: any*/, v18 /*: any*/, v19 /*: any*/, v20 /*: any*/, v6 /*: any*/],
|
|
211
218
|
"storageKey": null
|
|
212
219
|
},
|
|
213
|
-
|
|
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
|
-
|
|
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":
|
|
234
|
+
"selections": v12 /*: any*/,
|
|
228
235
|
"storageKey": null
|
|
229
236
|
},
|
|
230
|
-
|
|
237
|
+
v24 = [{
|
|
231
238
|
"kind": "Literal",
|
|
232
239
|
"name": "collectionTypes",
|
|
233
240
|
"value": ["FAMILY"]
|
|
234
241
|
}],
|
|
235
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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": [
|
|
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
|
-
|
|
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": [
|
|
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": [
|
|
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
|
-
},
|
|
303
|
+
}, v10 /*: any*/, v13 /*: any*/],
|
|
297
304
|
"storageKey": null
|
|
298
305
|
},
|
|
299
|
-
|
|
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": [
|
|
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
|
-
"
|
|
310
|
-
"
|
|
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
|
-
}
|
|
313
|
-
"
|
|
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
|
-
},
|
|
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": [
|
|
463
|
+
"selections": [v10 /*: any*/, v13 /*: any*/, v21 /*: any*/, v22 /*: any*/, {
|
|
362
464
|
"alias": null,
|
|
363
|
-
"args":
|
|
364
|
-
"concreteType": "
|
|
465
|
+
"args": v4 /*: any*/,
|
|
466
|
+
"concreteType": "Money",
|
|
365
467
|
"kind": "LinkedField",
|
|
366
|
-
"name": "
|
|
367
|
-
"plural":
|
|
368
|
-
"selections":
|
|
369
|
-
|
|
370
|
-
|
|
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":
|
|
475
|
+
"concreteType": null,
|
|
383
476
|
"kind": "LinkedField",
|
|
384
|
-
"name": "
|
|
477
|
+
"name": "members",
|
|
385
478
|
"plural": true,
|
|
386
|
-
"selections": [v5 /*: any*/,
|
|
387
|
-
"
|
|
388
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
436
|
-
"plural":
|
|
437
|
-
"selections": [
|
|
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
|
-
"
|
|
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": "
|
|
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": "
|
|
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 ...
|
|
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 = "
|
|
522
|
+
node.hash = "c8ce87bca2032637d922f535fc168f56";
|
|
467
523
|
export default node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
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
|
};
|