fontdue-js 2.19.2 → 2.20.1
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 +15 -0
- package/README.md +11 -10
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -7
- package/dist/__generated__/CartItemProduct_product.graphql.js +11 -36
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +119 -87
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CharacterViewerIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerIDQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.js +62 -41
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +1 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.js +6 -13
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +1 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +2 -8
- package/dist/__generated__/CharacterViewer_style.graphql.d.ts +2 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +6 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +57 -3
- package/dist/__generated__/Family_node.graphql.d.ts +1 -2
- package/dist/__generated__/Family_node.graphql.js +2 -8
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +80 -31
- package/dist/__generated__/FontStyle_fontStyle.graphql.d.ts +2 -3
- package/dist/__generated__/FontStyle_fontStyle.graphql.js +4 -12
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +71 -29
- package/dist/__generated__/ServerConfigProviderQuery.graphql.d.ts +24 -0
- package/dist/__generated__/ServerConfigProviderQuery.graphql.js +108 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +108 -76
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +4 -7
- package/dist/__generated__/StoreModalContainerQuery.graphql.js +58 -25
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +2 -8
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +2 -17
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +48 -9
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +85 -41
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +78 -34
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +56 -8
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +2 -17
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +55 -7
- package/dist/__generated__/useFontStyle_fontStyle.graphql.d.ts +28 -0
- package/dist/__generated__/useFontStyle_fontStyle.graphql.js +94 -0
- package/dist/__tests__/collectionBundleSelection.test.js +0 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -9
- package/dist/components/CharacterViewer/index.js +5 -11
- package/dist/components/ConfigContext.d.ts +13 -0
- package/dist/components/ConfigContext.js +6 -2
- package/dist/components/ConsentBanner/consent.d.ts +18 -0
- package/dist/components/ConsentBanner/consent.js +93 -0
- package/dist/components/ConsentBanner/index.d.ts +3 -0
- package/dist/components/ConsentBanner/index.js +84 -0
- package/dist/components/Family/index.js +2 -5
- package/dist/components/FontStyle/index.js +2 -8
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +14 -1
- package/dist/components/FontdueProvider/index.js +1 -2
- package/dist/components/FontdueProvider/index.server.js +1 -2
- package/dist/components/ServerConfigProvider/index.d.ts +8 -0
- package/dist/components/ServerConfigProvider/index.js +41 -0
- package/dist/components/StoreModal/StoreModalContainer.js +15 -17
- package/dist/components/StoreModal/StoreModalFamily.js +1 -5
- package/dist/components/StoreModal/StoreModalIndexItem.js +6 -11
- package/dist/components/Tracking/index.d.ts +2 -0
- package/dist/components/Tracking/index.js +166 -0
- package/dist/components/TypeTester/TypeTesterSlider.js +10 -3
- package/dist/components/TypeTester/index.js +2 -5
- package/dist/components/TypeTester/useTypeTesterStyler.js +27 -85
- package/dist/components/UrlContext.d.ts +3 -0
- package/dist/components/UrlContext.js +15 -0
- package/dist/components/elements/StoreModalContainer/index.d.ts +2 -6
- package/dist/components/elements/StoreModalContainer/index.js +3 -8
- package/dist/components/elements/StoreModalFamily/index.d.ts +0 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -2
- package/dist/components/useConsent.d.ts +9 -0
- package/dist/components/useConsent.js +26 -0
- package/dist/components/useFont.d.ts +29 -0
- package/dist/components/useFont.js +77 -0
- package/dist/components/useFontLoaded.d.ts +24 -0
- package/dist/components/useFontLoaded.js +60 -0
- package/dist/components/useFontStyle.d.ts +3 -4
- package/dist/components/useFontStyle.js +24 -16
- package/dist/deepMerge.d.ts +4 -0
- package/dist/deepMerge.js +24 -0
- package/dist/fontLoader.d.ts +13 -0
- package/dist/fontLoader.js +55 -0
- package/dist/fontdue.css +65 -0
- package/dist/hooks/useAutofit.d.ts +20 -0
- package/dist/hooks/useAutofit.js +115 -0
- package/dist/react-ranger.js +5 -1
- package/dist/reducer.d.ts +0 -4
- package/dist/reducer.js +0 -11
- package/package.json +5 -2
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<f5cde7590d740896f6834a203b745211>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -36,41 +36,74 @@ const node = function () {
|
|
|
36
36
|
"alias": null,
|
|
37
37
|
"args": null,
|
|
38
38
|
"kind": "ScalarField",
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "cssFamily",
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v3 = {
|
|
43
43
|
"alias": null,
|
|
44
44
|
"args": null,
|
|
45
45
|
"kind": "ScalarField",
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "name",
|
|
47
47
|
"storageKey": null
|
|
48
48
|
},
|
|
49
|
-
v4 = {
|
|
50
|
-
"alias": null,
|
|
49
|
+
v4 = [{
|
|
51
50
|
"args": null,
|
|
52
|
-
"kind": "
|
|
53
|
-
"name": "
|
|
54
|
-
|
|
55
|
-
},
|
|
51
|
+
"kind": "FragmentSpread",
|
|
52
|
+
"name": "useFontStyle_fontStyle"
|
|
53
|
+
}, v2 /*: any*/, v3 /*: any*/],
|
|
56
54
|
v5 = [v2 /*: any*/, v3 /*: any*/, {
|
|
57
55
|
"alias": null,
|
|
58
56
|
"args": null,
|
|
59
|
-
"concreteType": "
|
|
57
|
+
"concreteType": "WebfontSource",
|
|
60
58
|
"kind": "LinkedField",
|
|
61
|
-
"name": "
|
|
62
|
-
"plural":
|
|
63
|
-
"selections": [
|
|
59
|
+
"name": "webfontSources",
|
|
60
|
+
"plural": true,
|
|
61
|
+
"selections": [{
|
|
62
|
+
"alias": null,
|
|
63
|
+
"args": null,
|
|
64
|
+
"kind": "ScalarField",
|
|
65
|
+
"name": "url",
|
|
66
|
+
"storageKey": null
|
|
67
|
+
}, {
|
|
68
|
+
"alias": null,
|
|
69
|
+
"args": null,
|
|
70
|
+
"kind": "ScalarField",
|
|
71
|
+
"name": "format",
|
|
72
|
+
"storageKey": null
|
|
73
|
+
}],
|
|
64
74
|
"storageKey": null
|
|
65
|
-
}
|
|
66
|
-
v6 = [v2 /*: any*/, v3 /*: any*/, {
|
|
75
|
+
}, {
|
|
67
76
|
"alias": null,
|
|
68
77
|
"args": null,
|
|
69
|
-
"concreteType": "
|
|
78
|
+
"concreteType": "VerticalMetrics",
|
|
70
79
|
"kind": "LinkedField",
|
|
71
|
-
"name": "
|
|
80
|
+
"name": "verticalMetrics",
|
|
72
81
|
"plural": false,
|
|
73
|
-
"selections": [
|
|
82
|
+
"selections": [{
|
|
83
|
+
"alias": null,
|
|
84
|
+
"args": null,
|
|
85
|
+
"kind": "ScalarField",
|
|
86
|
+
"name": "unitsPerEm",
|
|
87
|
+
"storageKey": null
|
|
88
|
+
}, {
|
|
89
|
+
"alias": null,
|
|
90
|
+
"args": null,
|
|
91
|
+
"kind": "ScalarField",
|
|
92
|
+
"name": "ascender",
|
|
93
|
+
"storageKey": null
|
|
94
|
+
}, {
|
|
95
|
+
"alias": null,
|
|
96
|
+
"args": null,
|
|
97
|
+
"kind": "ScalarField",
|
|
98
|
+
"name": "descender",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}, {
|
|
101
|
+
"alias": null,
|
|
102
|
+
"args": null,
|
|
103
|
+
"kind": "ScalarField",
|
|
104
|
+
"name": "lineGap",
|
|
105
|
+
"storageKey": null
|
|
106
|
+
}],
|
|
74
107
|
"storageKey": null
|
|
75
108
|
}, v0 /*: any*/];
|
|
76
109
|
return {
|
|
@@ -109,7 +142,7 @@ const node = function () {
|
|
|
109
142
|
"kind": "LinkedField",
|
|
110
143
|
"name": "uiFontStyle",
|
|
111
144
|
"plural": false,
|
|
112
|
-
"selections":
|
|
145
|
+
"selections": v4 /*: any*/,
|
|
113
146
|
"storageKey": null
|
|
114
147
|
}, {
|
|
115
148
|
"alias": null,
|
|
@@ -118,7 +151,7 @@ const node = function () {
|
|
|
118
151
|
"kind": "LinkedField",
|
|
119
152
|
"name": "uiFontStyleBold",
|
|
120
153
|
"plural": false,
|
|
121
|
-
"selections":
|
|
154
|
+
"selections": v4 /*: any*/,
|
|
122
155
|
"storageKey": null
|
|
123
156
|
}],
|
|
124
157
|
"storageKey": null
|
|
@@ -163,7 +196,7 @@ const node = function () {
|
|
|
163
196
|
"kind": "LinkedField",
|
|
164
197
|
"name": "uiFontStyle",
|
|
165
198
|
"plural": false,
|
|
166
|
-
"selections":
|
|
199
|
+
"selections": v5 /*: any*/,
|
|
167
200
|
"storageKey": null
|
|
168
201
|
}, {
|
|
169
202
|
"alias": null,
|
|
@@ -172,7 +205,7 @@ const node = function () {
|
|
|
172
205
|
"kind": "LinkedField",
|
|
173
206
|
"name": "uiFontStyleBold",
|
|
174
207
|
"plural": false,
|
|
175
|
-
"selections":
|
|
208
|
+
"selections": v5 /*: any*/,
|
|
176
209
|
"storageKey": null
|
|
177
210
|
}],
|
|
178
211
|
"storageKey": null
|
|
@@ -181,15 +214,15 @@ const node = function () {
|
|
|
181
214
|
}]
|
|
182
215
|
},
|
|
183
216
|
"params": {
|
|
184
|
-
"cacheID": "
|
|
217
|
+
"cacheID": "80868ea34ee2d45e6e5dd63867b2d4a7",
|
|
185
218
|
"id": null,
|
|
186
219
|
"metadata": {},
|
|
187
220
|
"name": "StoreModalContainerQuery",
|
|
188
221
|
"operationKind": "query",
|
|
189
|
-
"text": "query StoreModalContainerQuery {\n viewer {\n currentOrder {\n orderItems {\n id\n }\n id\n }\n settings {\n uiFontStyle {\n
|
|
222
|
+
"text": "query StoreModalContainerQuery {\n viewer {\n currentOrder {\n orderItems {\n id\n }\n id\n }\n settings {\n uiFontStyle {\n ...useFontStyle_fontStyle\n cssFamily\n name\n id\n }\n uiFontStyleBold {\n ...useFontStyle_fontStyle\n cssFamily\n name\n id\n }\n }\n id\n }\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
190
223
|
}
|
|
191
224
|
};
|
|
192
225
|
}();
|
|
193
|
-
node.hash = "
|
|
226
|
+
node.hash = "ae784b9ab1842dacc5857b045b399701";
|
|
194
227
|
var _default = node;
|
|
195
228
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<5d6e34313ae722e7716a2bf089cac778>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -19,7 +19,6 @@ export type StoreModalFamily_collection$data = {
|
|
|
19
19
|
readonly " $fragmentSpreads": FragmentRefs<"StoreModalBundleButton_bundle">;
|
|
20
20
|
}> | null;
|
|
21
21
|
readonly collectionType: string;
|
|
22
|
-
readonly cssUrl: string | null;
|
|
23
22
|
readonly fontStyles: ReadonlyArray<{
|
|
24
23
|
readonly cssFamily: string | null;
|
|
25
24
|
readonly cssStretch: string | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<5d6e34313ae722e7716a2bf089cac778>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -80,12 +80,6 @@ const node = function () {
|
|
|
80
80
|
"args": v0 /*: any*/,
|
|
81
81
|
"kind": "FragmentSpread",
|
|
82
82
|
"name": "StoreModalFamilyButton_collection"
|
|
83
|
-
}, {
|
|
84
|
-
"alias": null,
|
|
85
|
-
"args": null,
|
|
86
|
-
"kind": "ScalarField",
|
|
87
|
-
"name": "cssUrl",
|
|
88
|
-
"storageKey": null
|
|
89
83
|
}, {
|
|
90
84
|
"alias": null,
|
|
91
85
|
"args": null,
|
|
@@ -131,6 +125,6 @@ const node = function () {
|
|
|
131
125
|
"abstractKey": null
|
|
132
126
|
};
|
|
133
127
|
}();
|
|
134
|
-
node.hash = "
|
|
128
|
+
node.hash = "73d00dd2b57a2b44a86ee085b4313d77";
|
|
135
129
|
var _default = node;
|
|
136
130
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<9634241d4df0b0b783ac8e970e99b739>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -12,9 +12,6 @@ export type StoreModalIndexItem_fontCollection$data = {
|
|
|
12
12
|
}> | null;
|
|
13
13
|
readonly collectionType: string;
|
|
14
14
|
readonly featureStyle: {
|
|
15
|
-
readonly family: {
|
|
16
|
-
readonly cssUrl: string | null;
|
|
17
|
-
} | null;
|
|
18
15
|
readonly supportedLanguages: ReadonlyArray<string> | null;
|
|
19
16
|
readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle">;
|
|
20
17
|
} | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<9634241d4df0b0b783ac8e970e99b739>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -86,21 +86,6 @@ const node = function () {
|
|
|
86
86
|
"kind": "ScalarField",
|
|
87
87
|
"name": "supportedLanguages",
|
|
88
88
|
"storageKey": null
|
|
89
|
-
}, {
|
|
90
|
-
"alias": null,
|
|
91
|
-
"args": null,
|
|
92
|
-
"concreteType": "FontCollection",
|
|
93
|
-
"kind": "LinkedField",
|
|
94
|
-
"name": "family",
|
|
95
|
-
"plural": false,
|
|
96
|
-
"selections": [{
|
|
97
|
-
"alias": null,
|
|
98
|
-
"args": null,
|
|
99
|
-
"kind": "ScalarField",
|
|
100
|
-
"name": "cssUrl",
|
|
101
|
-
"storageKey": null
|
|
102
|
-
}],
|
|
103
|
-
"storageKey": null
|
|
104
89
|
}],
|
|
105
90
|
"storageKey": null
|
|
106
91
|
}],
|
|
@@ -108,6 +93,6 @@ const node = function () {
|
|
|
108
93
|
"abstractKey": null
|
|
109
94
|
};
|
|
110
95
|
}();
|
|
111
|
-
node.hash = "
|
|
96
|
+
node.hash = "8a990fad8dc50c9f00b391902e9bc482";
|
|
112
97
|
var _default = node;
|
|
113
98
|
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<f6fed31e6723d222cf0d687e1013cc38>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -179,23 +179,62 @@ const node = function () {
|
|
|
179
179
|
}, v5 /*: any*/, {
|
|
180
180
|
"alias": null,
|
|
181
181
|
"args": null,
|
|
182
|
-
"
|
|
183
|
-
"
|
|
182
|
+
"concreteType": "WebfontSource",
|
|
183
|
+
"kind": "LinkedField",
|
|
184
|
+
"name": "webfontSources",
|
|
185
|
+
"plural": true,
|
|
186
|
+
"selections": [{
|
|
187
|
+
"alias": null,
|
|
188
|
+
"args": null,
|
|
189
|
+
"kind": "ScalarField",
|
|
190
|
+
"name": "url",
|
|
191
|
+
"storageKey": null
|
|
192
|
+
}, {
|
|
193
|
+
"alias": null,
|
|
194
|
+
"args": null,
|
|
195
|
+
"kind": "ScalarField",
|
|
196
|
+
"name": "format",
|
|
197
|
+
"storageKey": null
|
|
198
|
+
}],
|
|
184
199
|
"storageKey": null
|
|
185
200
|
}, {
|
|
186
201
|
"alias": null,
|
|
187
202
|
"args": null,
|
|
188
|
-
"concreteType": "
|
|
203
|
+
"concreteType": "VerticalMetrics",
|
|
189
204
|
"kind": "LinkedField",
|
|
190
|
-
"name": "
|
|
205
|
+
"name": "verticalMetrics",
|
|
191
206
|
"plural": false,
|
|
192
207
|
"selections": [{
|
|
193
208
|
"alias": null,
|
|
194
209
|
"args": null,
|
|
195
210
|
"kind": "ScalarField",
|
|
196
|
-
"name": "
|
|
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",
|
|
197
224
|
"storageKey": null
|
|
198
|
-
},
|
|
225
|
+
}, {
|
|
226
|
+
"alias": null,
|
|
227
|
+
"args": null,
|
|
228
|
+
"kind": "ScalarField",
|
|
229
|
+
"name": "lineGap",
|
|
230
|
+
"storageKey": null
|
|
231
|
+
}],
|
|
232
|
+
"storageKey": null
|
|
233
|
+
}, {
|
|
234
|
+
"alias": null,
|
|
235
|
+
"args": null,
|
|
236
|
+
"kind": "ScalarField",
|
|
237
|
+
"name": "supportedLanguages",
|
|
199
238
|
"storageKey": null
|
|
200
239
|
}, v2 /*: any*/],
|
|
201
240
|
"storageKey": null
|
|
@@ -210,12 +249,12 @@ const node = function () {
|
|
|
210
249
|
}]
|
|
211
250
|
},
|
|
212
251
|
"params": {
|
|
213
|
-
"cacheID": "
|
|
252
|
+
"cacheID": "6c9f9bd4a6c1817100984d2a29c8017f",
|
|
214
253
|
"id": null,
|
|
215
254
|
"metadata": {},
|
|
216
255
|
"name": "StoreModalIndexQuery",
|
|
217
256
|
"operationKind": "query",
|
|
218
|
-
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 99, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n
|
|
257
|
+
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 99, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\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 useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\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"
|
|
219
258
|
}
|
|
220
259
|
};
|
|
221
260
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<4e14c3e4e437e08b0e34cb3f12daba1a>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -191,27 +191,84 @@ const node = function () {
|
|
|
191
191
|
"alias": null,
|
|
192
192
|
"args": null,
|
|
193
193
|
"kind": "ScalarField",
|
|
194
|
-
"name": "
|
|
194
|
+
"name": "url",
|
|
195
195
|
"storageKey": null
|
|
196
196
|
},
|
|
197
197
|
v28 = {
|
|
198
|
+
"alias": null,
|
|
199
|
+
"args": null,
|
|
200
|
+
"concreteType": "WebfontSource",
|
|
201
|
+
"kind": "LinkedField",
|
|
202
|
+
"name": "webfontSources",
|
|
203
|
+
"plural": true,
|
|
204
|
+
"selections": [v27 /*: any*/, {
|
|
205
|
+
"alias": null,
|
|
206
|
+
"args": null,
|
|
207
|
+
"kind": "ScalarField",
|
|
208
|
+
"name": "format",
|
|
209
|
+
"storageKey": null
|
|
210
|
+
}],
|
|
211
|
+
"storageKey": null
|
|
212
|
+
},
|
|
213
|
+
v29 = {
|
|
214
|
+
"alias": null,
|
|
215
|
+
"args": null,
|
|
216
|
+
"concreteType": "VerticalMetrics",
|
|
217
|
+
"kind": "LinkedField",
|
|
218
|
+
"name": "verticalMetrics",
|
|
219
|
+
"plural": false,
|
|
220
|
+
"selections": [{
|
|
221
|
+
"alias": null,
|
|
222
|
+
"args": null,
|
|
223
|
+
"kind": "ScalarField",
|
|
224
|
+
"name": "unitsPerEm",
|
|
225
|
+
"storageKey": null
|
|
226
|
+
}, {
|
|
227
|
+
"alias": null,
|
|
228
|
+
"args": null,
|
|
229
|
+
"kind": "ScalarField",
|
|
230
|
+
"name": "ascender",
|
|
231
|
+
"storageKey": null
|
|
232
|
+
}, {
|
|
233
|
+
"alias": null,
|
|
234
|
+
"args": null,
|
|
235
|
+
"kind": "ScalarField",
|
|
236
|
+
"name": "descender",
|
|
237
|
+
"storageKey": null
|
|
238
|
+
}, {
|
|
239
|
+
"alias": null,
|
|
240
|
+
"args": null,
|
|
241
|
+
"kind": "ScalarField",
|
|
242
|
+
"name": "lineGap",
|
|
243
|
+
"storageKey": null
|
|
244
|
+
}],
|
|
245
|
+
"storageKey": null
|
|
246
|
+
},
|
|
247
|
+
v30 = {
|
|
248
|
+
"alias": null,
|
|
249
|
+
"args": null,
|
|
250
|
+
"kind": "ScalarField",
|
|
251
|
+
"name": "supportedLanguages",
|
|
252
|
+
"storageKey": null
|
|
253
|
+
},
|
|
254
|
+
v31 = {
|
|
198
255
|
"alias": null,
|
|
199
256
|
"args": null,
|
|
200
257
|
"concreteType": "FontStyle",
|
|
201
258
|
"kind": "LinkedField",
|
|
202
259
|
"name": "featureStyle",
|
|
203
260
|
"plural": false,
|
|
204
|
-
"selections": [v26 /*: any*/, v11 /*: any*/,
|
|
261
|
+
"selections": [v26 /*: any*/, v11 /*: any*/, v28 /*: any*/, v29 /*: any*/, v30 /*: any*/, v4 /*: any*/],
|
|
205
262
|
"storageKey": null
|
|
206
263
|
},
|
|
207
|
-
|
|
264
|
+
v32 = {
|
|
208
265
|
"alias": null,
|
|
209
266
|
"args": null,
|
|
210
267
|
"kind": "ScalarField",
|
|
211
268
|
"name": "totalStyles",
|
|
212
269
|
"storageKey": null
|
|
213
270
|
},
|
|
214
|
-
|
|
271
|
+
v33 = {
|
|
215
272
|
"alias": null,
|
|
216
273
|
"args": null,
|
|
217
274
|
"concreteType": "Money",
|
|
@@ -221,19 +278,12 @@ const node = function () {
|
|
|
221
278
|
"selections": v22 /*: any*/,
|
|
222
279
|
"storageKey": null
|
|
223
280
|
},
|
|
224
|
-
|
|
281
|
+
v34 = [{
|
|
225
282
|
"kind": "Literal",
|
|
226
283
|
"name": "collectionTypes",
|
|
227
284
|
"value": ["FAMILY"]
|
|
228
285
|
}],
|
|
229
|
-
|
|
230
|
-
"alias": null,
|
|
231
|
-
"args": null,
|
|
232
|
-
"kind": "ScalarField",
|
|
233
|
-
"name": "cssUrl",
|
|
234
|
-
"storageKey": null
|
|
235
|
-
},
|
|
236
|
-
v33 = {
|
|
286
|
+
v35 = {
|
|
237
287
|
"alias": null,
|
|
238
288
|
"args": null,
|
|
239
289
|
"concreteType": "FontStyle",
|
|
@@ -252,7 +302,7 @@ const node = function () {
|
|
|
252
302
|
"kind": "ScalarField",
|
|
253
303
|
"name": "cssStretch",
|
|
254
304
|
"storageKey": null
|
|
255
|
-
}, v11 /*: any*/,
|
|
305
|
+
}, v11 /*: any*/, v30 /*: any*/, {
|
|
256
306
|
"alias": null,
|
|
257
307
|
"args": null,
|
|
258
308
|
"concreteType": "VariableInstance",
|
|
@@ -282,10 +332,10 @@ const node = function () {
|
|
|
282
332
|
"storageKey": null
|
|
283
333
|
}],
|
|
284
334
|
"storageKey": null
|
|
285
|
-
}, v23 /*: any*/],
|
|
335
|
+
}, v23 /*: any*/, v28 /*: any*/, v29 /*: any*/],
|
|
286
336
|
"storageKey": null
|
|
287
337
|
},
|
|
288
|
-
|
|
338
|
+
v36 = {
|
|
289
339
|
"alias": null,
|
|
290
340
|
"args": null,
|
|
291
341
|
"concreteType": "Bundle",
|
|
@@ -298,18 +348,18 @@ const node = function () {
|
|
|
298
348
|
"kind": "ScalarField",
|
|
299
349
|
"name": "hidden",
|
|
300
350
|
"storageKey": null
|
|
301
|
-
},
|
|
351
|
+
}, v35 /*: any*/, v11 /*: any*/, v23 /*: any*/],
|
|
302
352
|
"storageKey": null
|
|
303
353
|
},
|
|
304
|
-
|
|
305
|
-
|
|
354
|
+
v37 = [v21 /*: any*/],
|
|
355
|
+
v38 = [v32 /*: any*/, {
|
|
306
356
|
"alias": null,
|
|
307
357
|
"args": v7 /*: any*/,
|
|
308
358
|
"concreteType": "Money",
|
|
309
359
|
"kind": "LinkedField",
|
|
310
360
|
"name": "totalStylesPrice",
|
|
311
361
|
"plural": false,
|
|
312
|
-
"selections":
|
|
362
|
+
"selections": v37 /*: any*/,
|
|
313
363
|
"storageKey": null
|
|
314
364
|
}];
|
|
315
365
|
return {
|
|
@@ -387,38 +437,32 @@ const node = function () {
|
|
|
387
437
|
"abstractKey": "__isNode"
|
|
388
438
|
}, {
|
|
389
439
|
"kind": "InlineFragment",
|
|
390
|
-
"selections": [v19 /*: any*/, v20 /*: any*/, v11 /*: any*/, v23 /*: any*/, v25 /*: any*/,
|
|
440
|
+
"selections": [v19 /*: any*/, v20 /*: any*/, v11 /*: any*/, v23 /*: any*/, v25 /*: any*/, v31 /*: any*/, v32 /*: any*/, v33 /*: any*/, {
|
|
391
441
|
"alias": null,
|
|
392
|
-
"args":
|
|
442
|
+
"args": v34 /*: any*/,
|
|
393
443
|
"concreteType": "FontCollection",
|
|
394
444
|
"kind": "LinkedField",
|
|
395
445
|
"name": "children",
|
|
396
446
|
"plural": true,
|
|
397
|
-
"selections": [v19 /*: any*/,
|
|
447
|
+
"selections": [v19 /*: any*/, v32 /*: any*/, v4 /*: any*/, v20 /*: any*/, v11 /*: any*/, v23 /*: any*/, v25 /*: any*/, v31 /*: any*/, v33 /*: any*/, {
|
|
398
448
|
"alias": null,
|
|
399
|
-
"args":
|
|
449
|
+
"args": v34 /*: any*/,
|
|
400
450
|
"concreteType": "FontCollection",
|
|
401
451
|
"kind": "LinkedField",
|
|
402
452
|
"name": "children",
|
|
403
453
|
"plural": true,
|
|
404
|
-
"selections": [v19 /*: any*/,
|
|
454
|
+
"selections": [v19 /*: any*/, v32 /*: any*/, v4 /*: any*/],
|
|
405
455
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
406
|
-
},
|
|
456
|
+
}, v36 /*: any*/, v35 /*: any*/],
|
|
407
457
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
408
|
-
},
|
|
458
|
+
}, v36 /*: any*/, v35 /*: any*/, {
|
|
409
459
|
"alias": null,
|
|
410
460
|
"args": null,
|
|
411
461
|
"concreteType": "License",
|
|
412
462
|
"kind": "LinkedField",
|
|
413
463
|
"name": "licenses",
|
|
414
464
|
"plural": true,
|
|
415
|
-
"selections": [v4 /*: any*/, {
|
|
416
|
-
"alias": null,
|
|
417
|
-
"args": null,
|
|
418
|
-
"kind": "ScalarField",
|
|
419
|
-
"name": "url",
|
|
420
|
-
"storageKey": null
|
|
421
|
-
}, v11 /*: any*/, {
|
|
465
|
+
"selections": [v4 /*: any*/, v27 /*: any*/, v11 /*: any*/, {
|
|
422
466
|
"alias": null,
|
|
423
467
|
"args": v13 /*: any*/,
|
|
424
468
|
"kind": "ScalarField",
|
|
@@ -595,7 +639,7 @@ const node = function () {
|
|
|
595
639
|
"kind": "LinkedField",
|
|
596
640
|
"name": "price",
|
|
597
641
|
"plural": false,
|
|
598
|
-
"selections":
|
|
642
|
+
"selections": v37 /*: any*/,
|
|
599
643
|
"storageKey": null
|
|
600
644
|
}, {
|
|
601
645
|
"alias": null,
|
|
@@ -606,17 +650,17 @@ const node = function () {
|
|
|
606
650
|
"plural": false,
|
|
607
651
|
"selections": [v18 /*: any*/, {
|
|
608
652
|
"kind": "InlineFragment",
|
|
609
|
-
"selections":
|
|
653
|
+
"selections": v38 /*: any*/,
|
|
610
654
|
"type": "FontCollection",
|
|
611
655
|
"abstractKey": null
|
|
612
656
|
}, {
|
|
613
657
|
"kind": "InlineFragment",
|
|
614
|
-
"selections":
|
|
658
|
+
"selections": v38 /*: any*/,
|
|
615
659
|
"type": "Bundle",
|
|
616
660
|
"abstractKey": null
|
|
617
661
|
}, {
|
|
618
662
|
"kind": "InlineFragment",
|
|
619
|
-
"selections":
|
|
663
|
+
"selections": v38 /*: any*/,
|
|
620
664
|
"type": "CollectionBundle",
|
|
621
665
|
"abstractKey": null
|
|
622
666
|
}, {
|
|
@@ -644,12 +688,12 @@ const node = function () {
|
|
|
644
688
|
}]
|
|
645
689
|
},
|
|
646
690
|
"params": {
|
|
647
|
-
"cacheID": "
|
|
691
|
+
"cacheID": "40d8a2a33826a2d10b1521bccd10681c",
|
|
648
692
|
"id": null,
|
|
649
693
|
"metadata": {},
|
|
650
694
|
"name": "StoreModalProductQuery",
|
|
651
695
|
"operationKind": "query",
|
|
652
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n
|
|
696
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\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 hidden\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 ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\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 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 StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\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 }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\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"
|
|
653
697
|
}
|
|
654
698
|
};
|
|
655
699
|
}();
|