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<<5499691b7a86b4a28f1caa8d610d54fe>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,55 +9,163 @@
|
|
|
9
9
|
// @ts-nocheck
|
|
10
10
|
|
|
11
11
|
const node = function () {
|
|
12
|
-
var v0 =
|
|
12
|
+
var v0 = {
|
|
13
|
+
"defaultValue": 25,
|
|
14
|
+
"kind": "LocalArgument",
|
|
15
|
+
"name": "count"
|
|
16
|
+
},
|
|
17
|
+
v1 = {
|
|
18
|
+
"defaultValue": null,
|
|
19
|
+
"kind": "LocalArgument",
|
|
20
|
+
"name": "cursor"
|
|
21
|
+
},
|
|
22
|
+
v2 = {
|
|
13
23
|
"defaultValue": null,
|
|
14
24
|
"kind": "LocalArgument",
|
|
15
25
|
"name": "excludeTags"
|
|
16
|
-
}
|
|
17
|
-
|
|
26
|
+
},
|
|
27
|
+
v3 = {
|
|
18
28
|
"kind": "Variable",
|
|
19
29
|
"name": "excludeTags",
|
|
20
30
|
"variableName": "excludeTags"
|
|
21
|
-
},
|
|
31
|
+
},
|
|
32
|
+
v4 = [v3 /*: any*/, {
|
|
22
33
|
"kind": "Literal",
|
|
23
34
|
"name": "first",
|
|
24
35
|
"value": 9999
|
|
25
|
-
}, {
|
|
26
|
-
"kind": "Literal",
|
|
27
|
-
"name": "onlyRoots",
|
|
28
|
-
"value": true
|
|
29
36
|
}],
|
|
30
|
-
|
|
37
|
+
v5 = {
|
|
31
38
|
"alias": null,
|
|
32
39
|
"args": null,
|
|
33
40
|
"kind": "ScalarField",
|
|
34
41
|
"name": "id",
|
|
35
42
|
"storageKey": null
|
|
36
43
|
},
|
|
37
|
-
|
|
44
|
+
v6 = {
|
|
38
45
|
"alias": null,
|
|
39
46
|
"args": null,
|
|
40
47
|
"kind": "ScalarField",
|
|
41
|
-
"name": "
|
|
48
|
+
"name": "name",
|
|
42
49
|
"storageKey": null
|
|
43
50
|
},
|
|
44
|
-
|
|
51
|
+
v7 = {
|
|
45
52
|
"alias": null,
|
|
46
53
|
"args": null,
|
|
47
54
|
"kind": "ScalarField",
|
|
48
55
|
"name": "totalStyles",
|
|
49
56
|
"storageKey": null
|
|
50
57
|
},
|
|
51
|
-
|
|
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 = {
|
|
52
160
|
"alias": null,
|
|
53
161
|
"args": null,
|
|
54
162
|
"kind": "ScalarField",
|
|
55
|
-
"name": "
|
|
163
|
+
"name": "isVariableFont",
|
|
56
164
|
"storageKey": null
|
|
57
165
|
};
|
|
58
166
|
return {
|
|
59
167
|
"fragment": {
|
|
60
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
168
|
+
"argumentDefinitions": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/],
|
|
61
169
|
"kind": "Fragment",
|
|
62
170
|
"metadata": null,
|
|
63
171
|
"name": "StoreModalIndexQuery",
|
|
@@ -69,36 +177,48 @@ const node = function () {
|
|
|
69
177
|
"name": "viewer",
|
|
70
178
|
"plural": false,
|
|
71
179
|
"selections": [{
|
|
72
|
-
"alias":
|
|
73
|
-
"args":
|
|
74
|
-
"concreteType": "
|
|
180
|
+
"alias": null,
|
|
181
|
+
"args": v4 /*: any*/,
|
|
182
|
+
"concreteType": "FontPackConnection",
|
|
75
183
|
"kind": "LinkedField",
|
|
76
|
-
"name": "
|
|
184
|
+
"name": "fontPacks",
|
|
77
185
|
"plural": false,
|
|
78
186
|
"selections": [{
|
|
79
187
|
"alias": null,
|
|
80
188
|
"args": null,
|
|
81
|
-
"concreteType": "
|
|
189
|
+
"concreteType": "FontPackEdge",
|
|
82
190
|
"kind": "LinkedField",
|
|
83
191
|
"name": "edges",
|
|
84
192
|
"plural": true,
|
|
85
193
|
"selections": [{
|
|
86
194
|
"alias": null,
|
|
87
195
|
"args": null,
|
|
88
|
-
"concreteType": "
|
|
196
|
+
"concreteType": "FontPack",
|
|
89
197
|
"kind": "LinkedField",
|
|
90
198
|
"name": "node",
|
|
91
199
|
"plural": false,
|
|
92
|
-
"selections": [
|
|
200
|
+
"selections": [v5 /*: any*/, {
|
|
93
201
|
"args": null,
|
|
94
202
|
"kind": "FragmentSpread",
|
|
95
|
-
"name": "
|
|
203
|
+
"name": "StoreModalIndexPackItem_fontPack"
|
|
96
204
|
}],
|
|
97
205
|
"storageKey": null
|
|
98
206
|
}],
|
|
99
207
|
"storageKey": null
|
|
100
208
|
}],
|
|
101
209
|
"storageKey": null
|
|
210
|
+
}, {
|
|
211
|
+
"args": [{
|
|
212
|
+
"kind": "Variable",
|
|
213
|
+
"name": "count",
|
|
214
|
+
"variableName": "count"
|
|
215
|
+
}, {
|
|
216
|
+
"kind": "Variable",
|
|
217
|
+
"name": "cursor",
|
|
218
|
+
"variableName": "cursor"
|
|
219
|
+
}, v3 /*: any*/],
|
|
220
|
+
"kind": "FragmentSpread",
|
|
221
|
+
"name": "StoreModalIndex_viewer"
|
|
102
222
|
}],
|
|
103
223
|
"storageKey": null
|
|
104
224
|
}],
|
|
@@ -107,7 +227,7 @@ const node = function () {
|
|
|
107
227
|
},
|
|
108
228
|
"kind": "Request",
|
|
109
229
|
"operation": {
|
|
110
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
230
|
+
"argumentDefinitions": [v2 /*: any*/, v0 /*: any*/, v1 /*: any*/],
|
|
111
231
|
"kind": "Operation",
|
|
112
232
|
"name": "StoreModalIndexQuery",
|
|
113
233
|
"selections": [{
|
|
@@ -118,8 +238,35 @@ const node = function () {
|
|
|
118
238
|
"name": "viewer",
|
|
119
239
|
"plural": false,
|
|
120
240
|
"selections": [{
|
|
241
|
+
"alias": null,
|
|
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
|
+
}, {
|
|
121
268
|
"alias": "rootCollections",
|
|
122
|
-
"args":
|
|
269
|
+
"args": v9 /*: any*/,
|
|
123
270
|
"concreteType": "FontCollectionConnection",
|
|
124
271
|
"kind": "LinkedField",
|
|
125
272
|
"name": "fontCollections",
|
|
@@ -138,7 +285,7 @@ const node = function () {
|
|
|
138
285
|
"kind": "LinkedField",
|
|
139
286
|
"name": "node",
|
|
140
287
|
"plural": false,
|
|
141
|
-
"selections": [
|
|
288
|
+
"selections": [v5 /*: any*/, v10 /*: any*/, v7 /*: any*/, {
|
|
142
289
|
"alias": null,
|
|
143
290
|
"args": [{
|
|
144
291
|
"kind": "Literal",
|
|
@@ -149,120 +296,74 @@ const node = function () {
|
|
|
149
296
|
"kind": "LinkedField",
|
|
150
297
|
"name": "children",
|
|
151
298
|
"plural": true,
|
|
152
|
-
"selections": [
|
|
299
|
+
"selections": [v10 /*: any*/, v7 /*: any*/, v5 /*: any*/],
|
|
153
300
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
154
|
-
},
|
|
301
|
+
}, v6 /*: any*/, {
|
|
155
302
|
"alias": null,
|
|
156
303
|
"args": null,
|
|
157
304
|
"kind": "ScalarField",
|
|
158
305
|
"name": "collectionType",
|
|
159
306
|
"storageKey": null
|
|
160
|
-
}, {
|
|
307
|
+
}, v8 /*: any*/, {
|
|
161
308
|
"alias": null,
|
|
162
309
|
"args": null,
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"name": "featureStyle",
|
|
166
|
-
"plural": false,
|
|
167
|
-
"selections": [{
|
|
168
|
-
"alias": null,
|
|
169
|
-
"args": null,
|
|
170
|
-
"kind": "ScalarField",
|
|
171
|
-
"name": "cssFamily",
|
|
172
|
-
"storageKey": null
|
|
173
|
-
}, v5 /*: any*/, {
|
|
174
|
-
"alias": null,
|
|
175
|
-
"args": null,
|
|
176
|
-
"concreteType": "WebfontSource",
|
|
177
|
-
"kind": "LinkedField",
|
|
178
|
-
"name": "webfontSources",
|
|
179
|
-
"plural": true,
|
|
180
|
-
"selections": [{
|
|
181
|
-
"alias": null,
|
|
182
|
-
"args": null,
|
|
183
|
-
"kind": "ScalarField",
|
|
184
|
-
"name": "url",
|
|
185
|
-
"storageKey": null
|
|
186
|
-
}, {
|
|
187
|
-
"alias": null,
|
|
188
|
-
"args": null,
|
|
189
|
-
"kind": "ScalarField",
|
|
190
|
-
"name": "format",
|
|
191
|
-
"storageKey": null
|
|
192
|
-
}, {
|
|
193
|
-
"alias": null,
|
|
194
|
-
"args": null,
|
|
195
|
-
"kind": "ScalarField",
|
|
196
|
-
"name": "tech",
|
|
197
|
-
"storageKey": null
|
|
198
|
-
}],
|
|
199
|
-
"storageKey": null
|
|
200
|
-
}, {
|
|
201
|
-
"alias": null,
|
|
202
|
-
"args": null,
|
|
203
|
-
"concreteType": "VerticalMetrics",
|
|
204
|
-
"kind": "LinkedField",
|
|
205
|
-
"name": "verticalMetrics",
|
|
206
|
-
"plural": false,
|
|
207
|
-
"selections": [{
|
|
208
|
-
"alias": null,
|
|
209
|
-
"args": null,
|
|
210
|
-
"kind": "ScalarField",
|
|
211
|
-
"name": "unitsPerEm",
|
|
212
|
-
"storageKey": null
|
|
213
|
-
}, {
|
|
214
|
-
"alias": null,
|
|
215
|
-
"args": null,
|
|
216
|
-
"kind": "ScalarField",
|
|
217
|
-
"name": "ascender",
|
|
218
|
-
"storageKey": null
|
|
219
|
-
}, {
|
|
220
|
-
"alias": null,
|
|
221
|
-
"args": null,
|
|
222
|
-
"kind": "ScalarField",
|
|
223
|
-
"name": "descender",
|
|
224
|
-
"storageKey": null
|
|
225
|
-
}, {
|
|
226
|
-
"alias": null,
|
|
227
|
-
"args": null,
|
|
228
|
-
"kind": "ScalarField",
|
|
229
|
-
"name": "lineGap",
|
|
230
|
-
"storageKey": null
|
|
231
|
-
}, {
|
|
232
|
-
"alias": null,
|
|
233
|
-
"args": null,
|
|
234
|
-
"kind": "ScalarField",
|
|
235
|
-
"name": "avgCharWidth",
|
|
236
|
-
"storageKey": null
|
|
237
|
-
}],
|
|
238
|
-
"storageKey": null
|
|
239
|
-
}, {
|
|
240
|
-
"alias": null,
|
|
241
|
-
"args": null,
|
|
242
|
-
"kind": "ScalarField",
|
|
243
|
-
"name": "supportedLanguages",
|
|
244
|
-
"storageKey": null
|
|
245
|
-
}, v2 /*: any*/],
|
|
310
|
+
"kind": "ScalarField",
|
|
311
|
+
"name": "__typename",
|
|
246
312
|
"storageKey": null
|
|
247
313
|
}],
|
|
248
314
|
"storageKey": null
|
|
315
|
+
}, {
|
|
316
|
+
"alias": null,
|
|
317
|
+
"args": null,
|
|
318
|
+
"kind": "ScalarField",
|
|
319
|
+
"name": "cursor",
|
|
320
|
+
"storageKey": null
|
|
321
|
+
}],
|
|
322
|
+
"storageKey": null
|
|
323
|
+
}, {
|
|
324
|
+
"alias": null,
|
|
325
|
+
"args": null,
|
|
326
|
+
"concreteType": "PageInfo",
|
|
327
|
+
"kind": "LinkedField",
|
|
328
|
+
"name": "pageInfo",
|
|
329
|
+
"plural": false,
|
|
330
|
+
"selections": [{
|
|
331
|
+
"alias": null,
|
|
332
|
+
"args": null,
|
|
333
|
+
"kind": "ScalarField",
|
|
334
|
+
"name": "endCursor",
|
|
335
|
+
"storageKey": null
|
|
336
|
+
}, {
|
|
337
|
+
"alias": null,
|
|
338
|
+
"args": null,
|
|
339
|
+
"kind": "ScalarField",
|
|
340
|
+
"name": "hasNextPage",
|
|
341
|
+
"storageKey": null
|
|
249
342
|
}],
|
|
250
343
|
"storageKey": null
|
|
251
344
|
}],
|
|
252
345
|
"storageKey": null
|
|
253
|
-
},
|
|
346
|
+
}, {
|
|
347
|
+
"alias": "rootCollections",
|
|
348
|
+
"args": v9 /*: any*/,
|
|
349
|
+
"filters": ["onlyRoots", "excludeTags"],
|
|
350
|
+
"handle": "connection",
|
|
351
|
+
"key": "StoreModalIndex_rootCollections",
|
|
352
|
+
"kind": "LinkedHandle",
|
|
353
|
+
"name": "fontCollections"
|
|
354
|
+
}, v5 /*: any*/],
|
|
254
355
|
"storageKey": null
|
|
255
356
|
}]
|
|
256
357
|
},
|
|
257
358
|
"params": {
|
|
258
|
-
"cacheID": "
|
|
359
|
+
"cacheID": "fc6c3c60269ac58d7204476de4bae67b",
|
|
259
360
|
"id": null,
|
|
260
361
|
"metadata": {},
|
|
261
362
|
"name": "StoreModalIndexQuery",
|
|
262
363
|
"operationKind": "query",
|
|
263
|
-
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\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"
|
|
264
365
|
}
|
|
265
366
|
};
|
|
266
367
|
}();
|
|
267
|
-
node.hash = "
|
|
368
|
+
node.hash = "cea53722e4ce3c40a68997218f7e979f";
|
|
268
369
|
export default node;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<3a7fa9769ddfb556a8d9877acbd1e47f>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type StoreModalIndex_viewer$data = {
|
|
9
|
+
readonly rootCollections: {
|
|
10
|
+
readonly edges: ReadonlyArray<{
|
|
11
|
+
readonly node: {
|
|
12
|
+
readonly id: string;
|
|
13
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndexItem_fontCollection">;
|
|
14
|
+
} | null;
|
|
15
|
+
} | null> | null;
|
|
16
|
+
} | null;
|
|
17
|
+
readonly " $fragmentType": "StoreModalIndex_viewer";
|
|
18
|
+
};
|
|
19
|
+
export type StoreModalIndex_viewer$key = {
|
|
20
|
+
readonly " $data"?: StoreModalIndex_viewer$data;
|
|
21
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndex_viewer">;
|
|
22
|
+
};
|
|
23
|
+
declare const node: ReaderFragment;
|
|
24
|
+
export default node;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<3a7fa9769ddfb556a8d9877acbd1e47f>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
// @ts-nocheck
|
|
10
|
+
|
|
11
|
+
import StoreModalIndexPaginationQuery_graphql from "./StoreModalIndexPaginationQuery.graphql.js";
|
|
12
|
+
const node = function () {
|
|
13
|
+
var v0 = ["rootCollections"];
|
|
14
|
+
return {
|
|
15
|
+
"argumentDefinitions": [{
|
|
16
|
+
"defaultValue": 25,
|
|
17
|
+
"kind": "LocalArgument",
|
|
18
|
+
"name": "count"
|
|
19
|
+
}, {
|
|
20
|
+
"defaultValue": null,
|
|
21
|
+
"kind": "LocalArgument",
|
|
22
|
+
"name": "cursor"
|
|
23
|
+
}, {
|
|
24
|
+
"defaultValue": null,
|
|
25
|
+
"kind": "LocalArgument",
|
|
26
|
+
"name": "excludeTags"
|
|
27
|
+
}],
|
|
28
|
+
"kind": "Fragment",
|
|
29
|
+
"metadata": {
|
|
30
|
+
"connection": [{
|
|
31
|
+
"count": "count",
|
|
32
|
+
"cursor": "cursor",
|
|
33
|
+
"direction": "forward",
|
|
34
|
+
"path": v0 /*: any*/
|
|
35
|
+
}],
|
|
36
|
+
"refetch": {
|
|
37
|
+
"connection": {
|
|
38
|
+
"forward": {
|
|
39
|
+
"count": "count",
|
|
40
|
+
"cursor": "cursor"
|
|
41
|
+
},
|
|
42
|
+
"backward": null,
|
|
43
|
+
"path": v0 /*: any*/
|
|
44
|
+
},
|
|
45
|
+
"fragmentPathInResult": ["viewer"],
|
|
46
|
+
"operation": StoreModalIndexPaginationQuery_graphql
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "StoreModalIndex_viewer",
|
|
50
|
+
"selections": [{
|
|
51
|
+
"alias": "rootCollections",
|
|
52
|
+
"args": [{
|
|
53
|
+
"kind": "Variable",
|
|
54
|
+
"name": "excludeTags",
|
|
55
|
+
"variableName": "excludeTags"
|
|
56
|
+
}, {
|
|
57
|
+
"kind": "Literal",
|
|
58
|
+
"name": "onlyRoots",
|
|
59
|
+
"value": true
|
|
60
|
+
}],
|
|
61
|
+
"concreteType": "FontCollectionConnection",
|
|
62
|
+
"kind": "LinkedField",
|
|
63
|
+
"name": "__StoreModalIndex_rootCollections_connection",
|
|
64
|
+
"plural": false,
|
|
65
|
+
"selections": [{
|
|
66
|
+
"alias": null,
|
|
67
|
+
"args": null,
|
|
68
|
+
"concreteType": "FontCollectionEdge",
|
|
69
|
+
"kind": "LinkedField",
|
|
70
|
+
"name": "edges",
|
|
71
|
+
"plural": true,
|
|
72
|
+
"selections": [{
|
|
73
|
+
"alias": null,
|
|
74
|
+
"args": null,
|
|
75
|
+
"concreteType": "FontCollection",
|
|
76
|
+
"kind": "LinkedField",
|
|
77
|
+
"name": "node",
|
|
78
|
+
"plural": false,
|
|
79
|
+
"selections": [{
|
|
80
|
+
"alias": null,
|
|
81
|
+
"args": null,
|
|
82
|
+
"kind": "ScalarField",
|
|
83
|
+
"name": "id",
|
|
84
|
+
"storageKey": null
|
|
85
|
+
}, {
|
|
86
|
+
"args": null,
|
|
87
|
+
"kind": "FragmentSpread",
|
|
88
|
+
"name": "StoreModalIndexItem_fontCollection"
|
|
89
|
+
}, {
|
|
90
|
+
"alias": null,
|
|
91
|
+
"args": null,
|
|
92
|
+
"kind": "ScalarField",
|
|
93
|
+
"name": "__typename",
|
|
94
|
+
"storageKey": null
|
|
95
|
+
}],
|
|
96
|
+
"storageKey": null
|
|
97
|
+
}, {
|
|
98
|
+
"alias": null,
|
|
99
|
+
"args": null,
|
|
100
|
+
"kind": "ScalarField",
|
|
101
|
+
"name": "cursor",
|
|
102
|
+
"storageKey": null
|
|
103
|
+
}],
|
|
104
|
+
"storageKey": null
|
|
105
|
+
}, {
|
|
106
|
+
"alias": null,
|
|
107
|
+
"args": null,
|
|
108
|
+
"concreteType": "PageInfo",
|
|
109
|
+
"kind": "LinkedField",
|
|
110
|
+
"name": "pageInfo",
|
|
111
|
+
"plural": false,
|
|
112
|
+
"selections": [{
|
|
113
|
+
"alias": null,
|
|
114
|
+
"args": null,
|
|
115
|
+
"kind": "ScalarField",
|
|
116
|
+
"name": "endCursor",
|
|
117
|
+
"storageKey": null
|
|
118
|
+
}, {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "hasNextPage",
|
|
123
|
+
"storageKey": null
|
|
124
|
+
}],
|
|
125
|
+
"storageKey": null
|
|
126
|
+
}],
|
|
127
|
+
"storageKey": null
|
|
128
|
+
}],
|
|
129
|
+
"type": "Viewer",
|
|
130
|
+
"abstractKey": null
|
|
131
|
+
};
|
|
132
|
+
}();
|
|
133
|
+
node.hash = "f4bd120deb8eea66de4257529cbb022e";
|
|
134
|
+
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;
|