fontdue-js 2.19.2 → 2.20.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 +11 -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 +114 -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<<2a4fb4cee586693d647ab630569263d0>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -191,25 +191,76 @@ const node = function () {
|
|
|
191
191
|
v15 = {
|
|
192
192
|
"alias": null,
|
|
193
193
|
"args": null,
|
|
194
|
-
"
|
|
195
|
-
"
|
|
194
|
+
"concreteType": "WebfontSource",
|
|
195
|
+
"kind": "LinkedField",
|
|
196
|
+
"name": "webfontSources",
|
|
197
|
+
"plural": true,
|
|
198
|
+
"selections": [{
|
|
199
|
+
"alias": null,
|
|
200
|
+
"args": null,
|
|
201
|
+
"kind": "ScalarField",
|
|
202
|
+
"name": "url",
|
|
203
|
+
"storageKey": null
|
|
204
|
+
}, {
|
|
205
|
+
"alias": null,
|
|
206
|
+
"args": null,
|
|
207
|
+
"kind": "ScalarField",
|
|
208
|
+
"name": "format",
|
|
209
|
+
"storageKey": null
|
|
210
|
+
}],
|
|
196
211
|
"storageKey": null
|
|
197
212
|
},
|
|
198
213
|
v16 = {
|
|
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
|
+
v17 = [v14 /*: any*/, v6 /*: any*/, v15 /*: any*/, v16 /*: any*/, v8 /*: any*/],
|
|
248
|
+
v18 = {
|
|
199
249
|
"alias": null,
|
|
200
250
|
"args": null,
|
|
201
251
|
"kind": "ScalarField",
|
|
202
252
|
"name": "totalStyles",
|
|
203
253
|
"storageKey": null
|
|
204
254
|
},
|
|
205
|
-
|
|
255
|
+
v19 = [v6 /*: any*/, v8 /*: any*/],
|
|
256
|
+
v20 = {
|
|
206
257
|
"alias": null,
|
|
207
258
|
"args": null,
|
|
208
259
|
"concreteType": "FontCollection",
|
|
209
260
|
"kind": "LinkedField",
|
|
210
261
|
"name": "fontCollection",
|
|
211
262
|
"plural": false,
|
|
212
|
-
"selections":
|
|
263
|
+
"selections": v19 /*: any*/,
|
|
213
264
|
"storageKey": null
|
|
214
265
|
};
|
|
215
266
|
return {
|
|
@@ -517,16 +568,7 @@ const node = function () {
|
|
|
517
568
|
"kind": "LinkedField",
|
|
518
569
|
"name": "featureStyle",
|
|
519
570
|
"plural": false,
|
|
520
|
-
"selections":
|
|
521
|
-
"alias": null,
|
|
522
|
-
"args": null,
|
|
523
|
-
"concreteType": "FontCollection",
|
|
524
|
-
"kind": "LinkedField",
|
|
525
|
-
"name": "family",
|
|
526
|
-
"plural": false,
|
|
527
|
-
"selections": [v15 /*: any*/, v8 /*: any*/],
|
|
528
|
-
"storageKey": null
|
|
529
|
-
}],
|
|
571
|
+
"selections": v17 /*: any*/,
|
|
530
572
|
"storageKey": null
|
|
531
573
|
}, v6 /*: any*/, {
|
|
532
574
|
"alias": null,
|
|
@@ -534,7 +576,7 @@ const node = function () {
|
|
|
534
576
|
"kind": "ScalarField",
|
|
535
577
|
"name": "isVariableFont",
|
|
536
578
|
"storageKey": null
|
|
537
|
-
},
|
|
579
|
+
}, v18 /*: any*/],
|
|
538
580
|
"type": "FontCollection",
|
|
539
581
|
"abstractKey": null
|
|
540
582
|
}, {
|
|
@@ -546,21 +588,21 @@ const node = function () {
|
|
|
546
588
|
"kind": "LinkedField",
|
|
547
589
|
"name": "fontStyles",
|
|
548
590
|
"plural": true,
|
|
549
|
-
"selections":
|
|
591
|
+
"selections": v17 /*: any*/,
|
|
550
592
|
"storageKey": null
|
|
551
|
-
}, v6 /*: any*/,
|
|
593
|
+
}, v6 /*: any*/, v20 /*: any*/],
|
|
552
594
|
"type": "Bundle",
|
|
553
595
|
"abstractKey": null
|
|
554
596
|
}, {
|
|
555
597
|
"kind": "InlineFragment",
|
|
556
|
-
"selections": [v14 /*: any*/, v6 /*: any*/, {
|
|
598
|
+
"selections": [v14 /*: any*/, v6 /*: any*/, v15 /*: any*/, v16 /*: any*/, {
|
|
557
599
|
"alias": null,
|
|
558
600
|
"args": null,
|
|
559
601
|
"concreteType": "FontCollection",
|
|
560
602
|
"kind": "LinkedField",
|
|
561
603
|
"name": "family",
|
|
562
604
|
"plural": false,
|
|
563
|
-
"selections":
|
|
605
|
+
"selections": v19 /*: any*/,
|
|
564
606
|
"storageKey": null
|
|
565
607
|
}, {
|
|
566
608
|
"alias": null,
|
|
@@ -576,7 +618,7 @@ const node = function () {
|
|
|
576
618
|
"abstractKey": null
|
|
577
619
|
}, {
|
|
578
620
|
"kind": "InlineFragment",
|
|
579
|
-
"selections": [v6 /*: any*/,
|
|
621
|
+
"selections": [v6 /*: any*/, v18 /*: any*/, v20 /*: any*/],
|
|
580
622
|
"type": "CollectionBundle",
|
|
581
623
|
"abstractKey": null
|
|
582
624
|
}, {
|
|
@@ -734,12 +776,12 @@ const node = function () {
|
|
|
734
776
|
}]
|
|
735
777
|
},
|
|
736
778
|
"params": {
|
|
737
|
-
"cacheID": "
|
|
779
|
+
"cacheID": "e6e9274cdb93ee99c9c81bacb1fc5f52",
|
|
738
780
|
"id": null,
|
|
739
781
|
"metadata": {},
|
|
740
782
|
"name": "CartStateUpdateMutation",
|
|
741
783
|
"operationKind": "mutation",
|
|
742
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n ...StoreModalOrderVariableSelection_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\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
|
|
784
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n ...StoreModalOrderVariableSelection_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\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 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 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 FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\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"
|
|
743
785
|
}
|
|
744
786
|
};
|
|
745
787
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<1511fcdc4ad6f5b1d15ecfaf0e0c2de7>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -57,21 +57,21 @@ const node = function () {
|
|
|
57
57
|
"alias": null,
|
|
58
58
|
"args": null,
|
|
59
59
|
"kind": "ScalarField",
|
|
60
|
-
"name": "
|
|
60
|
+
"name": "collectionType",
|
|
61
61
|
"storageKey": null
|
|
62
62
|
},
|
|
63
63
|
v7 = {
|
|
64
64
|
"alias": null,
|
|
65
65
|
"args": null,
|
|
66
66
|
"kind": "ScalarField",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "features",
|
|
68
68
|
"storageKey": null
|
|
69
69
|
},
|
|
70
70
|
v8 = {
|
|
71
71
|
"alias": null,
|
|
72
72
|
"args": null,
|
|
73
73
|
"kind": "ScalarField",
|
|
74
|
-
"name": "
|
|
74
|
+
"name": "cssFamily",
|
|
75
75
|
"storageKey": null
|
|
76
76
|
},
|
|
77
77
|
v9 = {
|
|
@@ -106,20 +106,13 @@ const node = function () {
|
|
|
106
106
|
"storageKey": null
|
|
107
107
|
},
|
|
108
108
|
v10 = {
|
|
109
|
-
"alias": null,
|
|
110
|
-
"args": null,
|
|
111
|
-
"kind": "ScalarField",
|
|
112
|
-
"name": "cssFamily",
|
|
113
|
-
"storageKey": null
|
|
114
|
-
},
|
|
115
|
-
v11 = {
|
|
116
109
|
"alias": null,
|
|
117
110
|
"args": null,
|
|
118
111
|
"concreteType": "FontStyle",
|
|
119
112
|
"kind": "LinkedField",
|
|
120
113
|
"name": "fontStyles",
|
|
121
114
|
"plural": true,
|
|
122
|
-
"selections": [v3 /*: any*/,
|
|
115
|
+
"selections": [v3 /*: any*/, v8 /*: any*/, v4 /*: any*/, v9 /*: any*/],
|
|
123
116
|
"storageKey": null
|
|
124
117
|
};
|
|
125
118
|
return {
|
|
@@ -159,7 +152,7 @@ const node = function () {
|
|
|
159
152
|
"plural": false,
|
|
160
153
|
"selections": [v2 /*: any*/, v3 /*: any*/, {
|
|
161
154
|
"kind": "InlineFragment",
|
|
162
|
-
"selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/,
|
|
155
|
+
"selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, {
|
|
163
156
|
"alias": null,
|
|
164
157
|
"args": null,
|
|
165
158
|
"concreteType": "GlyphGroup",
|
|
@@ -173,7 +166,7 @@ const node = function () {
|
|
|
173
166
|
"kind": "LinkedField",
|
|
174
167
|
"name": "characterSets",
|
|
175
168
|
"plural": true,
|
|
176
|
-
"selections": [
|
|
169
|
+
"selections": [v7 /*: any*/, {
|
|
177
170
|
"alias": null,
|
|
178
171
|
"args": null,
|
|
179
172
|
"concreteType": null,
|
|
@@ -221,20 +214,26 @@ const node = function () {
|
|
|
221
214
|
"kind": "LinkedField",
|
|
222
215
|
"name": "featureStyle",
|
|
223
216
|
"plural": false,
|
|
224
|
-
"selections": [
|
|
217
|
+
"selections": [v8 /*: any*/, v4 /*: any*/, {
|
|
225
218
|
"alias": null,
|
|
226
219
|
"args": null,
|
|
227
|
-
"concreteType": "
|
|
220
|
+
"concreteType": "WebfontSource",
|
|
228
221
|
"kind": "LinkedField",
|
|
229
|
-
"name": "
|
|
222
|
+
"name": "webfontSources",
|
|
230
223
|
"plural": true,
|
|
231
224
|
"selections": [{
|
|
232
225
|
"alias": null,
|
|
233
226
|
"args": null,
|
|
234
227
|
"kind": "ScalarField",
|
|
235
|
-
"name": "
|
|
228
|
+
"name": "url",
|
|
229
|
+
"storageKey": null
|
|
230
|
+
}, {
|
|
231
|
+
"alias": null,
|
|
232
|
+
"args": null,
|
|
233
|
+
"kind": "ScalarField",
|
|
234
|
+
"name": "format",
|
|
236
235
|
"storageKey": null
|
|
237
|
-
}
|
|
236
|
+
}],
|
|
238
237
|
"storageKey": null
|
|
239
238
|
}, {
|
|
240
239
|
"alias": null,
|
|
@@ -265,25 +264,40 @@ const node = function () {
|
|
|
265
264
|
"alias": null,
|
|
266
265
|
"args": null,
|
|
267
266
|
"kind": "ScalarField",
|
|
268
|
-
"name": "
|
|
267
|
+
"name": "lineGap",
|
|
269
268
|
"storageKey": null
|
|
270
269
|
}, {
|
|
271
270
|
"alias": null,
|
|
272
271
|
"args": null,
|
|
273
272
|
"kind": "ScalarField",
|
|
274
|
-
"name": "
|
|
273
|
+
"name": "xHeight",
|
|
275
274
|
"storageKey": null
|
|
276
275
|
}, {
|
|
277
276
|
"alias": null,
|
|
278
277
|
"args": null,
|
|
279
278
|
"kind": "ScalarField",
|
|
280
|
-
"name": "
|
|
279
|
+
"name": "capHeight",
|
|
281
280
|
"storageKey": null
|
|
282
281
|
}],
|
|
283
282
|
"storageKey": null
|
|
283
|
+
}, v9 /*: any*/, {
|
|
284
|
+
"alias": null,
|
|
285
|
+
"args": null,
|
|
286
|
+
"concreteType": "GlyphName",
|
|
287
|
+
"kind": "LinkedField",
|
|
288
|
+
"name": "glyphNames",
|
|
289
|
+
"plural": true,
|
|
290
|
+
"selections": [{
|
|
291
|
+
"alias": null,
|
|
292
|
+
"args": null,
|
|
293
|
+
"kind": "ScalarField",
|
|
294
|
+
"name": "characters",
|
|
295
|
+
"storageKey": null
|
|
296
|
+
}, v7 /*: any*/, v4 /*: any*/],
|
|
297
|
+
"storageKey": null
|
|
284
298
|
}, v3 /*: any*/],
|
|
285
299
|
"storageKey": null
|
|
286
|
-
},
|
|
300
|
+
}, v10 /*: any*/, {
|
|
287
301
|
"alias": null,
|
|
288
302
|
"args": [{
|
|
289
303
|
"kind": "Literal",
|
|
@@ -294,7 +308,7 @@ const node = function () {
|
|
|
294
308
|
"kind": "LinkedField",
|
|
295
309
|
"name": "children",
|
|
296
310
|
"plural": true,
|
|
297
|
-
"selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/,
|
|
311
|
+
"selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v10 /*: any*/],
|
|
298
312
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
299
313
|
}],
|
|
300
314
|
"type": "FontCollection",
|
|
@@ -304,12 +318,12 @@ const node = function () {
|
|
|
304
318
|
}]
|
|
305
319
|
},
|
|
306
320
|
"params": {
|
|
307
|
-
"cacheID": "
|
|
321
|
+
"cacheID": "4ab5999cc9ebb413abd752012f1c8f95",
|
|
308
322
|
"id": null,
|
|
309
323
|
"metadata": {},
|
|
310
324
|
"name": "CharacterViewerIDQuery",
|
|
311
325
|
"operationKind": "query",
|
|
312
|
-
"text": "query CharacterViewerIDQuery(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n id\n name\n isVariableFont\n
|
|
326
|
+
"text": "query CharacterViewerIDQuery(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n id\n name\n isVariableFont\n collectionType\n glyphGroups {\n name\n characterSets {\n features\n characters {\n __typename\n ... on CharacterString {\n string\n }\n ... on CharacterRange {\n first\n last\n }\n }\n }\n }\n featureStyle {\n ...CharacterViewer_style\n id\n }\n fontStyles {\n id\n cssFamily\n name\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n collectionType\n fontStyles {\n id\n cssFamily\n name\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\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"
|
|
313
327
|
}
|
|
314
328
|
};
|
|
315
329
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<70ba5f315d51fd9508fe1fdaa2079170>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -50,21 +50,21 @@ const node = function () {
|
|
|
50
50
|
"alias": null,
|
|
51
51
|
"args": null,
|
|
52
52
|
"kind": "ScalarField",
|
|
53
|
-
"name": "
|
|
53
|
+
"name": "collectionType",
|
|
54
54
|
"storageKey": null
|
|
55
55
|
},
|
|
56
56
|
v6 = {
|
|
57
57
|
"alias": null,
|
|
58
58
|
"args": null,
|
|
59
59
|
"kind": "ScalarField",
|
|
60
|
-
"name": "
|
|
60
|
+
"name": "features",
|
|
61
61
|
"storageKey": null
|
|
62
62
|
},
|
|
63
63
|
v7 = {
|
|
64
64
|
"alias": null,
|
|
65
65
|
"args": null,
|
|
66
66
|
"kind": "ScalarField",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "cssFamily",
|
|
68
68
|
"storageKey": null
|
|
69
69
|
},
|
|
70
70
|
v8 = {
|
|
@@ -99,20 +99,13 @@ const node = function () {
|
|
|
99
99
|
"storageKey": null
|
|
100
100
|
},
|
|
101
101
|
v9 = {
|
|
102
|
-
"alias": null,
|
|
103
|
-
"args": null,
|
|
104
|
-
"kind": "ScalarField",
|
|
105
|
-
"name": "cssFamily",
|
|
106
|
-
"storageKey": null
|
|
107
|
-
},
|
|
108
|
-
v10 = {
|
|
109
102
|
"alias": null,
|
|
110
103
|
"args": null,
|
|
111
104
|
"concreteType": "FontStyle",
|
|
112
105
|
"kind": "LinkedField",
|
|
113
106
|
"name": "fontStyles",
|
|
114
107
|
"plural": true,
|
|
115
|
-
"selections": [v2 /*: any*/,
|
|
108
|
+
"selections": [v2 /*: any*/, v7 /*: any*/, v3 /*: any*/, v8 /*: any*/],
|
|
116
109
|
"storageKey": null
|
|
117
110
|
};
|
|
118
111
|
return {
|
|
@@ -182,7 +175,7 @@ const node = function () {
|
|
|
182
175
|
"kind": "LinkedField",
|
|
183
176
|
"name": "fontCollection",
|
|
184
177
|
"plural": false,
|
|
185
|
-
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/,
|
|
178
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, {
|
|
186
179
|
"alias": null,
|
|
187
180
|
"args": null,
|
|
188
181
|
"concreteType": "GlyphGroup",
|
|
@@ -196,7 +189,7 @@ const node = function () {
|
|
|
196
189
|
"kind": "LinkedField",
|
|
197
190
|
"name": "characterSets",
|
|
198
191
|
"plural": true,
|
|
199
|
-
"selections": [
|
|
192
|
+
"selections": [v6 /*: any*/, {
|
|
200
193
|
"alias": null,
|
|
201
194
|
"args": null,
|
|
202
195
|
"concreteType": null,
|
|
@@ -250,20 +243,26 @@ const node = function () {
|
|
|
250
243
|
"kind": "LinkedField",
|
|
251
244
|
"name": "featureStyle",
|
|
252
245
|
"plural": false,
|
|
253
|
-
"selections": [
|
|
246
|
+
"selections": [v7 /*: any*/, v3 /*: any*/, {
|
|
254
247
|
"alias": null,
|
|
255
248
|
"args": null,
|
|
256
|
-
"concreteType": "
|
|
249
|
+
"concreteType": "WebfontSource",
|
|
257
250
|
"kind": "LinkedField",
|
|
258
|
-
"name": "
|
|
251
|
+
"name": "webfontSources",
|
|
259
252
|
"plural": true,
|
|
260
253
|
"selections": [{
|
|
261
254
|
"alias": null,
|
|
262
255
|
"args": null,
|
|
263
256
|
"kind": "ScalarField",
|
|
264
|
-
"name": "
|
|
257
|
+
"name": "url",
|
|
258
|
+
"storageKey": null
|
|
259
|
+
}, {
|
|
260
|
+
"alias": null,
|
|
261
|
+
"args": null,
|
|
262
|
+
"kind": "ScalarField",
|
|
263
|
+
"name": "format",
|
|
265
264
|
"storageKey": null
|
|
266
|
-
}
|
|
265
|
+
}],
|
|
267
266
|
"storageKey": null
|
|
268
267
|
}, {
|
|
269
268
|
"alias": null,
|
|
@@ -294,25 +293,40 @@ const node = function () {
|
|
|
294
293
|
"alias": null,
|
|
295
294
|
"args": null,
|
|
296
295
|
"kind": "ScalarField",
|
|
297
|
-
"name": "
|
|
296
|
+
"name": "lineGap",
|
|
298
297
|
"storageKey": null
|
|
299
298
|
}, {
|
|
300
299
|
"alias": null,
|
|
301
300
|
"args": null,
|
|
302
301
|
"kind": "ScalarField",
|
|
303
|
-
"name": "
|
|
302
|
+
"name": "xHeight",
|
|
304
303
|
"storageKey": null
|
|
305
304
|
}, {
|
|
306
305
|
"alias": null,
|
|
307
306
|
"args": null,
|
|
308
307
|
"kind": "ScalarField",
|
|
309
|
-
"name": "
|
|
308
|
+
"name": "capHeight",
|
|
310
309
|
"storageKey": null
|
|
311
310
|
}],
|
|
312
311
|
"storageKey": null
|
|
312
|
+
}, v8 /*: any*/, {
|
|
313
|
+
"alias": null,
|
|
314
|
+
"args": null,
|
|
315
|
+
"concreteType": "GlyphName",
|
|
316
|
+
"kind": "LinkedField",
|
|
317
|
+
"name": "glyphNames",
|
|
318
|
+
"plural": true,
|
|
319
|
+
"selections": [{
|
|
320
|
+
"alias": null,
|
|
321
|
+
"args": null,
|
|
322
|
+
"kind": "ScalarField",
|
|
323
|
+
"name": "characters",
|
|
324
|
+
"storageKey": null
|
|
325
|
+
}, v6 /*: any*/, v3 /*: any*/],
|
|
326
|
+
"storageKey": null
|
|
313
327
|
}, v2 /*: any*/],
|
|
314
328
|
"storageKey": null
|
|
315
|
-
},
|
|
329
|
+
}, v9 /*: any*/, {
|
|
316
330
|
"alias": null,
|
|
317
331
|
"args": [{
|
|
318
332
|
"kind": "Literal",
|
|
@@ -323,7 +337,7 @@ const node = function () {
|
|
|
323
337
|
"kind": "LinkedField",
|
|
324
338
|
"name": "children",
|
|
325
339
|
"plural": true,
|
|
326
|
-
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/,
|
|
340
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v9 /*: any*/],
|
|
327
341
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
328
342
|
}],
|
|
329
343
|
"storageKey": null
|
|
@@ -334,12 +348,12 @@ const node = function () {
|
|
|
334
348
|
}]
|
|
335
349
|
},
|
|
336
350
|
"params": {
|
|
337
|
-
"cacheID": "
|
|
351
|
+
"cacheID": "cff5cee922cd89bb6dda8484ec2fd907",
|
|
338
352
|
"id": null,
|
|
339
353
|
"metadata": {},
|
|
340
354
|
"name": "CharacterViewerSlugQuery",
|
|
341
355
|
"operationKind": "query",
|
|
342
|
-
"text": "query CharacterViewerSlugQuery(\n $collectionSlug: String!\n) {\n viewer {\n slug(name: $collectionSlug) {\n fontCollection {\n ...CharacterViewer_collection\n id\n }\n id\n }\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n id\n name\n isVariableFont\n
|
|
356
|
+
"text": "query CharacterViewerSlugQuery(\n $collectionSlug: String!\n) {\n viewer {\n slug(name: $collectionSlug) {\n fontCollection {\n ...CharacterViewer_collection\n id\n }\n id\n }\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n id\n name\n isVariableFont\n collectionType\n glyphGroups {\n name\n characterSets {\n features\n characters {\n __typename\n ... on CharacterString {\n string\n }\n ... on CharacterRange {\n first\n last\n }\n }\n }\n }\n featureStyle {\n ...CharacterViewer_style\n id\n }\n fontStyles {\n id\n cssFamily\n name\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n collectionType\n fontStyles {\n id\n cssFamily\n name\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\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"
|
|
343
357
|
}
|
|
344
358
|
};
|
|
345
359
|
}();
|