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<<fad45233e4985cddbaf6a55cd6110ff5>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -82,36 +82,6 @@ const node = function () {
|
|
|
82
82
|
}, {
|
|
83
83
|
"kind": "InlineFragment",
|
|
84
84
|
"selections": [{
|
|
85
|
-
"alias": null,
|
|
86
|
-
"args": null,
|
|
87
|
-
"concreteType": "VariableInstance",
|
|
88
|
-
"kind": "LinkedField",
|
|
89
|
-
"name": "variableInstances",
|
|
90
|
-
"plural": true,
|
|
91
|
-
"selections": [v2 /*: any*/, {
|
|
92
|
-
"alias": null,
|
|
93
|
-
"args": null,
|
|
94
|
-
"concreteType": "VariableSetting",
|
|
95
|
-
"kind": "LinkedField",
|
|
96
|
-
"name": "coordinates",
|
|
97
|
-
"plural": true,
|
|
98
|
-
"selections": [{
|
|
99
|
-
"alias": null,
|
|
100
|
-
"args": null,
|
|
101
|
-
"kind": "ScalarField",
|
|
102
|
-
"name": "axis",
|
|
103
|
-
"storageKey": null
|
|
104
|
-
}, {
|
|
105
|
-
"alias": null,
|
|
106
|
-
"args": null,
|
|
107
|
-
"kind": "ScalarField",
|
|
108
|
-
"name": "value",
|
|
109
|
-
"storageKey": null
|
|
110
|
-
}],
|
|
111
|
-
"storageKey": null
|
|
112
|
-
}],
|
|
113
|
-
"storageKey": null
|
|
114
|
-
}, {
|
|
115
85
|
"alias": null,
|
|
116
86
|
"args": null,
|
|
117
87
|
"kind": "ScalarField",
|
|
@@ -120,23 +90,23 @@ const node = function () {
|
|
|
120
90
|
}, v2 /*: any*/, {
|
|
121
91
|
"alias": null,
|
|
122
92
|
"args": null,
|
|
123
|
-
"concreteType": "
|
|
93
|
+
"concreteType": "WebfontSource",
|
|
124
94
|
"kind": "LinkedField",
|
|
125
|
-
"name": "
|
|
95
|
+
"name": "webfontSources",
|
|
126
96
|
"plural": true,
|
|
127
97
|
"selections": [{
|
|
128
98
|
"alias": null,
|
|
129
99
|
"args": null,
|
|
130
100
|
"kind": "ScalarField",
|
|
131
|
-
"name": "
|
|
101
|
+
"name": "url",
|
|
132
102
|
"storageKey": null
|
|
133
103
|
}, {
|
|
134
104
|
"alias": null,
|
|
135
105
|
"args": null,
|
|
136
106
|
"kind": "ScalarField",
|
|
137
|
-
"name": "
|
|
107
|
+
"name": "format",
|
|
138
108
|
"storageKey": null
|
|
139
|
-
}
|
|
109
|
+
}],
|
|
140
110
|
"storageKey": null
|
|
141
111
|
}, {
|
|
142
112
|
"alias": null,
|
|
@@ -163,6 +133,12 @@ const node = function () {
|
|
|
163
133
|
"kind": "ScalarField",
|
|
164
134
|
"name": "descender",
|
|
165
135
|
"storageKey": null
|
|
136
|
+
}, {
|
|
137
|
+
"alias": null,
|
|
138
|
+
"args": null,
|
|
139
|
+
"kind": "ScalarField",
|
|
140
|
+
"name": "lineGap",
|
|
141
|
+
"storageKey": null
|
|
166
142
|
}, {
|
|
167
143
|
"alias": null,
|
|
168
144
|
"args": null,
|
|
@@ -175,13 +151,58 @@ const node = function () {
|
|
|
175
151
|
"kind": "ScalarField",
|
|
176
152
|
"name": "capHeight",
|
|
177
153
|
"storageKey": null
|
|
154
|
+
}],
|
|
155
|
+
"storageKey": null
|
|
156
|
+
}, {
|
|
157
|
+
"alias": null,
|
|
158
|
+
"args": null,
|
|
159
|
+
"concreteType": "VariableInstance",
|
|
160
|
+
"kind": "LinkedField",
|
|
161
|
+
"name": "variableInstances",
|
|
162
|
+
"plural": true,
|
|
163
|
+
"selections": [v2 /*: any*/, {
|
|
164
|
+
"alias": null,
|
|
165
|
+
"args": null,
|
|
166
|
+
"concreteType": "VariableSetting",
|
|
167
|
+
"kind": "LinkedField",
|
|
168
|
+
"name": "coordinates",
|
|
169
|
+
"plural": true,
|
|
170
|
+
"selections": [{
|
|
171
|
+
"alias": null,
|
|
172
|
+
"args": null,
|
|
173
|
+
"kind": "ScalarField",
|
|
174
|
+
"name": "axis",
|
|
175
|
+
"storageKey": null
|
|
176
|
+
}, {
|
|
177
|
+
"alias": null,
|
|
178
|
+
"args": null,
|
|
179
|
+
"kind": "ScalarField",
|
|
180
|
+
"name": "value",
|
|
181
|
+
"storageKey": null
|
|
182
|
+
}],
|
|
183
|
+
"storageKey": null
|
|
184
|
+
}],
|
|
185
|
+
"storageKey": null
|
|
186
|
+
}, {
|
|
187
|
+
"alias": null,
|
|
188
|
+
"args": null,
|
|
189
|
+
"concreteType": "GlyphName",
|
|
190
|
+
"kind": "LinkedField",
|
|
191
|
+
"name": "glyphNames",
|
|
192
|
+
"plural": true,
|
|
193
|
+
"selections": [{
|
|
194
|
+
"alias": null,
|
|
195
|
+
"args": null,
|
|
196
|
+
"kind": "ScalarField",
|
|
197
|
+
"name": "characters",
|
|
198
|
+
"storageKey": null
|
|
178
199
|
}, {
|
|
179
200
|
"alias": null,
|
|
180
201
|
"args": null,
|
|
181
202
|
"kind": "ScalarField",
|
|
182
|
-
"name": "
|
|
203
|
+
"name": "features",
|
|
183
204
|
"storageKey": null
|
|
184
|
-
}],
|
|
205
|
+
}, v2 /*: any*/],
|
|
185
206
|
"storageKey": null
|
|
186
207
|
}],
|
|
187
208
|
"type": "FontStyle",
|
|
@@ -191,15 +212,15 @@ const node = function () {
|
|
|
191
212
|
}]
|
|
192
213
|
},
|
|
193
214
|
"params": {
|
|
194
|
-
"cacheID": "
|
|
215
|
+
"cacheID": "2e98af8f2c35418dc90274d3bd4c7faa",
|
|
195
216
|
"id": null,
|
|
196
217
|
"metadata": {},
|
|
197
218
|
"name": "CharacterViewerStyleRefetchQuery",
|
|
198
219
|
"operationKind": "query",
|
|
199
|
-
"text": "query CharacterViewerStyleRefetchQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...CharacterViewer_style\n id\n }\n}\n\nfragment CharacterViewer_style on FontStyle {\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n cssFamily\n name\n glyphNames {\n characters\n features\n name\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n id\n}\n"
|
|
220
|
+
"text": "query CharacterViewerStyleRefetchQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...CharacterViewer_style\n id\n }\n}\n\nfragment CharacterViewer_style on FontStyle {\n ...useFontStyle_fontStyle\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n cssFamily\n name\n glyphNames {\n characters\n features\n name\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n id\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"
|
|
200
221
|
}
|
|
201
222
|
};
|
|
202
223
|
}();
|
|
203
|
-
node.hash = "
|
|
224
|
+
node.hash = "8cbf3328030930b88b3ec3601aaf7c45";
|
|
204
225
|
var _default = node;
|
|
205
226
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<09e7fe4273669b018041bf75904073c2>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -8,7 +8,6 @@ import { FragmentRefs } from "relay-runtime";
|
|
|
8
8
|
export type CharacterViewer_collection$data = {
|
|
9
9
|
readonly children: ReadonlyArray<{
|
|
10
10
|
readonly collectionType: string;
|
|
11
|
-
readonly cssUrl: string | null;
|
|
12
11
|
readonly fontStyles: ReadonlyArray<{
|
|
13
12
|
readonly cssFamily: string | null;
|
|
14
13
|
readonly id: string;
|
|
@@ -26,7 +25,6 @@ export type CharacterViewer_collection$data = {
|
|
|
26
25
|
readonly name: string;
|
|
27
26
|
}> | null;
|
|
28
27
|
readonly collectionType: string;
|
|
29
|
-
readonly cssUrl: string | null;
|
|
30
28
|
readonly featureStyle: {
|
|
31
29
|
readonly " $fragmentSpreads": FragmentRefs<"CharacterViewer_style">;
|
|
32
30
|
} | 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<<09e7fe4273669b018041bf75904073c2>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -37,20 +37,13 @@ const node = function () {
|
|
|
37
37
|
"storageKey": null
|
|
38
38
|
},
|
|
39
39
|
v3 = {
|
|
40
|
-
"alias": null,
|
|
41
|
-
"args": null,
|
|
42
|
-
"kind": "ScalarField",
|
|
43
|
-
"name": "cssUrl",
|
|
44
|
-
"storageKey": null
|
|
45
|
-
},
|
|
46
|
-
v4 = {
|
|
47
40
|
"alias": null,
|
|
48
41
|
"args": null,
|
|
49
42
|
"kind": "ScalarField",
|
|
50
43
|
"name": "collectionType",
|
|
51
44
|
"storageKey": null
|
|
52
45
|
},
|
|
53
|
-
|
|
46
|
+
v4 = {
|
|
54
47
|
"alias": null,
|
|
55
48
|
"args": null,
|
|
56
49
|
"concreteType": "FontStyle",
|
|
@@ -101,7 +94,7 @@ const node = function () {
|
|
|
101
94
|
"kind": "Fragment",
|
|
102
95
|
"metadata": null,
|
|
103
96
|
"name": "CharacterViewer_collection",
|
|
104
|
-
"selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/,
|
|
97
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, {
|
|
105
98
|
"alias": null,
|
|
106
99
|
"args": null,
|
|
107
100
|
"concreteType": "GlyphGroup",
|
|
@@ -181,7 +174,7 @@ const node = function () {
|
|
|
181
174
|
"name": "CharacterViewer_style"
|
|
182
175
|
}],
|
|
183
176
|
"storageKey": null
|
|
184
|
-
},
|
|
177
|
+
}, v4 /*: any*/, {
|
|
185
178
|
"alias": null,
|
|
186
179
|
"args": [{
|
|
187
180
|
"kind": "Literal",
|
|
@@ -192,13 +185,13 @@ const node = function () {
|
|
|
192
185
|
"kind": "LinkedField",
|
|
193
186
|
"name": "children",
|
|
194
187
|
"plural": true,
|
|
195
|
-
"selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, v4 /*: any
|
|
188
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, v4 /*: any*/],
|
|
196
189
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
197
190
|
}],
|
|
198
191
|
"type": "FontCollection",
|
|
199
192
|
"abstractKey": null
|
|
200
193
|
};
|
|
201
194
|
}();
|
|
202
|
-
node.hash = "
|
|
195
|
+
node.hash = "c2116c3c2c795e5306c3a2a0ecd60137";
|
|
203
196
|
var _default = node;
|
|
204
197
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<0eceb81d9650cadec3adfd3ecddad4d5>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -7,7 +7,6 @@ import { ReaderFragment } from 'relay-runtime';
|
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type CharacterViewer_family$data = {
|
|
9
9
|
readonly collectionType: string;
|
|
10
|
-
readonly cssUrl: string | null;
|
|
11
10
|
readonly fontStyles: ReadonlyArray<{
|
|
12
11
|
readonly cssFamily: string | null;
|
|
13
12
|
readonly id: string;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<0eceb81d9650cadec3adfd3ecddad4d5>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -40,12 +40,6 @@ const node = function () {
|
|
|
40
40
|
"kind": "ScalarField",
|
|
41
41
|
"name": "isVariableFont",
|
|
42
42
|
"storageKey": null
|
|
43
|
-
}, {
|
|
44
|
-
"alias": null,
|
|
45
|
-
"args": null,
|
|
46
|
-
"kind": "ScalarField",
|
|
47
|
-
"name": "cssUrl",
|
|
48
|
-
"storageKey": null
|
|
49
43
|
}, {
|
|
50
44
|
"alias": null,
|
|
51
45
|
"args": null,
|
|
@@ -102,6 +96,6 @@ const node = function () {
|
|
|
102
96
|
"abstractKey": null
|
|
103
97
|
};
|
|
104
98
|
}();
|
|
105
|
-
node.hash = "
|
|
99
|
+
node.hash = "162b1a99fe187b20ee8560018cd5b3ce";
|
|
106
100
|
var _default = node;
|
|
107
101
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<a44f8429fa268fcdaadf09a4628fcab1>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -29,6 +29,7 @@ export type CharacterViewer_style$data = {
|
|
|
29
29
|
readonly unitsPerEm: number;
|
|
30
30
|
readonly xHeight: number | null;
|
|
31
31
|
};
|
|
32
|
+
readonly " $fragmentSpreads": FragmentRefs<"useFontStyle_fontStyle">;
|
|
32
33
|
readonly " $fragmentType": "CharacterViewer_style";
|
|
33
34
|
};
|
|
34
35
|
export type CharacterViewer_style$key = {
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _CharacterViewerStyleRefetchQuery = _interopRequireDefault(require("./CharacterViewerStyleRefetchQuery.graphql"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
/**
|
|
10
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<a44f8429fa268fcdaadf09a4628fcab1>>
|
|
11
11
|
* @lightSyntaxTransform
|
|
12
12
|
* @nogrep
|
|
13
13
|
*/
|
|
@@ -40,6 +40,10 @@ const node = function () {
|
|
|
40
40
|
},
|
|
41
41
|
"name": "CharacterViewer_style",
|
|
42
42
|
"selections": [{
|
|
43
|
+
"args": null,
|
|
44
|
+
"kind": "FragmentSpread",
|
|
45
|
+
"name": "useFontStyle_fontStyle"
|
|
46
|
+
}, {
|
|
43
47
|
"alias": null,
|
|
44
48
|
"args": null,
|
|
45
49
|
"concreteType": "VariableInstance",
|
|
@@ -152,6 +156,6 @@ const node = function () {
|
|
|
152
156
|
"abstractKey": null
|
|
153
157
|
};
|
|
154
158
|
}();
|
|
155
|
-
node.hash = "
|
|
159
|
+
node.hash = "8cbf3328030930b88b3ec3601aaf7c45";
|
|
156
160
|
var _default = node;
|
|
157
161
|
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<<7b139b897df755131705ee705f36cb11>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -158,25 +158,76 @@ const node = function () {
|
|
|
158
158
|
v12 = {
|
|
159
159
|
"alias": null,
|
|
160
160
|
"args": null,
|
|
161
|
-
"
|
|
162
|
-
"
|
|
161
|
+
"concreteType": "WebfontSource",
|
|
162
|
+
"kind": "LinkedField",
|
|
163
|
+
"name": "webfontSources",
|
|
164
|
+
"plural": true,
|
|
165
|
+
"selections": [{
|
|
166
|
+
"alias": null,
|
|
167
|
+
"args": null,
|
|
168
|
+
"kind": "ScalarField",
|
|
169
|
+
"name": "url",
|
|
170
|
+
"storageKey": null
|
|
171
|
+
}, {
|
|
172
|
+
"alias": null,
|
|
173
|
+
"args": null,
|
|
174
|
+
"kind": "ScalarField",
|
|
175
|
+
"name": "format",
|
|
176
|
+
"storageKey": null
|
|
177
|
+
}],
|
|
163
178
|
"storageKey": null
|
|
164
179
|
},
|
|
165
180
|
v13 = {
|
|
181
|
+
"alias": null,
|
|
182
|
+
"args": null,
|
|
183
|
+
"concreteType": "VerticalMetrics",
|
|
184
|
+
"kind": "LinkedField",
|
|
185
|
+
"name": "verticalMetrics",
|
|
186
|
+
"plural": false,
|
|
187
|
+
"selections": [{
|
|
188
|
+
"alias": null,
|
|
189
|
+
"args": null,
|
|
190
|
+
"kind": "ScalarField",
|
|
191
|
+
"name": "unitsPerEm",
|
|
192
|
+
"storageKey": null
|
|
193
|
+
}, {
|
|
194
|
+
"alias": null,
|
|
195
|
+
"args": null,
|
|
196
|
+
"kind": "ScalarField",
|
|
197
|
+
"name": "ascender",
|
|
198
|
+
"storageKey": null
|
|
199
|
+
}, {
|
|
200
|
+
"alias": null,
|
|
201
|
+
"args": null,
|
|
202
|
+
"kind": "ScalarField",
|
|
203
|
+
"name": "descender",
|
|
204
|
+
"storageKey": null
|
|
205
|
+
}, {
|
|
206
|
+
"alias": null,
|
|
207
|
+
"args": null,
|
|
208
|
+
"kind": "ScalarField",
|
|
209
|
+
"name": "lineGap",
|
|
210
|
+
"storageKey": null
|
|
211
|
+
}],
|
|
212
|
+
"storageKey": null
|
|
213
|
+
},
|
|
214
|
+
v14 = [v11 /*: any*/, v2 /*: any*/, v12 /*: any*/, v13 /*: any*/, v4 /*: any*/],
|
|
215
|
+
v15 = {
|
|
166
216
|
"alias": null,
|
|
167
217
|
"args": null,
|
|
168
218
|
"kind": "ScalarField",
|
|
169
219
|
"name": "totalStyles",
|
|
170
220
|
"storageKey": null
|
|
171
221
|
},
|
|
172
|
-
|
|
222
|
+
v16 = [v2 /*: any*/, v4 /*: any*/],
|
|
223
|
+
v17 = {
|
|
173
224
|
"alias": null,
|
|
174
225
|
"args": null,
|
|
175
226
|
"concreteType": "FontCollection",
|
|
176
227
|
"kind": "LinkedField",
|
|
177
228
|
"name": "fontCollection",
|
|
178
229
|
"plural": false,
|
|
179
|
-
"selections":
|
|
230
|
+
"selections": v16 /*: any*/,
|
|
180
231
|
"storageKey": null
|
|
181
232
|
};
|
|
182
233
|
return {
|
|
@@ -533,16 +584,7 @@ const node = function () {
|
|
|
533
584
|
"kind": "LinkedField",
|
|
534
585
|
"name": "featureStyle",
|
|
535
586
|
"plural": false,
|
|
536
|
-
"selections":
|
|
537
|
-
"alias": null,
|
|
538
|
-
"args": null,
|
|
539
|
-
"concreteType": "FontCollection",
|
|
540
|
-
"kind": "LinkedField",
|
|
541
|
-
"name": "family",
|
|
542
|
-
"plural": false,
|
|
543
|
-
"selections": [v12 /*: any*/, v4 /*: any*/],
|
|
544
|
-
"storageKey": null
|
|
545
|
-
}],
|
|
587
|
+
"selections": v14 /*: any*/,
|
|
546
588
|
"storageKey": null
|
|
547
589
|
}, v2 /*: any*/, {
|
|
548
590
|
"alias": null,
|
|
@@ -550,7 +592,7 @@ const node = function () {
|
|
|
550
592
|
"kind": "ScalarField",
|
|
551
593
|
"name": "isVariableFont",
|
|
552
594
|
"storageKey": null
|
|
553
|
-
},
|
|
595
|
+
}, v15 /*: any*/],
|
|
554
596
|
"type": "FontCollection",
|
|
555
597
|
"abstractKey": null
|
|
556
598
|
}, {
|
|
@@ -562,21 +604,21 @@ const node = function () {
|
|
|
562
604
|
"kind": "LinkedField",
|
|
563
605
|
"name": "fontStyles",
|
|
564
606
|
"plural": true,
|
|
565
|
-
"selections":
|
|
607
|
+
"selections": v14 /*: any*/,
|
|
566
608
|
"storageKey": null
|
|
567
|
-
}, v2 /*: any*/,
|
|
609
|
+
}, v2 /*: any*/, v17 /*: any*/],
|
|
568
610
|
"type": "Bundle",
|
|
569
611
|
"abstractKey": null
|
|
570
612
|
}, {
|
|
571
613
|
"kind": "InlineFragment",
|
|
572
|
-
"selections": [v11 /*: any*/, v2 /*: any*/, {
|
|
614
|
+
"selections": [v11 /*: any*/, v2 /*: any*/, v12 /*: any*/, v13 /*: any*/, {
|
|
573
615
|
"alias": null,
|
|
574
616
|
"args": null,
|
|
575
617
|
"concreteType": "FontCollection",
|
|
576
618
|
"kind": "LinkedField",
|
|
577
619
|
"name": "family",
|
|
578
620
|
"plural": false,
|
|
579
|
-
"selections":
|
|
621
|
+
"selections": v16 /*: any*/,
|
|
580
622
|
"storageKey": null
|
|
581
623
|
}, {
|
|
582
624
|
"alias": null,
|
|
@@ -592,7 +634,7 @@ const node = function () {
|
|
|
592
634
|
"abstractKey": null
|
|
593
635
|
}, {
|
|
594
636
|
"kind": "InlineFragment",
|
|
595
|
-
"selections": [v2 /*: any*/,
|
|
637
|
+
"selections": [v2 /*: any*/, v15 /*: any*/, v17 /*: any*/],
|
|
596
638
|
"type": "CollectionBundle",
|
|
597
639
|
"abstractKey": null
|
|
598
640
|
}, {
|
|
@@ -714,12 +756,12 @@ const node = function () {
|
|
|
714
756
|
}]
|
|
715
757
|
},
|
|
716
758
|
"params": {
|
|
717
|
-
"cacheID": "
|
|
759
|
+
"cacheID": "44d92926f9de9d0b3a3cf59ba140f5d3",
|
|
718
760
|
"id": null,
|
|
719
761
|
"metadata": {},
|
|
720
762
|
"name": "CheckoutUpdateCustomerMutation",
|
|
721
763
|
"operationKind": "mutation",
|
|
722
|
-
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n
|
|
764
|
+
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\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"
|
|
723
765
|
}
|
|
724
766
|
};
|
|
725
767
|
}();
|