fontdue-js 2.4.1 → 2.6.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.
Files changed (119) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/__generated__/AddToCartBannerQuery.graphql.js +0 -6
  3. package/dist/__generated__/AddToCartBanner_item.graphql.js +0 -1
  4. package/dist/__generated__/AddToCartBanner_order.graphql.js +0 -1
  5. package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +0 -3
  6. package/dist/__generated__/AddressFields_viewer.graphql.js +0 -2
  7. package/dist/__generated__/BuyButtonIDQuery.graphql.js +0 -2
  8. package/dist/__generated__/BuyButtonSlugQuery.graphql.js +0 -4
  9. package/dist/__generated__/BuyButton_collection.graphql.js +0 -2
  10. package/dist/__generated__/CartButtonQuery.graphql.js +0 -3
  11. package/dist/__generated__/CartItem_license.graphql.js +0 -1
  12. package/dist/__generated__/CartItem_licenseSelection.graphql.js +0 -1
  13. package/dist/__generated__/CartItem_node.graphql.js +0 -3
  14. package/dist/__generated__/CartItem_product.graphql.js +0 -3
  15. package/dist/__generated__/CartItem_variable.graphql.js +0 -1
  16. package/dist/__generated__/CartItem_viewer.graphql.js +0 -1
  17. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +0 -14
  18. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +0 -10
  19. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +0 -12
  20. package/dist/__generated__/CartQuery.graphql.js +0 -13
  21. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +0 -3
  22. package/dist/__generated__/CartStateUpdateMutation.graphql.js +0 -12
  23. package/dist/__generated__/CartState_order.graphql.js +0 -1
  24. package/dist/__generated__/CartTotals_order.graphql.js +0 -1
  25. package/dist/__generated__/CharacterViewerIDQuery.graphql.d.ts +1 -1
  26. package/dist/__generated__/CharacterViewerIDQuery.graphql.js +65 -15
  27. package/dist/__generated__/CharacterViewerSlugQuery.graphql.d.ts +1 -1
  28. package/dist/__generated__/CharacterViewerSlugQuery.graphql.js +65 -17
  29. package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +27 -1
  30. package/dist/__generated__/CharacterViewer_collection.graphql.js +63 -13
  31. package/dist/__generated__/CharacterViewer_family.graphql.d.ts +14 -1
  32. package/dist/__generated__/CharacterViewer_family.graphql.js +66 -13
  33. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +0 -10
  34. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +0 -12
  35. package/dist/__generated__/CollectionAa_Query.graphql.js +0 -1
  36. package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +0 -3
  37. package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +0 -3
  38. package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +0 -1
  39. package/dist/__generated__/DownloadRefetchQuery.graphql.js +0 -1
  40. package/dist/__generated__/Family_node.graphql.js +0 -2
  41. package/dist/__generated__/FontFamiliesQuery.graphql.js +0 -7
  42. package/dist/__generated__/License_node.graphql.d.ts +2 -1
  43. package/dist/__generated__/License_node.graphql.js +13 -4
  44. package/dist/__generated__/NewsletterSignupQuery.graphql.js +0 -1
  45. package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.js +0 -1
  46. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +0 -10
  47. package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
  48. package/dist/__generated__/PrecartQuery.graphql.js +14 -11
  49. package/dist/__generated__/Precart_license.graphql.js +0 -1
  50. package/dist/__generated__/Precart_viewer.graphql.js +0 -5
  51. package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +0 -2
  52. package/dist/__generated__/PriceBar_node.graphql.js +0 -1
  53. package/dist/__generated__/SKUPriceRefetchQuery.graphql.js +0 -2
  54. package/dist/__generated__/SpecimenLinkQuery.graphql.js +0 -1
  55. package/dist/__generated__/StoreModalBundleButton_bundle.graphql.js +0 -1
  56. package/dist/__generated__/StoreModalCartQuery.graphql.js +0 -16
  57. package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +0 -6
  58. package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +15 -3
  59. package/dist/__generated__/StoreModalContainerQuery.graphql.js +95 -27
  60. package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +0 -2
  61. package/dist/__generated__/StoreModalFamily_collection.graphql.js +0 -2
  62. package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +0 -1
  63. package/dist/__generated__/StoreModalIndexQuery.graphql.js +0 -4
  64. package/dist/__generated__/StoreModalProductLicense_license.graphql.d.ts +2 -1
  65. package/dist/__generated__/StoreModalProductLicense_license.graphql.js +12 -2
  66. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  67. package/dist/__generated__/StoreModalProductQuery.graphql.js +13 -13
  68. package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +0 -2
  69. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +0 -3
  70. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +0 -9
  71. package/dist/__generated__/StoreModalReviewQuery.graphql.js +0 -6
  72. package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.js +0 -6
  73. package/dist/__generated__/StoreModalReview_order.graphql.js +0 -3
  74. package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +0 -2
  75. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +0 -10
  76. package/dist/__generated__/TestFontsForm_Query.graphql.js +0 -1
  77. package/dist/__generated__/TestModeBannerQuery.graphql.js +0 -1
  78. package/dist/__generated__/ThemeConfigQuery.graphql.js +0 -1
  79. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +0 -8
  80. package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +0 -1
  81. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +0 -8
  82. package/dist/__generated__/TypeTester_fontStyle.graphql.js +0 -1
  83. package/dist/__generated__/TypeTestersIDQuery.graphql.js +0 -14
  84. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +0 -15
  85. package/dist/__generated__/TypeTesters_collection.graphql.js +0 -3
  86. package/dist/__generated__/productState_Query.graphql.js +0 -5
  87. package/dist/__generated__/productState_bundle.graphql.js +0 -1
  88. package/dist/__generated__/productState_collection.graphql.js +0 -2
  89. package/dist/__generated__/productState_node.graphql.js +0 -3
  90. package/dist/__generated__/useTotalStyles_fontCollection.graphql.js +0 -1
  91. package/dist/components/Cart/CartItem/VariableTextInput.js +2 -1
  92. package/dist/components/Cart/CartOrder.js +2 -1
  93. package/dist/components/CartButton/index.js +0 -1
  94. package/dist/components/CharacterViewer/index.js +130 -57
  95. package/dist/components/NewsletterSignup/NewsletterSignupElement.d.ts +7 -0
  96. package/dist/components/NewsletterSignup/NewsletterSignupElement.js +15 -0
  97. package/dist/components/Precart/License.js +9 -2
  98. package/dist/components/Root/index.js +1 -1
  99. package/dist/components/Select/index.js +1 -1
  100. package/dist/components/StoreModal/StoreModalCart.js +1 -1
  101. package/dist/components/StoreModal/StoreModalContainer.js +17 -3
  102. package/dist/components/StoreModal/StoreModalFamily.d.ts +2 -1
  103. package/dist/components/StoreModal/StoreModalFamily.js +3 -1
  104. package/dist/components/StoreModal/StoreModalProduct.js +1 -0
  105. package/dist/components/StoreModalProductLicenseSelection/LicenseElement.d.ts +1 -0
  106. package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +10 -2
  107. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +2 -1
  108. package/dist/components/StoreModalProductSummary/index.js +1 -1
  109. package/dist/components/TypeTester/TypeTesterStandalone.js +8 -2
  110. package/dist/components/elements/StoreModalContainer/index.d.ts +8 -2
  111. package/dist/components/elements/StoreModalContainer/index.js +9 -6
  112. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -0
  113. package/dist/components/elements/StoreModalFamily/index.js +5 -2
  114. package/dist/data/unicodeData.d.ts +4 -0
  115. package/dist/data/unicodeData.js +1 -0
  116. package/dist/fontdue.css +93 -26
  117. package/dist/reducer.js +0 -1
  118. package/dist/scripts/updateUnicodeData.js +49 -0
  119. package/package.json +2 -1
@@ -154,7 +154,6 @@ const node = function () {
154
154
  }],
155
155
  "storageKey": null
156
156
  }, v2 /*: any*/],
157
-
158
157
  "storageKey": null
159
158
  }],
160
159
  "type": "RootMutationType",
@@ -201,7 +200,6 @@ const node = function () {
201
200
  "name": "license",
202
201
  "plural": false,
203
202
  "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/],
204
-
205
203
  "storageKey": null
206
204
  }, {
207
205
  "alias": null,
@@ -305,7 +303,6 @@ const node = function () {
305
303
  "name": "family",
306
304
  "plural": false,
307
305
  "selections": [v11 /*: any*/, v3 /*: any*/],
308
-
309
306
  "storageKey": null
310
307
  }],
311
308
  "storageKey": null
@@ -334,10 +331,8 @@ const node = function () {
334
331
  "name": "fontStyles",
335
332
  "plural": true,
336
333
  "selections": [v10 /*: any*/, v4 /*: any*/, v3 /*: any*/],
337
-
338
334
  "storageKey": null
339
335
  }, v4 /*: any*/],
340
-
341
336
  "type": "Bundle",
342
337
  "abstractKey": null
343
338
  }, {
@@ -350,7 +345,6 @@ const node = function () {
350
345
  "name": "family",
351
346
  "plural": false,
352
347
  "selections": [v4 /*: any*/, v11 /*: any*/, v3 /*: any*/],
353
-
354
348
  "storageKey": null
355
349
  }, {
356
350
  "alias": null,
@@ -360,7 +354,6 @@ const node = function () {
360
354
  "name": "variableInstances",
361
355
  "plural": true,
362
356
  "selections": [v4 /*: any*/],
363
-
364
357
  "storageKey": null
365
358
  }],
366
359
  "type": "FontStyle",
@@ -373,7 +366,6 @@ const node = function () {
373
366
  }],
374
367
  "storageKey": null
375
368
  }, v3 /*: any*/],
376
-
377
369
  "storageKey": null
378
370
  }],
379
371
  "storageKey": null
@@ -431,10 +423,8 @@ const node = function () {
431
423
  "selections": v8 /*: any*/,
432
424
  "storageKey": null
433
425
  }, v3 /*: any*/],
434
-
435
426
  "storageKey": null
436
427
  }, v3 /*: any*/],
437
-
438
428
  "storageKey": null
439
429
  }, {
440
430
  "alias": null,
@@ -482,10 +472,8 @@ const node = function () {
482
472
  "name": "gstIncluded",
483
473
  "storageKey": null
484
474
  }, v3 /*: any*/],
485
-
486
475
  "storageKey": null
487
476
  }, v2 /*: any*/],
488
-
489
477
  "storageKey": null
490
478
  }]
491
479
  },
@@ -23,7 +23,6 @@ const node = function () {
23
23
  "storageKey": null
24
24
  },
25
25
  v1 = [v0 /*: any*/];
26
-
27
26
  return {
28
27
  "argumentDefinitions": [],
29
28
  "kind": "Fragment",
@@ -28,7 +28,6 @@ const node = function () {
28
28
  "name": "amount",
29
29
  "storageKey": null
30
30
  }, v0 /*: any*/];
31
-
32
31
  return {
33
32
  "argumentDefinitions": [],
34
33
  "kind": "Fragment",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<69f8d5b289fee407e93d680fe4b2cd46>>
2
+ * @generated SignedSource<<b048c691d6ff8bb87bad216a6eee96a7>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<69f8d5b289fee407e93d680fe4b2cd46>>
8
+ * @generated SignedSource<<b048c691d6ff8bb87bad216a6eee96a7>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -98,7 +98,14 @@ const node = function () {
98
98
  "name": "characters",
99
99
  "storageKey": null
100
100
  },
101
- v9 = {
101
+ v9 = [v8 /*: any*/, {
102
+ "alias": null,
103
+ "args": null,
104
+ "kind": "ScalarField",
105
+ "name": "feature",
106
+ "storageKey": null
107
+ }, v3 /*: any*/],
108
+ v10 = {
102
109
  "alias": null,
103
110
  "args": null,
104
111
  "concreteType": "FontStyle",
@@ -118,8 +125,7 @@ const node = function () {
118
125
  "kind": "LinkedField",
119
126
  "name": "characterBlocks",
120
127
  "plural": true,
121
- "selections": [v3 /*: any*/, v8 /*: any*/],
122
-
128
+ "selections": [v8 /*: any*/, v3 /*: any*/],
123
129
  "storageKey": null
124
130
  }, {
125
131
  "alias": null,
@@ -128,17 +134,63 @@ const node = function () {
128
134
  "kind": "LinkedField",
129
135
  "name": "featureCharacters",
130
136
  "plural": true,
137
+ "selections": v9 /*: any*/,
138
+ "storageKey": null
139
+ }, {
140
+ "alias": null,
141
+ "args": null,
142
+ "concreteType": "GlyphName",
143
+ "kind": "LinkedField",
144
+ "name": "glyphNames",
145
+ "plural": true,
146
+ "selections": v9 /*: any*/,
147
+ "storageKey": null
148
+ }, v4 /*: any*/, {
149
+ "alias": null,
150
+ "args": null,
151
+ "concreteType": "VerticalMetrics",
152
+ "kind": "LinkedField",
153
+ "name": "verticalMetrics",
154
+ "plural": false,
131
155
  "selections": [{
132
156
  "alias": null,
133
157
  "args": null,
134
158
  "kind": "ScalarField",
135
- "name": "feature",
159
+ "name": "unitsPerEm",
136
160
  "storageKey": null
137
- }, v3 /*: any*/, v8 /*: any*/],
138
-
161
+ }, {
162
+ "alias": null,
163
+ "args": null,
164
+ "kind": "ScalarField",
165
+ "name": "ascender",
166
+ "storageKey": null
167
+ }, {
168
+ "alias": null,
169
+ "args": null,
170
+ "kind": "ScalarField",
171
+ "name": "descender",
172
+ "storageKey": null
173
+ }, {
174
+ "alias": null,
175
+ "args": null,
176
+ "kind": "ScalarField",
177
+ "name": "xHeight",
178
+ "storageKey": null
179
+ }, {
180
+ "alias": null,
181
+ "args": null,
182
+ "kind": "ScalarField",
183
+ "name": "capHeight",
184
+ "storageKey": null
185
+ }, {
186
+ "alias": null,
187
+ "args": null,
188
+ "kind": "ScalarField",
189
+ "name": "lineGap",
190
+ "storageKey": null
191
+ }],
139
192
  "storageKey": null
140
- }, v4 /*: any*/],
141
-
193
+ }],
142
194
  "storageKey": null
143
195
  };
144
196
  return {
@@ -192,9 +244,8 @@ const node = function () {
192
244
  "name": "featureStyle",
193
245
  "plural": false,
194
246
  "selections": [v2 /*: any*/, v4 /*: any*/],
195
-
196
247
  "storageKey": null
197
- }, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, {
248
+ }, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v10 /*: any*/, {
198
249
  "alias": null,
199
250
  "args": [{
200
251
  "kind": "Literal",
@@ -205,8 +256,7 @@ const node = function () {
205
256
  "kind": "LinkedField",
206
257
  "name": "children",
207
258
  "plural": true,
208
- "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
209
-
259
+ "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v10 /*: any*/],
210
260
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
211
261
  }],
212
262
  "type": "FontCollection",
@@ -216,12 +266,12 @@ const node = function () {
216
266
  }]
217
267
  },
218
268
  "params": {
219
- "cacheID": "eb952d4de5e478c504522c7067344953",
269
+ "cacheID": "320d85d3564e00855740c458cd1de284",
220
270
  "id": null,
221
271
  "metadata": {},
222
272
  "name": "CharacterViewerIDQuery",
223
273
  "operationKind": "query",
224
- "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 featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
274
+ "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 featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n characters\n name\n }\n featureCharacters {\n characters\n feature\n name\n }\n glyphNames {\n characters\n feature\n name\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n characters\n name\n }\n featureCharacters {\n characters\n feature\n name\n }\n glyphNames {\n characters\n feature\n name\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n }\n }\n}\n"
225
275
  }
226
276
  };
227
277
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<4f2a4f7087c9b01053899ee96a81db5c>>
2
+ * @generated SignedSource<<1c3e718da1b56745af1d762d0c05348b>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<4f2a4f7087c9b01053899ee96a81db5c>>
8
+ * @generated SignedSource<<1c3e718da1b56745af1d762d0c05348b>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -98,7 +98,14 @@ const node = function () {
98
98
  "name": "characters",
99
99
  "storageKey": null
100
100
  },
101
- v9 = {
101
+ v9 = [v8 /*: any*/, {
102
+ "alias": null,
103
+ "args": null,
104
+ "kind": "ScalarField",
105
+ "name": "feature",
106
+ "storageKey": null
107
+ }, v3 /*: any*/],
108
+ v10 = {
102
109
  "alias": null,
103
110
  "args": null,
104
111
  "concreteType": "FontStyle",
@@ -118,8 +125,7 @@ const node = function () {
118
125
  "kind": "LinkedField",
119
126
  "name": "characterBlocks",
120
127
  "plural": true,
121
- "selections": [v3 /*: any*/, v8 /*: any*/],
122
-
128
+ "selections": [v8 /*: any*/, v3 /*: any*/],
123
129
  "storageKey": null
124
130
  }, {
125
131
  "alias": null,
@@ -128,17 +134,63 @@ const node = function () {
128
134
  "kind": "LinkedField",
129
135
  "name": "featureCharacters",
130
136
  "plural": true,
137
+ "selections": v9 /*: any*/,
138
+ "storageKey": null
139
+ }, {
140
+ "alias": null,
141
+ "args": null,
142
+ "concreteType": "GlyphName",
143
+ "kind": "LinkedField",
144
+ "name": "glyphNames",
145
+ "plural": true,
146
+ "selections": v9 /*: any*/,
147
+ "storageKey": null
148
+ }, v4 /*: any*/, {
149
+ "alias": null,
150
+ "args": null,
151
+ "concreteType": "VerticalMetrics",
152
+ "kind": "LinkedField",
153
+ "name": "verticalMetrics",
154
+ "plural": false,
131
155
  "selections": [{
132
156
  "alias": null,
133
157
  "args": null,
134
158
  "kind": "ScalarField",
135
- "name": "feature",
159
+ "name": "unitsPerEm",
136
160
  "storageKey": null
137
- }, v3 /*: any*/, v8 /*: any*/],
138
-
161
+ }, {
162
+ "alias": null,
163
+ "args": null,
164
+ "kind": "ScalarField",
165
+ "name": "ascender",
166
+ "storageKey": null
167
+ }, {
168
+ "alias": null,
169
+ "args": null,
170
+ "kind": "ScalarField",
171
+ "name": "descender",
172
+ "storageKey": null
173
+ }, {
174
+ "alias": null,
175
+ "args": null,
176
+ "kind": "ScalarField",
177
+ "name": "xHeight",
178
+ "storageKey": null
179
+ }, {
180
+ "alias": null,
181
+ "args": null,
182
+ "kind": "ScalarField",
183
+ "name": "capHeight",
184
+ "storageKey": null
185
+ }, {
186
+ "alias": null,
187
+ "args": null,
188
+ "kind": "ScalarField",
189
+ "name": "lineGap",
190
+ "storageKey": null
191
+ }],
139
192
  "storageKey": null
140
- }, v4 /*: any*/],
141
-
193
+ }],
142
194
  "storageKey": null
143
195
  };
144
196
  return {
@@ -216,9 +268,8 @@ const node = function () {
216
268
  "name": "featureStyle",
217
269
  "plural": false,
218
270
  "selections": [v2 /*: any*/, v4 /*: any*/],
219
-
220
271
  "storageKey": null
221
- }, v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, {
272
+ }, v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v10 /*: any*/, {
222
273
  "alias": null,
223
274
  "args": [{
224
275
  "kind": "Literal",
@@ -229,26 +280,23 @@ const node = function () {
229
280
  "kind": "LinkedField",
230
281
  "name": "children",
231
282
  "plural": true,
232
- "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
233
-
283
+ "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v10 /*: any*/],
234
284
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
235
285
  }],
236
286
  "storageKey": null
237
287
  }, v2 /*: any*/],
238
-
239
288
  "storageKey": null
240
289
  }, v2 /*: any*/],
241
-
242
290
  "storageKey": null
243
291
  }]
244
292
  },
245
293
  "params": {
246
- "cacheID": "2164428019c5b0a380eebfeaadf9c46f",
294
+ "cacheID": "cba35ec3aa9e757cce82153aff6a668f",
247
295
  "id": null,
248
296
  "metadata": {},
249
297
  "name": "CharacterViewerSlugQuery",
250
298
  "operationKind": "query",
251
- "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 featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
299
+ "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 featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n characters\n name\n }\n featureCharacters {\n characters\n feature\n name\n }\n glyphNames {\n characters\n feature\n name\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n characters\n name\n }\n featureCharacters {\n characters\n feature\n name\n }\n glyphNames {\n characters\n feature\n name\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n xHeight\n capHeight\n lineGap\n }\n }\n }\n}\n"
252
300
  }
253
301
  };
254
302
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<6eef191d6ff765068e7e25ed29ba5d5b>>
2
+ * @generated SignedSource<<4af8619bf409ed02494daa6b60330223>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -20,6 +20,11 @@ export type CharacterViewer_collection$data = {
20
20
  readonly feature: string;
21
21
  readonly name: string;
22
22
  }> | null;
23
+ readonly glyphNames: ReadonlyArray<{
24
+ readonly characters: string;
25
+ readonly feature: string | null;
26
+ readonly name: string;
27
+ }> | null;
23
28
  readonly id: string;
24
29
  readonly name: string;
25
30
  readonly variableInstances: ReadonlyArray<{
@@ -29,6 +34,14 @@ export type CharacterViewer_collection$data = {
29
34
  }>;
30
35
  readonly name: string;
31
36
  }> | null;
37
+ readonly verticalMetrics: {
38
+ readonly ascender: number;
39
+ readonly capHeight: number | null;
40
+ readonly descender: number;
41
+ readonly lineGap: number | null;
42
+ readonly unitsPerEm: number;
43
+ readonly xHeight: number | null;
44
+ };
32
45
  }> | null;
33
46
  readonly id: string;
34
47
  readonly isVariableFont: boolean;
@@ -57,6 +70,11 @@ export type CharacterViewer_collection$data = {
57
70
  readonly feature: string;
58
71
  readonly name: string;
59
72
  }> | null;
73
+ readonly glyphNames: ReadonlyArray<{
74
+ readonly characters: string;
75
+ readonly feature: string | null;
76
+ readonly name: string;
77
+ }> | null;
60
78
  readonly id: string;
61
79
  readonly name: string;
62
80
  readonly variableInstances: ReadonlyArray<{
@@ -66,6 +84,14 @@ export type CharacterViewer_collection$data = {
66
84
  }>;
67
85
  readonly name: string;
68
86
  }> | null;
87
+ readonly verticalMetrics: {
88
+ readonly ascender: number;
89
+ readonly capHeight: number | null;
90
+ readonly descender: number;
91
+ readonly lineGap: number | null;
92
+ readonly unitsPerEm: number;
93
+ readonly xHeight: number | null;
94
+ };
69
95
  }> | null;
70
96
  readonly id: string;
71
97
  readonly isVariableFont: boolean;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<6eef191d6ff765068e7e25ed29ba5d5b>>
8
+ * @generated SignedSource<<4af8619bf409ed02494daa6b60330223>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -88,7 +88,14 @@ const node = function () {
88
88
  "name": "characters",
89
89
  "storageKey": null
90
90
  },
91
- v7 = {
91
+ v7 = [v6 /*: any*/, {
92
+ "alias": null,
93
+ "args": null,
94
+ "kind": "ScalarField",
95
+ "name": "feature",
96
+ "storageKey": null
97
+ }, v1 /*: any*/],
98
+ v8 = {
92
99
  "alias": null,
93
100
  "args": null,
94
101
  "concreteType": "FontStyle",
@@ -108,8 +115,7 @@ const node = function () {
108
115
  "kind": "LinkedField",
109
116
  "name": "characterBlocks",
110
117
  "plural": true,
111
- "selections": [v1 /*: any*/, v6 /*: any*/],
112
-
118
+ "selections": [v6 /*: any*/, v1 /*: any*/],
113
119
  "storageKey": null
114
120
  }, {
115
121
  "alias": null,
@@ -118,17 +124,63 @@ const node = function () {
118
124
  "kind": "LinkedField",
119
125
  "name": "featureCharacters",
120
126
  "plural": true,
127
+ "selections": v7 /*: any*/,
128
+ "storageKey": null
129
+ }, {
130
+ "alias": null,
131
+ "args": null,
132
+ "concreteType": "GlyphName",
133
+ "kind": "LinkedField",
134
+ "name": "glyphNames",
135
+ "plural": true,
136
+ "selections": v7 /*: any*/,
137
+ "storageKey": null
138
+ }, v2 /*: any*/, {
139
+ "alias": null,
140
+ "args": null,
141
+ "concreteType": "VerticalMetrics",
142
+ "kind": "LinkedField",
143
+ "name": "verticalMetrics",
144
+ "plural": false,
121
145
  "selections": [{
122
146
  "alias": null,
123
147
  "args": null,
124
148
  "kind": "ScalarField",
125
- "name": "feature",
149
+ "name": "unitsPerEm",
126
150
  "storageKey": null
127
- }, v1 /*: any*/, v6 /*: any*/],
128
-
151
+ }, {
152
+ "alias": null,
153
+ "args": null,
154
+ "kind": "ScalarField",
155
+ "name": "ascender",
156
+ "storageKey": null
157
+ }, {
158
+ "alias": null,
159
+ "args": null,
160
+ "kind": "ScalarField",
161
+ "name": "descender",
162
+ "storageKey": null
163
+ }, {
164
+ "alias": null,
165
+ "args": null,
166
+ "kind": "ScalarField",
167
+ "name": "xHeight",
168
+ "storageKey": null
169
+ }, {
170
+ "alias": null,
171
+ "args": null,
172
+ "kind": "ScalarField",
173
+ "name": "capHeight",
174
+ "storageKey": null
175
+ }, {
176
+ "alias": null,
177
+ "args": null,
178
+ "kind": "ScalarField",
179
+ "name": "lineGap",
180
+ "storageKey": null
181
+ }],
129
182
  "storageKey": null
130
- }, v2 /*: any*/],
131
-
183
+ }],
132
184
  "storageKey": null
133
185
  };
134
186
  return {
@@ -144,9 +196,8 @@ const node = function () {
144
196
  "name": "featureStyle",
145
197
  "plural": false,
146
198
  "selections": [v0 /*: any*/, v2 /*: any*/],
147
-
148
199
  "storageKey": null
149
- }, v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v7 /*: any*/, {
200
+ }, v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v8 /*: any*/, {
150
201
  "alias": null,
151
202
  "args": [{
152
203
  "kind": "Literal",
@@ -157,8 +208,7 @@ const node = function () {
157
208
  "kind": "LinkedField",
158
209
  "name": "children",
159
210
  "plural": true,
160
- "selections": [v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v7 /*: any*/],
161
-
211
+ "selections": [v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v8 /*: any*/],
162
212
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
163
213
  }],
164
214
  "type": "FontCollection",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<01fe113cc9a0df0400f763b4c4e89df3>>
2
+ * @generated SignedSource<<b714a758f0271d0962cc3a22d7657c64>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -19,6 +19,11 @@ export type CharacterViewer_family$data = {
19
19
  readonly feature: string;
20
20
  readonly name: string;
21
21
  }> | null;
22
+ readonly glyphNames: ReadonlyArray<{
23
+ readonly characters: string;
24
+ readonly feature: string | null;
25
+ readonly name: string;
26
+ }> | null;
22
27
  readonly id: string;
23
28
  readonly name: string;
24
29
  readonly variableInstances: ReadonlyArray<{
@@ -28,6 +33,14 @@ export type CharacterViewer_family$data = {
28
33
  }>;
29
34
  readonly name: string;
30
35
  }> | null;
36
+ readonly verticalMetrics: {
37
+ readonly ascender: number;
38
+ readonly capHeight: number | null;
39
+ readonly descender: number;
40
+ readonly lineGap: number | null;
41
+ readonly unitsPerEm: number;
42
+ readonly xHeight: number | null;
43
+ };
31
44
  }> | null;
32
45
  readonly id: string;
33
46
  readonly isVariableFont: boolean;