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.
- package/CHANGELOG.md +14 -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__/FontFamiliesQuery.graphql.d.ts +4 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
- 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__/PriceBar_node.graphql.d.ts +4 -1
- package/dist/__generated__/PriceBar_node.graphql.js +23 -16
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +6 -3
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +218 -117
- package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
- package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
- 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 +6 -2
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +43 -19
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +7 -6
- package/dist/__generated__/StoreModalProductLicenseSelection_licenseable.graphql.js +43 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +199 -142
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +190 -133
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +254 -176
- 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__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
- 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/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
- package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
- package/dist/__tests__/bundleSelectionOrder.test.js +94 -0
- package/dist/__tests__/collectionBundleSelection.test.js +443 -1446
- package/dist/__tests__/fontPackSelection.test.js +435 -0
- package/dist/__tests__/infiniteScroll.test.js +180 -0
- package/dist/__tests__/licenseExclusions.test.js +4 -1
- 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/__tests__/storefrontEvents.test.js +167 -0
- package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -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/Cart/Checkout.js +11 -1
- package/dist/components/Cart/storefrontEvents.d.ts +34 -0
- package/dist/components/Cart/storefrontEvents.js +138 -0
- package/dist/components/CollectionAa/index.js +2 -2
- package/dist/components/FontFamilies/index.js +4 -3
- 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/Precart/index.js +6 -0
- package/dist/components/PriceBar/index.js +5 -3
- package/dist/components/Root/productState.d.ts +2 -8
- package/dist/components/Root/productState.js +100 -61
- package/dist/components/SKUPrice/index.js +7 -8
- package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalFamily.js +11 -7
- package/dist/components/StoreModal/StoreModalIndex.js +58 -7
- 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 +49 -19
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +7 -6
- package/dist/components/StoreModalProductSummary/index.js +1 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +1 -0
- package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +9 -4
- package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
- package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
- package/dist/components/elements/StoreModalUnifiedCheckout.js +12 -0
- package/dist/components/useInfiniteScroll.d.ts +28 -0
- package/dist/components/useInfiniteScroll.js +50 -0
- package/dist/fontdue.css +39 -0
- package/dist/hooks/useAutofit.d.ts +2 -1
- package/dist/hooks/useAutofit.js +10 -4
- package/dist/reducer.d.ts +12 -5
- package/dist/reducer.js +18 -87
- package/dist/selection.d.ts +44 -0
- package/dist/selection.js +539 -0
- package/dist/storeModalRoutes.js +5 -4
- package/dist/utils.d.ts +1 -12
- package/dist/utils.js +1 -36
- 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/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +0 -40
- 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,96 +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
|
+
"alias": null,
|
|
71
|
+
"args": null,
|
|
72
|
+
"kind": "ScalarField",
|
|
73
|
+
"name": "collectionType",
|
|
74
|
+
"storageKey": null
|
|
75
|
+
},
|
|
76
|
+
v10 = {
|
|
77
|
+
"alias": null,
|
|
78
|
+
"args": null,
|
|
79
|
+
"kind": "ScalarField",
|
|
80
|
+
"name": "name",
|
|
81
|
+
"storageKey": null
|
|
82
|
+
},
|
|
83
|
+
v11 = {
|
|
70
84
|
"alias": null,
|
|
71
85
|
"args": null,
|
|
72
86
|
"kind": "ScalarField",
|
|
73
87
|
"name": "amount",
|
|
74
88
|
"storageKey": null
|
|
75
89
|
},
|
|
76
|
-
|
|
90
|
+
v12 = [v11 /*: any*/, {
|
|
77
91
|
"alias": null,
|
|
78
92
|
"args": null,
|
|
79
93
|
"kind": "ScalarField",
|
|
80
94
|
"name": "currency",
|
|
81
95
|
"storageKey": null
|
|
82
96
|
}],
|
|
83
|
-
|
|
97
|
+
v13 = {
|
|
84
98
|
"alias": null,
|
|
85
99
|
"args": null,
|
|
86
100
|
"concreteType": "Sku",
|
|
87
101
|
"kind": "LinkedField",
|
|
88
102
|
"name": "sku",
|
|
89
103
|
"plural": false,
|
|
90
|
-
"selections": [
|
|
104
|
+
"selections": [v6 /*: any*/, {
|
|
91
105
|
"alias": null,
|
|
92
106
|
"args": v4 /*: any*/,
|
|
93
107
|
"concreteType": "Money",
|
|
94
108
|
"kind": "LinkedField",
|
|
95
109
|
"name": "price",
|
|
96
110
|
"plural": false,
|
|
97
|
-
"selections":
|
|
111
|
+
"selections": v12 /*: any*/,
|
|
98
112
|
"storageKey": null
|
|
99
113
|
}],
|
|
100
114
|
"storageKey": null
|
|
101
115
|
},
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
v14 = [v6 /*: any*/],
|
|
117
|
+
v15 = {
|
|
104
118
|
"alias": null,
|
|
105
119
|
"args": null,
|
|
106
120
|
"concreteType": "FontCollection",
|
|
107
121
|
"kind": "LinkedField",
|
|
108
122
|
"name": "parent",
|
|
109
123
|
"plural": false,
|
|
110
|
-
"selections":
|
|
124
|
+
"selections": v14 /*: any*/,
|
|
111
125
|
"storageKey": null
|
|
112
126
|
},
|
|
113
|
-
|
|
127
|
+
v16 = {
|
|
114
128
|
"alias": null,
|
|
115
129
|
"args": null,
|
|
116
130
|
"kind": "ScalarField",
|
|
117
131
|
"name": "cssFamily",
|
|
118
132
|
"storageKey": null
|
|
119
133
|
},
|
|
120
|
-
|
|
134
|
+
v17 = {
|
|
121
135
|
"alias": null,
|
|
122
136
|
"args": null,
|
|
123
137
|
"kind": "ScalarField",
|
|
124
138
|
"name": "url",
|
|
125
139
|
"storageKey": null
|
|
126
140
|
},
|
|
127
|
-
|
|
141
|
+
v18 = {
|
|
128
142
|
"alias": null,
|
|
129
143
|
"args": null,
|
|
130
144
|
"concreteType": "WebfontSource",
|
|
131
145
|
"kind": "LinkedField",
|
|
132
146
|
"name": "webfontSources",
|
|
133
147
|
"plural": true,
|
|
134
|
-
"selections": [
|
|
148
|
+
"selections": [v17 /*: any*/, {
|
|
135
149
|
"alias": null,
|
|
136
150
|
"args": null,
|
|
137
151
|
"kind": "ScalarField",
|
|
@@ -146,7 +160,7 @@ const node = function () {
|
|
|
146
160
|
}],
|
|
147
161
|
"storageKey": null
|
|
148
162
|
},
|
|
149
|
-
|
|
163
|
+
v19 = {
|
|
150
164
|
"alias": null,
|
|
151
165
|
"args": null,
|
|
152
166
|
"concreteType": "VerticalMetrics",
|
|
@@ -186,67 +200,67 @@ const node = function () {
|
|
|
186
200
|
}],
|
|
187
201
|
"storageKey": null
|
|
188
202
|
},
|
|
189
|
-
|
|
203
|
+
v20 = {
|
|
190
204
|
"alias": null,
|
|
191
205
|
"args": null,
|
|
192
206
|
"kind": "ScalarField",
|
|
193
207
|
"name": "supportedLanguages",
|
|
194
208
|
"storageKey": null
|
|
195
209
|
},
|
|
196
|
-
|
|
210
|
+
v21 = {
|
|
197
211
|
"alias": null,
|
|
198
212
|
"args": null,
|
|
199
213
|
"concreteType": "FontStyle",
|
|
200
214
|
"kind": "LinkedField",
|
|
201
215
|
"name": "featureStyle",
|
|
202
216
|
"plural": false,
|
|
203
|
-
"selections": [
|
|
217
|
+
"selections": [v16 /*: any*/, v10 /*: any*/, v18 /*: any*/, v19 /*: any*/, v20 /*: any*/, v6 /*: any*/],
|
|
204
218
|
"storageKey": null
|
|
205
219
|
},
|
|
206
|
-
|
|
220
|
+
v22 = {
|
|
207
221
|
"alias": null,
|
|
208
222
|
"args": null,
|
|
209
223
|
"kind": "ScalarField",
|
|
210
224
|
"name": "totalStyles",
|
|
211
225
|
"storageKey": null
|
|
212
226
|
},
|
|
213
|
-
|
|
227
|
+
v23 = {
|
|
214
228
|
"alias": null,
|
|
215
229
|
"args": null,
|
|
216
230
|
"concreteType": "Money",
|
|
217
231
|
"kind": "LinkedField",
|
|
218
232
|
"name": "totalStylesPrice",
|
|
219
233
|
"plural": false,
|
|
220
|
-
"selections":
|
|
234
|
+
"selections": v12 /*: any*/,
|
|
221
235
|
"storageKey": null
|
|
222
236
|
},
|
|
223
|
-
|
|
237
|
+
v24 = [{
|
|
224
238
|
"kind": "Literal",
|
|
225
239
|
"name": "collectionTypes",
|
|
226
240
|
"value": ["FAMILY"]
|
|
227
241
|
}],
|
|
228
|
-
|
|
242
|
+
v25 = {
|
|
229
243
|
"alias": null,
|
|
230
244
|
"args": null,
|
|
231
245
|
"kind": "ScalarField",
|
|
232
246
|
"name": "cssWeight",
|
|
233
247
|
"storageKey": null
|
|
234
248
|
},
|
|
235
|
-
|
|
249
|
+
v26 = {
|
|
236
250
|
"alias": null,
|
|
237
251
|
"args": null,
|
|
238
252
|
"kind": "ScalarField",
|
|
239
253
|
"name": "cssStretch",
|
|
240
254
|
"storageKey": null
|
|
241
255
|
},
|
|
242
|
-
|
|
256
|
+
v27 = {
|
|
243
257
|
"alias": null,
|
|
244
258
|
"args": null,
|
|
245
259
|
"concreteType": "VariableInstance",
|
|
246
260
|
"kind": "LinkedField",
|
|
247
261
|
"name": "variableInstances",
|
|
248
262
|
"plural": true,
|
|
249
|
-
"selections": [
|
|
263
|
+
"selections": [v10 /*: any*/, {
|
|
250
264
|
"alias": null,
|
|
251
265
|
"args": null,
|
|
252
266
|
"concreteType": "VariableSetting",
|
|
@@ -270,46 +284,136 @@ const node = function () {
|
|
|
270
284
|
}],
|
|
271
285
|
"storageKey": null
|
|
272
286
|
},
|
|
273
|
-
|
|
287
|
+
v28 = {
|
|
274
288
|
"alias": null,
|
|
275
289
|
"args": null,
|
|
276
290
|
"concreteType": "Bundle",
|
|
277
291
|
"kind": "LinkedField",
|
|
278
292
|
"name": "bundles",
|
|
279
293
|
"plural": true,
|
|
280
|
-
"selections": [
|
|
281
|
-
"alias": null,
|
|
282
|
-
"args": null,
|
|
283
|
-
"kind": "ScalarField",
|
|
284
|
-
"name": "hidden",
|
|
285
|
-
"storageKey": null
|
|
286
|
-
}, {
|
|
294
|
+
"selections": [v6 /*: any*/, v7 /*: any*/, {
|
|
287
295
|
"alias": null,
|
|
288
296
|
"args": null,
|
|
289
297
|
"concreteType": "FontStyle",
|
|
290
298
|
"kind": "LinkedField",
|
|
291
299
|
"name": "fontStyles",
|
|
292
300
|
"plural": true,
|
|
293
|
-
"selections": [
|
|
301
|
+
"selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
|
|
294
302
|
"storageKey": null
|
|
295
|
-
},
|
|
303
|
+
}, v10 /*: any*/, v13 /*: any*/],
|
|
296
304
|
"storageKey": null
|
|
297
305
|
},
|
|
298
|
-
|
|
306
|
+
v29 = {
|
|
307
|
+
"alias": null,
|
|
308
|
+
"args": null,
|
|
309
|
+
"kind": "ScalarField",
|
|
310
|
+
"name": "cssStyle",
|
|
311
|
+
"storageKey": null
|
|
312
|
+
},
|
|
313
|
+
v30 = {
|
|
299
314
|
"alias": null,
|
|
300
315
|
"args": null,
|
|
301
316
|
"concreteType": "FontStyle",
|
|
302
317
|
"kind": "LinkedField",
|
|
303
318
|
"name": "fontStyles",
|
|
304
319
|
"plural": true,
|
|
305
|
-
"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": [{
|
|
306
345
|
"alias": null,
|
|
307
346
|
"args": null,
|
|
308
|
-
"
|
|
309
|
-
"
|
|
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
|
+
}],
|
|
310
413
|
"storageKey": null
|
|
311
|
-
}
|
|
312
|
-
"
|
|
414
|
+
}],
|
|
415
|
+
"type": "Licenseable",
|
|
416
|
+
"abstractKey": "__isLicenseable"
|
|
313
417
|
};
|
|
314
418
|
return {
|
|
315
419
|
"fragment": {
|
|
@@ -346,121 +450,74 @@ const node = function () {
|
|
|
346
450
|
"kind": "LinkedField",
|
|
347
451
|
"name": "node",
|
|
348
452
|
"plural": false,
|
|
349
|
-
"selections": [{
|
|
350
|
-
"alias": null,
|
|
351
|
-
"args": null,
|
|
352
|
-
"kind": "ScalarField",
|
|
353
|
-
"name": "__typename",
|
|
354
|
-
"storageKey": null
|
|
355
|
-
}, {
|
|
453
|
+
"selections": [v5 /*: any*/, {
|
|
356
454
|
"kind": "TypeDiscriminator",
|
|
357
455
|
"abstractKey": "__isNode"
|
|
358
|
-
},
|
|
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
|
+
}, {
|
|
359
462
|
"kind": "InlineFragment",
|
|
360
|
-
"selections": [
|
|
463
|
+
"selections": [v10 /*: any*/, v13 /*: any*/, v21 /*: any*/, v22 /*: any*/, {
|
|
361
464
|
"alias": null,
|
|
362
|
-
"args":
|
|
363
|
-
"concreteType": "
|
|
465
|
+
"args": v4 /*: any*/,
|
|
466
|
+
"concreteType": "Money",
|
|
364
467
|
"kind": "LinkedField",
|
|
365
|
-
"name": "
|
|
366
|
-
"plural":
|
|
367
|
-
"selections":
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
"concreteType": "FontCollection",
|
|
371
|
-
"kind": "LinkedField",
|
|
372
|
-
"name": "children",
|
|
373
|
-
"plural": true,
|
|
374
|
-
"selections": [v6 /*: any*/, v20 /*: any*/, v5 /*: any*/],
|
|
375
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
376
|
-
}, v26 /*: any*/, v27 /*: any*/],
|
|
377
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
378
|
-
}, v26 /*: any*/, v27 /*: any*/, {
|
|
468
|
+
"name": "totalStylesPrice",
|
|
469
|
+
"plural": false,
|
|
470
|
+
"selections": v12 /*: any*/,
|
|
471
|
+
"storageKey": null
|
|
472
|
+
}, {
|
|
379
473
|
"alias": null,
|
|
380
474
|
"args": null,
|
|
381
|
-
"concreteType":
|
|
475
|
+
"concreteType": null,
|
|
382
476
|
"kind": "LinkedField",
|
|
383
|
-
"name": "
|
|
477
|
+
"name": "members",
|
|
384
478
|
"plural": true,
|
|
385
|
-
"selections": [v5 /*: any*/,
|
|
386
|
-
"
|
|
387
|
-
"
|
|
388
|
-
"kind": "Literal",
|
|
389
|
-
"name": "format",
|
|
390
|
-
"value": "HTML"
|
|
391
|
-
}],
|
|
392
|
-
"kind": "ScalarField",
|
|
393
|
-
"name": "description",
|
|
394
|
-
"storageKey": "description(format:\"HTML\")"
|
|
395
|
-
}, {
|
|
396
|
-
"alias": null,
|
|
397
|
-
"args": null,
|
|
398
|
-
"kind": "ScalarField",
|
|
399
|
-
"name": "defaultSelected",
|
|
400
|
-
"storageKey": null
|
|
401
|
-
}, {
|
|
402
|
-
"alias": null,
|
|
403
|
-
"args": null,
|
|
404
|
-
"concreteType": "License",
|
|
405
|
-
"kind": "LinkedField",
|
|
406
|
-
"name": "excludedLicenses",
|
|
407
|
-
"plural": true,
|
|
408
|
-
"selections": v12 /*: any*/,
|
|
409
|
-
"storageKey": null
|
|
410
|
-
}, {
|
|
411
|
-
"alias": "variables",
|
|
412
|
-
"args": null,
|
|
413
|
-
"concreteType": "LicenseVariable",
|
|
414
|
-
"kind": "LinkedField",
|
|
415
|
-
"name": "licenseVariables",
|
|
416
|
-
"plural": true,
|
|
417
|
-
"selections": [v5 /*: any*/, v8 /*: any*/, {
|
|
479
|
+
"selections": [v5 /*: any*/, {
|
|
480
|
+
"kind": "InlineFragment",
|
|
481
|
+
"selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v29 /*: any*/, {
|
|
418
482
|
"alias": null,
|
|
419
483
|
"args": null,
|
|
420
|
-
"
|
|
421
|
-
"name": "variableType",
|
|
422
|
-
"storageKey": null
|
|
423
|
-
}, {
|
|
424
|
-
"alias": null,
|
|
425
|
-
"args": null,
|
|
426
|
-
"kind": "ScalarField",
|
|
427
|
-
"name": "units",
|
|
428
|
-
"storageKey": null
|
|
429
|
-
}, {
|
|
430
|
-
"alias": "options",
|
|
431
|
-
"args": null,
|
|
432
|
-
"concreteType": "LicenseOption",
|
|
484
|
+
"concreteType": "FontCollection",
|
|
433
485
|
"kind": "LinkedField",
|
|
434
|
-
"name": "
|
|
435
|
-
"plural":
|
|
436
|
-
"selections": [
|
|
437
|
-
"alias": null,
|
|
438
|
-
"args": null,
|
|
439
|
-
"kind": "ScalarField",
|
|
440
|
-
"name": "amounts",
|
|
441
|
-
"storageKey": null
|
|
442
|
-
}],
|
|
486
|
+
"name": "family",
|
|
487
|
+
"plural": false,
|
|
488
|
+
"selections": [v6 /*: any*/, v10 /*: any*/, v8 /*: any*/, v7 /*: any*/],
|
|
443
489
|
"storageKey": null
|
|
444
|
-
}],
|
|
445
|
-
"
|
|
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"
|
|
446
503
|
}],
|
|
447
504
|
"storageKey": null
|
|
448
|
-
}],
|
|
449
|
-
"type": "
|
|
505
|
+
}, v32 /*: any*/],
|
|
506
|
+
"type": "FontPack",
|
|
450
507
|
"abstractKey": null
|
|
451
508
|
}],
|
|
452
509
|
"storageKey": null
|
|
453
510
|
}]
|
|
454
511
|
},
|
|
455
512
|
"params": {
|
|
456
|
-
"cacheID": "
|
|
513
|
+
"cacheID": "e76946d384161bdec43aed745ea8b411",
|
|
457
514
|
"id": null,
|
|
458
515
|
"metadata": {},
|
|
459
516
|
"name": "StoreModalProductRefetchQuery",
|
|
460
517
|
"operationKind": "query",
|
|
461
|
-
"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
|
|
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"
|
|
462
519
|
}
|
|
463
520
|
};
|
|
464
521
|
}();
|
|
465
|
-
node.hash = "
|
|
522
|
+
node.hash = "c8ce87bca2032637d922f535fc168f56";
|
|
466
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
|
};
|