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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<b1b0a9eafb6bdfcac8c3a24fa8fe27cc>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type StoreModalIndexPaginationQuery$variables = {
|
|
9
|
+
count?: number | null;
|
|
10
|
+
cursor?: string | null;
|
|
11
|
+
excludeTags?: ReadonlyArray<string> | null;
|
|
12
|
+
};
|
|
13
|
+
export type StoreModalIndexPaginationQuery$data = {
|
|
14
|
+
readonly viewer: {
|
|
15
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndex_viewer">;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type StoreModalIndexPaginationQuery = {
|
|
19
|
+
response: StoreModalIndexPaginationQuery$data;
|
|
20
|
+
variables: StoreModalIndexPaginationQuery$variables;
|
|
21
|
+
};
|
|
22
|
+
declare const node: ConcreteRequest;
|
|
23
|
+
export default node;
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<b1b0a9eafb6bdfcac8c3a24fa8fe27cc>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
// @ts-nocheck
|
|
10
|
+
|
|
11
|
+
const node = function () {
|
|
12
|
+
var v0 = [{
|
|
13
|
+
"defaultValue": 25,
|
|
14
|
+
"kind": "LocalArgument",
|
|
15
|
+
"name": "count"
|
|
16
|
+
}, {
|
|
17
|
+
"defaultValue": null,
|
|
18
|
+
"kind": "LocalArgument",
|
|
19
|
+
"name": "cursor"
|
|
20
|
+
}, {
|
|
21
|
+
"defaultValue": null,
|
|
22
|
+
"kind": "LocalArgument",
|
|
23
|
+
"name": "excludeTags"
|
|
24
|
+
}],
|
|
25
|
+
v1 = {
|
|
26
|
+
"kind": "Variable",
|
|
27
|
+
"name": "excludeTags",
|
|
28
|
+
"variableName": "excludeTags"
|
|
29
|
+
},
|
|
30
|
+
v2 = [{
|
|
31
|
+
"kind": "Variable",
|
|
32
|
+
"name": "after",
|
|
33
|
+
"variableName": "cursor"
|
|
34
|
+
}, v1 /*: any*/, {
|
|
35
|
+
"kind": "Variable",
|
|
36
|
+
"name": "first",
|
|
37
|
+
"variableName": "count"
|
|
38
|
+
}, {
|
|
39
|
+
"kind": "Literal",
|
|
40
|
+
"name": "onlyRoots",
|
|
41
|
+
"value": true
|
|
42
|
+
}],
|
|
43
|
+
v3 = {
|
|
44
|
+
"alias": null,
|
|
45
|
+
"args": null,
|
|
46
|
+
"kind": "ScalarField",
|
|
47
|
+
"name": "id",
|
|
48
|
+
"storageKey": null
|
|
49
|
+
},
|
|
50
|
+
v4 = {
|
|
51
|
+
"alias": null,
|
|
52
|
+
"args": null,
|
|
53
|
+
"kind": "ScalarField",
|
|
54
|
+
"name": "isVariableFont",
|
|
55
|
+
"storageKey": null
|
|
56
|
+
},
|
|
57
|
+
v5 = {
|
|
58
|
+
"alias": null,
|
|
59
|
+
"args": null,
|
|
60
|
+
"kind": "ScalarField",
|
|
61
|
+
"name": "totalStyles",
|
|
62
|
+
"storageKey": null
|
|
63
|
+
},
|
|
64
|
+
v6 = {
|
|
65
|
+
"alias": null,
|
|
66
|
+
"args": null,
|
|
67
|
+
"kind": "ScalarField",
|
|
68
|
+
"name": "name",
|
|
69
|
+
"storageKey": null
|
|
70
|
+
};
|
|
71
|
+
return {
|
|
72
|
+
"fragment": {
|
|
73
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
74
|
+
"kind": "Fragment",
|
|
75
|
+
"metadata": null,
|
|
76
|
+
"name": "StoreModalIndexPaginationQuery",
|
|
77
|
+
"selections": [{
|
|
78
|
+
"alias": null,
|
|
79
|
+
"args": null,
|
|
80
|
+
"concreteType": "Viewer",
|
|
81
|
+
"kind": "LinkedField",
|
|
82
|
+
"name": "viewer",
|
|
83
|
+
"plural": false,
|
|
84
|
+
"selections": [{
|
|
85
|
+
"args": [{
|
|
86
|
+
"kind": "Variable",
|
|
87
|
+
"name": "count",
|
|
88
|
+
"variableName": "count"
|
|
89
|
+
}, {
|
|
90
|
+
"kind": "Variable",
|
|
91
|
+
"name": "cursor",
|
|
92
|
+
"variableName": "cursor"
|
|
93
|
+
}, v1 /*: any*/],
|
|
94
|
+
"kind": "FragmentSpread",
|
|
95
|
+
"name": "StoreModalIndex_viewer"
|
|
96
|
+
}],
|
|
97
|
+
"storageKey": null
|
|
98
|
+
}],
|
|
99
|
+
"type": "RootQueryType",
|
|
100
|
+
"abstractKey": null
|
|
101
|
+
},
|
|
102
|
+
"kind": "Request",
|
|
103
|
+
"operation": {
|
|
104
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
105
|
+
"kind": "Operation",
|
|
106
|
+
"name": "StoreModalIndexPaginationQuery",
|
|
107
|
+
"selections": [{
|
|
108
|
+
"alias": null,
|
|
109
|
+
"args": null,
|
|
110
|
+
"concreteType": "Viewer",
|
|
111
|
+
"kind": "LinkedField",
|
|
112
|
+
"name": "viewer",
|
|
113
|
+
"plural": false,
|
|
114
|
+
"selections": [{
|
|
115
|
+
"alias": "rootCollections",
|
|
116
|
+
"args": v2 /*: any*/,
|
|
117
|
+
"concreteType": "FontCollectionConnection",
|
|
118
|
+
"kind": "LinkedField",
|
|
119
|
+
"name": "fontCollections",
|
|
120
|
+
"plural": false,
|
|
121
|
+
"selections": [{
|
|
122
|
+
"alias": null,
|
|
123
|
+
"args": null,
|
|
124
|
+
"concreteType": "FontCollectionEdge",
|
|
125
|
+
"kind": "LinkedField",
|
|
126
|
+
"name": "edges",
|
|
127
|
+
"plural": true,
|
|
128
|
+
"selections": [{
|
|
129
|
+
"alias": null,
|
|
130
|
+
"args": null,
|
|
131
|
+
"concreteType": "FontCollection",
|
|
132
|
+
"kind": "LinkedField",
|
|
133
|
+
"name": "node",
|
|
134
|
+
"plural": false,
|
|
135
|
+
"selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, {
|
|
136
|
+
"alias": null,
|
|
137
|
+
"args": [{
|
|
138
|
+
"kind": "Literal",
|
|
139
|
+
"name": "collectionTypes",
|
|
140
|
+
"value": ["FAMILY"]
|
|
141
|
+
}],
|
|
142
|
+
"concreteType": "FontCollection",
|
|
143
|
+
"kind": "LinkedField",
|
|
144
|
+
"name": "children",
|
|
145
|
+
"plural": true,
|
|
146
|
+
"selections": [v4 /*: any*/, v5 /*: any*/, v3 /*: any*/],
|
|
147
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
148
|
+
}, v6 /*: any*/, {
|
|
149
|
+
"alias": null,
|
|
150
|
+
"args": null,
|
|
151
|
+
"kind": "ScalarField",
|
|
152
|
+
"name": "collectionType",
|
|
153
|
+
"storageKey": null
|
|
154
|
+
}, {
|
|
155
|
+
"alias": null,
|
|
156
|
+
"args": null,
|
|
157
|
+
"concreteType": "FontStyle",
|
|
158
|
+
"kind": "LinkedField",
|
|
159
|
+
"name": "featureStyle",
|
|
160
|
+
"plural": false,
|
|
161
|
+
"selections": [{
|
|
162
|
+
"alias": null,
|
|
163
|
+
"args": null,
|
|
164
|
+
"kind": "ScalarField",
|
|
165
|
+
"name": "cssFamily",
|
|
166
|
+
"storageKey": null
|
|
167
|
+
}, v6 /*: any*/, {
|
|
168
|
+
"alias": null,
|
|
169
|
+
"args": null,
|
|
170
|
+
"concreteType": "WebfontSource",
|
|
171
|
+
"kind": "LinkedField",
|
|
172
|
+
"name": "webfontSources",
|
|
173
|
+
"plural": true,
|
|
174
|
+
"selections": [{
|
|
175
|
+
"alias": null,
|
|
176
|
+
"args": null,
|
|
177
|
+
"kind": "ScalarField",
|
|
178
|
+
"name": "url",
|
|
179
|
+
"storageKey": null
|
|
180
|
+
}, {
|
|
181
|
+
"alias": null,
|
|
182
|
+
"args": null,
|
|
183
|
+
"kind": "ScalarField",
|
|
184
|
+
"name": "format",
|
|
185
|
+
"storageKey": null
|
|
186
|
+
}, {
|
|
187
|
+
"alias": null,
|
|
188
|
+
"args": null,
|
|
189
|
+
"kind": "ScalarField",
|
|
190
|
+
"name": "tech",
|
|
191
|
+
"storageKey": null
|
|
192
|
+
}],
|
|
193
|
+
"storageKey": null
|
|
194
|
+
}, {
|
|
195
|
+
"alias": null,
|
|
196
|
+
"args": null,
|
|
197
|
+
"concreteType": "VerticalMetrics",
|
|
198
|
+
"kind": "LinkedField",
|
|
199
|
+
"name": "verticalMetrics",
|
|
200
|
+
"plural": false,
|
|
201
|
+
"selections": [{
|
|
202
|
+
"alias": null,
|
|
203
|
+
"args": null,
|
|
204
|
+
"kind": "ScalarField",
|
|
205
|
+
"name": "unitsPerEm",
|
|
206
|
+
"storageKey": null
|
|
207
|
+
}, {
|
|
208
|
+
"alias": null,
|
|
209
|
+
"args": null,
|
|
210
|
+
"kind": "ScalarField",
|
|
211
|
+
"name": "ascender",
|
|
212
|
+
"storageKey": null
|
|
213
|
+
}, {
|
|
214
|
+
"alias": null,
|
|
215
|
+
"args": null,
|
|
216
|
+
"kind": "ScalarField",
|
|
217
|
+
"name": "descender",
|
|
218
|
+
"storageKey": null
|
|
219
|
+
}, {
|
|
220
|
+
"alias": null,
|
|
221
|
+
"args": null,
|
|
222
|
+
"kind": "ScalarField",
|
|
223
|
+
"name": "lineGap",
|
|
224
|
+
"storageKey": null
|
|
225
|
+
}, {
|
|
226
|
+
"alias": null,
|
|
227
|
+
"args": null,
|
|
228
|
+
"kind": "ScalarField",
|
|
229
|
+
"name": "avgCharWidth",
|
|
230
|
+
"storageKey": null
|
|
231
|
+
}],
|
|
232
|
+
"storageKey": null
|
|
233
|
+
}, {
|
|
234
|
+
"alias": null,
|
|
235
|
+
"args": null,
|
|
236
|
+
"kind": "ScalarField",
|
|
237
|
+
"name": "supportedLanguages",
|
|
238
|
+
"storageKey": null
|
|
239
|
+
}, v3 /*: any*/],
|
|
240
|
+
"storageKey": null
|
|
241
|
+
}, {
|
|
242
|
+
"alias": null,
|
|
243
|
+
"args": null,
|
|
244
|
+
"kind": "ScalarField",
|
|
245
|
+
"name": "__typename",
|
|
246
|
+
"storageKey": null
|
|
247
|
+
}],
|
|
248
|
+
"storageKey": null
|
|
249
|
+
}, {
|
|
250
|
+
"alias": null,
|
|
251
|
+
"args": null,
|
|
252
|
+
"kind": "ScalarField",
|
|
253
|
+
"name": "cursor",
|
|
254
|
+
"storageKey": null
|
|
255
|
+
}],
|
|
256
|
+
"storageKey": null
|
|
257
|
+
}, {
|
|
258
|
+
"alias": null,
|
|
259
|
+
"args": null,
|
|
260
|
+
"concreteType": "PageInfo",
|
|
261
|
+
"kind": "LinkedField",
|
|
262
|
+
"name": "pageInfo",
|
|
263
|
+
"plural": false,
|
|
264
|
+
"selections": [{
|
|
265
|
+
"alias": null,
|
|
266
|
+
"args": null,
|
|
267
|
+
"kind": "ScalarField",
|
|
268
|
+
"name": "endCursor",
|
|
269
|
+
"storageKey": null
|
|
270
|
+
}, {
|
|
271
|
+
"alias": null,
|
|
272
|
+
"args": null,
|
|
273
|
+
"kind": "ScalarField",
|
|
274
|
+
"name": "hasNextPage",
|
|
275
|
+
"storageKey": null
|
|
276
|
+
}],
|
|
277
|
+
"storageKey": null
|
|
278
|
+
}],
|
|
279
|
+
"storageKey": null
|
|
280
|
+
}, {
|
|
281
|
+
"alias": "rootCollections",
|
|
282
|
+
"args": v2 /*: any*/,
|
|
283
|
+
"filters": ["onlyRoots", "excludeTags"],
|
|
284
|
+
"handle": "connection",
|
|
285
|
+
"key": "StoreModalIndex_rootCollections",
|
|
286
|
+
"kind": "LinkedHandle",
|
|
287
|
+
"name": "fontCollections"
|
|
288
|
+
}, v3 /*: any*/],
|
|
289
|
+
"storageKey": null
|
|
290
|
+
}]
|
|
291
|
+
},
|
|
292
|
+
"params": {
|
|
293
|
+
"cacheID": "822799800d507e869328896c0b5a1845",
|
|
294
|
+
"id": null,
|
|
295
|
+
"metadata": {},
|
|
296
|
+
"name": "StoreModalIndexPaginationQuery",
|
|
297
|
+
"operationKind": "query",
|
|
298
|
+
"text": "query StoreModalIndexPaginationQuery(\n $count: Int = 25\n $cursor: String = null\n $excludeTags: [String!] = null\n) {\n viewer {\n ...StoreModalIndex_viewer_3217ho\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment StoreModalIndex_viewer_3217ho on Viewer {\n rootCollections: fontCollections(onlyRoots: true, first: $count, after: $cursor, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
}();
|
|
302
|
+
node.hash = "f4bd120deb8eea66de4257529cbb022e";
|
|
303
|
+
export default node;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<5499691b7a86b4a28f1caa8d610d54fe>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ConcreteRequest } from 'relay-runtime';
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type StoreModalIndexQuery$variables = {
|
|
9
|
+
count?: number | null;
|
|
10
|
+
cursor?: string | null;
|
|
9
11
|
excludeTags?: ReadonlyArray<string> | null;
|
|
10
12
|
};
|
|
11
13
|
export type StoreModalIndexQuery$data = {
|
|
12
14
|
readonly viewer: {
|
|
13
|
-
readonly
|
|
15
|
+
readonly fontPacks: {
|
|
14
16
|
readonly edges: ReadonlyArray<{
|
|
15
17
|
readonly node: {
|
|
16
18
|
readonly id: string;
|
|
17
|
-
readonly " $fragmentSpreads": FragmentRefs<"
|
|
19
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndexPackItem_fontPack">;
|
|
18
20
|
} | null;
|
|
19
21
|
} | null> | null;
|
|
20
22
|
} | null;
|
|
23
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndex_viewer">;
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
26
|
export type StoreModalIndexQuery = {
|