fontdue-js 2.0.0-alpha7 → 2.0.0-alpha9

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 (41) hide show
  1. package/dist/__generated__/TypeTesterFeaturesButton_fontStyle.graphql.d.ts +17 -0
  2. package/dist/__generated__/TypeTesterFeaturesButton_fontStyle.graphql.js +32 -0
  3. package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.d.ts +2 -2
  4. package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.js +6 -2
  5. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +2 -2
  6. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +3 -3
  7. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
  8. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +24 -24
  9. package/dist/__generated__/TypeTesterToolbar_fontStyle.graphql.d.ts +17 -0
  10. package/dist/__generated__/TypeTesterToolbar_fontStyle.graphql.js +36 -0
  11. package/dist/__generated__/TypeTesterVariableAxes_fontStyle.graphql.d.ts +22 -0
  12. package/dist/__generated__/TypeTesterVariableAxes_fontStyle.graphql.js +61 -0
  13. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +2 -2
  14. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +29 -25
  15. package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +2 -2
  16. package/dist/__generated__/TypeTester_fontStyle.graphql.js +7 -3
  17. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  18. package/dist/__generated__/TypeTestersIDQuery.graphql.js +24 -24
  19. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  20. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +24 -24
  21. package/dist/__generated__/useFeaturesData_fontStyle.graphql.d.ts +1 -7
  22. package/dist/__generated__/useFeaturesData_fontStyle.graphql.js +2 -35
  23. package/dist/components/ConfigContext.d.ts +2 -0
  24. package/dist/components/ConfigContext.js +1 -0
  25. package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +1 -1
  26. package/dist/components/TypeTester/TypeTesterFeatures.d.ts +1 -1
  27. package/dist/components/TypeTester/TypeTesterFeatures.js +6 -11
  28. package/dist/components/TypeTester/TypeTesterFeaturesButton.d.ts +2 -2
  29. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +4 -1
  30. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +7 -1
  31. package/dist/components/TypeTester/TypeTesterToolbar.d.ts +4 -2
  32. package/dist/components/TypeTester/TypeTesterToolbar.js +11 -2
  33. package/dist/components/TypeTester/TypeTesterVariableAxes.d.ts +3 -6
  34. package/dist/components/TypeTester/TypeTesterVariableAxes.js +19 -2
  35. package/dist/components/TypeTester/index.d.ts +2 -1
  36. package/dist/components/TypeTester/index.js +11 -4
  37. package/dist/components/TypeTester/types.d.ts +1 -0
  38. package/dist/components/TypeTester/useFeaturesData.d.ts +0 -6
  39. package/dist/components/TypeTester/useFeaturesData.js +1 -1
  40. package/dist/fontdue.css +22 -7
  41. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @generated SignedSource<<d6b9728d463a349c49f5844d6e2a57b2>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type TypeTesterFeaturesButton_fontStyle$data = {
9
+ readonly " $fragmentSpreads": FragmentRefs<"useFeaturesData_fontStyle">;
10
+ readonly " $fragmentType": "TypeTesterFeaturesButton_fontStyle";
11
+ };
12
+ export type TypeTesterFeaturesButton_fontStyle$key = {
13
+ readonly " $data"?: TypeTesterFeaturesButton_fontStyle$data;
14
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterFeaturesButton_fontStyle">;
15
+ };
16
+ declare const node: ReaderFragment;
17
+ export default node;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<d6b9728d463a349c49f5844d6e2a57b2>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = {
18
+ "argumentDefinitions": [],
19
+ "kind": "Fragment",
20
+ "metadata": null,
21
+ "name": "TypeTesterFeaturesButton_fontStyle",
22
+ "selections": [{
23
+ "args": null,
24
+ "kind": "FragmentSpread",
25
+ "name": "useFeaturesData_fontStyle"
26
+ }],
27
+ "type": "FontStyle",
28
+ "abstractKey": null
29
+ };
30
+ node.hash = "bfda99c867db0b614314fc774911c4b0";
31
+ var _default = node;
32
+ exports.default = _default;
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @generated SignedSource<<7b500dedf5aac797d205d9da85e8fc2c>>
2
+ * @generated SignedSource<<7f8ba2bf207ee46ceb194b19dac7ee25>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
7
  import { FragmentRefs } from "relay-runtime";
8
8
  export type TypeTesterFeatures_fontStyle$data = {
9
- readonly " $fragmentSpreads": FragmentRefs<"useFeaturesData_fontStyle">;
9
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterVariableAxes_fontStyle" | "useFeaturesData_fontStyle">;
10
10
  readonly " $fragmentType": "TypeTesterFeatures_fontStyle";
11
11
  };
12
12
  export type TypeTesterFeatures_fontStyle$key = {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<7b500dedf5aac797d205d9da85e8fc2c>>
8
+ * @generated SignedSource<<7f8ba2bf207ee46ceb194b19dac7ee25>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -23,10 +23,14 @@ const node = {
23
23
  "args": null,
24
24
  "kind": "FragmentSpread",
25
25
  "name": "useFeaturesData_fontStyle"
26
+ }, {
27
+ "args": null,
28
+ "kind": "FragmentSpread",
29
+ "name": "TypeTesterVariableAxes_fontStyle"
26
30
  }],
27
31
  "type": "FontStyle",
28
32
  "abstractKey": null
29
33
  };
30
- node.hash = "25582c33916ebaadd2f674b1d0b6bf4b";
34
+ node.hash = "d0c693dadaa9ae68f5295f3fc69a7578";
31
35
  var _default = node;
32
36
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<d15e14aa561c95e89e09cc2c00873342>>
2
+ * @generated SignedSource<<ec191174c90f05f31989f46fbcb01dc9>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -7,7 +7,7 @@ import { ReaderFragment } from 'relay-runtime';
7
7
  import { FragmentRefs } from "relay-runtime";
8
8
  export type TypeTesterFloatingToolbar_testers$data = ReadonlyArray<{
9
9
  readonly fontStyle: {
10
- readonly " $fragmentSpreads": FragmentRefs<"TypeTesterFeatures_fontStyle" | "useFeaturesData_fontStyle">;
10
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterFeatures_fontStyle" | "TypeTesterToolbar_fontStyle">;
11
11
  } | null;
12
12
  readonly id: string;
13
13
  readonly " $fragmentType": "TypeTesterFloatingToolbar_testers";
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<d15e14aa561c95e89e09cc2c00873342>>
8
+ * @generated SignedSource<<ec191174c90f05f31989f46fbcb01dc9>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -37,7 +37,7 @@ const node = {
37
37
  "selections": [{
38
38
  "args": null,
39
39
  "kind": "FragmentSpread",
40
- "name": "useFeaturesData_fontStyle"
40
+ "name": "TypeTesterToolbar_fontStyle"
41
41
  }, {
42
42
  "args": null,
43
43
  "kind": "FragmentSpread",
@@ -48,6 +48,6 @@ const node = {
48
48
  "type": "TypeTester",
49
49
  "abstractKey": null
50
50
  };
51
- node.hash = "3b87269ef35fe6c6cfabcc7a2e330a3c";
51
+ node.hash = "5f037fca9e02cba8c202f17e08ff8db6";
52
52
  var _default = node;
53
53
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<fba400cab98b9120cb1a438d8c2f14ab>>
2
+ * @generated SignedSource<<491978c728204bde60e9bfb3dc46c3b4>>
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<<fba400cab98b9120cb1a438d8c2f14ab>>
8
+ * @generated SignedSource<<491978c728204bde60e9bfb3dc46c3b4>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -275,27 +275,6 @@ const node = function () {
275
275
  "name": "fontStyle",
276
276
  "plural": false,
277
277
  "selections": [v2 /*: any*/, {
278
- "alias": null,
279
- "args": null,
280
- "concreteType": "VariableAxis",
281
- "kind": "LinkedField",
282
- "name": "variableAxes",
283
- "plural": true,
284
- "selections": [v8 /*: any*/, v4 /*: any*/, {
285
- "alias": null,
286
- "args": null,
287
- "kind": "ScalarField",
288
- "name": "minValue",
289
- "storageKey": null
290
- }, {
291
- "alias": null,
292
- "args": null,
293
- "kind": "ScalarField",
294
- "name": "maxValue",
295
- "storageKey": null
296
- }],
297
- "storageKey": null
298
- }, {
299
278
  "alias": null,
300
279
  "args": null,
301
280
  "concreteType": "FontFeatures",
@@ -331,6 +310,27 @@ const node = function () {
331
310
  "storageKey": null
332
311
  }],
333
312
  "storageKey": null
313
+ }, {
314
+ "alias": null,
315
+ "args": null,
316
+ "concreteType": "VariableAxis",
317
+ "kind": "LinkedField",
318
+ "name": "variableAxes",
319
+ "plural": true,
320
+ "selections": [v8 /*: any*/, v4 /*: any*/, {
321
+ "alias": null,
322
+ "args": null,
323
+ "kind": "ScalarField",
324
+ "name": "minValue",
325
+ "storageKey": null
326
+ }, {
327
+ "alias": null,
328
+ "args": null,
329
+ "kind": "ScalarField",
330
+ "name": "maxValue",
331
+ "storageKey": null
332
+ }],
333
+ "storageKey": null
334
334
  }, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, {
335
335
  "alias": null,
336
336
  "args": null,
@@ -371,12 +371,12 @@ const node = function () {
371
371
  }]
372
372
  },
373
373
  "params": {
374
- "cacheID": "cf638c4f6a33dfbcbd46071dedaf476e",
374
+ "cacheID": "ea5a29444486ba9004fd0206ac174cd7",
375
375
  "id": null,
376
376
  "metadata": {},
377
377
  "name": "TypeTesterStandaloneQuery",
378
378
  "operationKind": "query",
379
- "text": "query TypeTesterStandaloneQuery(\n $familyName: String!\n $styleName: String!\n) {\n viewer {\n ...TypeTester_viewer\n fontStyle(familyName: $familyName, styleName: $styleName) {\n ...TypeTester_fontStyle\n id\n family {\n id\n parent {\n id\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTester_fontStyle on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...useFeaturesData_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n}\n\nfragment TypeTester_viewer on Viewer {\n ...TypeTesterStyleSelectData_viewer\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
379
+ "text": "query TypeTesterStandaloneQuery(\n $familyName: String!\n $styleName: String!\n) {\n viewer {\n ...TypeTester_viewer\n fontStyle(familyName: $familyName, styleName: $styleName) {\n ...TypeTester_fontStyle\n id\n family {\n id\n parent {\n id\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n}\n\nfragment TypeTester_viewer on Viewer {\n ...TypeTesterStyleSelectData_viewer\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
380
380
  }
381
381
  };
382
382
  }();
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @generated SignedSource<<b06b8812dc7b6cb8fa985ed97be5175d>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type TypeTesterToolbar_fontStyle$data = {
9
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterFeaturesButton_fontStyle" | "TypeTesterVariableAxes_fontStyle">;
10
+ readonly " $fragmentType": "TypeTesterToolbar_fontStyle";
11
+ };
12
+ export type TypeTesterToolbar_fontStyle$key = {
13
+ readonly " $data"?: TypeTesterToolbar_fontStyle$data;
14
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterToolbar_fontStyle">;
15
+ };
16
+ declare const node: ReaderFragment;
17
+ export default node;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<b06b8812dc7b6cb8fa985ed97be5175d>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = {
18
+ "argumentDefinitions": [],
19
+ "kind": "Fragment",
20
+ "metadata": null,
21
+ "name": "TypeTesterToolbar_fontStyle",
22
+ "selections": [{
23
+ "args": null,
24
+ "kind": "FragmentSpread",
25
+ "name": "TypeTesterVariableAxes_fontStyle"
26
+ }, {
27
+ "args": null,
28
+ "kind": "FragmentSpread",
29
+ "name": "TypeTesterFeaturesButton_fontStyle"
30
+ }],
31
+ "type": "FontStyle",
32
+ "abstractKey": null
33
+ };
34
+ node.hash = "1a0f844cbe51f96ed0145d8009f8bff0";
35
+ var _default = node;
36
+ exports.default = _default;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @generated SignedSource<<c83e4ef0aff70568fbd05154de4d35ba>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type TypeTesterVariableAxes_fontStyle$data = {
9
+ readonly variableAxes: ReadonlyArray<{
10
+ readonly axis: string;
11
+ readonly maxValue: number;
12
+ readonly minValue: number;
13
+ readonly name: string;
14
+ }> | null;
15
+ readonly " $fragmentType": "TypeTesterVariableAxes_fontStyle";
16
+ };
17
+ export type TypeTesterVariableAxes_fontStyle$key = {
18
+ readonly " $data"?: TypeTesterVariableAxes_fontStyle$data;
19
+ readonly " $fragmentSpreads": FragmentRefs<"TypeTesterVariableAxes_fontStyle">;
20
+ };
21
+ declare const node: ReaderFragment;
22
+ export default node;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<c83e4ef0aff70568fbd05154de4d35ba>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = {
18
+ "argumentDefinitions": [],
19
+ "kind": "Fragment",
20
+ "metadata": null,
21
+ "name": "TypeTesterVariableAxes_fontStyle",
22
+ "selections": [{
23
+ "alias": null,
24
+ "args": null,
25
+ "concreteType": "VariableAxis",
26
+ "kind": "LinkedField",
27
+ "name": "variableAxes",
28
+ "plural": true,
29
+ "selections": [{
30
+ "alias": null,
31
+ "args": null,
32
+ "kind": "ScalarField",
33
+ "name": "axis",
34
+ "storageKey": null
35
+ }, {
36
+ "alias": null,
37
+ "args": null,
38
+ "kind": "ScalarField",
39
+ "name": "name",
40
+ "storageKey": null
41
+ }, {
42
+ "alias": null,
43
+ "args": null,
44
+ "kind": "ScalarField",
45
+ "name": "minValue",
46
+ "storageKey": null
47
+ }, {
48
+ "alias": null,
49
+ "args": null,
50
+ "kind": "ScalarField",
51
+ "name": "maxValue",
52
+ "storageKey": null
53
+ }],
54
+ "storageKey": null
55
+ }],
56
+ "type": "FontStyle",
57
+ "abstractKey": null
58
+ };
59
+ node.hash = "a73e45dbb7a154107456088125a01f88";
60
+ var _default = node;
61
+ exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<303c895b349ad2ff2b11506c43efce98>>
2
+ * @generated SignedSource<<501d8b21c9ae18d0756acdc49e92bbd7>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -30,7 +30,7 @@ export type TypeTester_NewStyleQuery$data = {
30
30
  readonly id: string;
31
31
  readonly " $fragmentSpreads": FragmentRefs<"SKUPrice_sku" | "SelectButton_sku">;
32
32
  } | null;
33
- readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle" | "TypeTesterFeatures_fontStyle" | "TypeTesterStyleSelectData_fontStyle" | "useFeaturesData_fontStyle">;
33
+ readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle" | "TypeTesterFeatures_fontStyle" | "TypeTesterStyleSelectData_fontStyle" | "TypeTesterToolbar_fontStyle" | "TypeTesterVariableAxes_fontStyle">;
34
34
  } | null;
35
35
  };
36
36
  export type TypeTester_NewStyleQuery = {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<303c895b349ad2ff2b11506c43efce98>>
8
+ * @generated SignedSource<<501d8b21c9ae18d0756acdc49e92bbd7>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -171,7 +171,11 @@ const node = function () {
171
171
  }, {
172
172
  "args": null,
173
173
  "kind": "FragmentSpread",
174
- "name": "useFeaturesData_fontStyle"
174
+ "name": "TypeTesterVariableAxes_fontStyle"
175
+ }, {
176
+ "args": null,
177
+ "kind": "FragmentSpread",
178
+ "name": "TypeTesterToolbar_fontStyle"
175
179
  }],
176
180
  "type": "FontStyle",
177
181
  "abstractKey": null
@@ -202,27 +206,6 @@ const node = function () {
202
206
  }, v2 /*: any*/, {
203
207
  "kind": "InlineFragment",
204
208
  "selections": [{
205
- "alias": null,
206
- "args": null,
207
- "concreteType": "VariableAxis",
208
- "kind": "LinkedField",
209
- "name": "variableAxes",
210
- "plural": true,
211
- "selections": [v7 /*: any*/, v8 /*: any*/, {
212
- "alias": null,
213
- "args": null,
214
- "kind": "ScalarField",
215
- "name": "minValue",
216
- "storageKey": null
217
- }, {
218
- "alias": null,
219
- "args": null,
220
- "kind": "ScalarField",
221
- "name": "maxValue",
222
- "storageKey": null
223
- }],
224
- "storageKey": null
225
- }, {
226
209
  "alias": null,
227
210
  "args": null,
228
211
  "concreteType": "FontFeatures",
@@ -258,6 +241,27 @@ const node = function () {
258
241
  "storageKey": null
259
242
  }],
260
243
  "storageKey": null
244
+ }, {
245
+ "alias": null,
246
+ "args": null,
247
+ "concreteType": "VariableAxis",
248
+ "kind": "LinkedField",
249
+ "name": "variableAxes",
250
+ "plural": true,
251
+ "selections": [v7 /*: any*/, v8 /*: any*/, {
252
+ "alias": null,
253
+ "args": null,
254
+ "kind": "ScalarField",
255
+ "name": "minValue",
256
+ "storageKey": null
257
+ }, {
258
+ "alias": null,
259
+ "args": null,
260
+ "kind": "ScalarField",
261
+ "name": "maxValue",
262
+ "storageKey": null
263
+ }],
264
+ "storageKey": null
261
265
  }, v8 /*: any*/, {
262
266
  "alias": null,
263
267
  "args": null,
@@ -334,12 +338,12 @@ const node = function () {
334
338
  }]
335
339
  },
336
340
  "params": {
337
- "cacheID": "0d1b9332ad9b55c147627baa1d48bdb6",
341
+ "cacheID": "11e5f003012ac887f5a6e620db86a96c",
338
342
  "id": null,
339
343
  "metadata": {},
340
344
  "name": "TypeTester_NewStyleQuery",
341
345
  "operationKind": "query",
342
- "text": "query TypeTester_NewStyleQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n id\n ... on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...useFeaturesData_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n }\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
346
+ "text": "query TypeTester_NewStyleQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n id\n ... on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n }\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
343
347
  }
344
348
  };
345
349
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<19a3dea108c9765b92af042c77f9aa73>>
2
+ * @generated SignedSource<<e0eaf9aa294973852d6d7367989abe96>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -26,7 +26,7 @@ export type TypeTester_fontStyle$data = {
26
26
  readonly id: string;
27
27
  readonly " $fragmentSpreads": FragmentRefs<"SKUPrice_sku" | "SelectButton_sku">;
28
28
  } | null;
29
- readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle" | "TypeTesterFeatures_fontStyle" | "TypeTesterStyleSelectData_fontStyle" | "useFeaturesData_fontStyle">;
29
+ readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle" | "TypeTesterFeatures_fontStyle" | "TypeTesterStyleSelectData_fontStyle" | "TypeTesterToolbar_fontStyle" | "TypeTesterVariableAxes_fontStyle">;
30
30
  readonly " $fragmentType": "TypeTester_fontStyle";
31
31
  };
32
32
  export type TypeTester_fontStyle$key = {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<19a3dea108c9765b92af042c77f9aa73>>
8
+ * @generated SignedSource<<e0eaf9aa294973852d6d7367989abe96>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -75,7 +75,11 @@ const node = function () {
75
75
  }, {
76
76
  "args": null,
77
77
  "kind": "FragmentSpread",
78
- "name": "useFeaturesData_fontStyle"
78
+ "name": "TypeTesterVariableAxes_fontStyle"
79
+ }, {
80
+ "args": null,
81
+ "kind": "FragmentSpread",
82
+ "name": "TypeTesterToolbar_fontStyle"
79
83
  }, {
80
84
  "alias": null,
81
85
  "args": null,
@@ -106,6 +110,6 @@ const node = function () {
106
110
  "abstractKey": null
107
111
  };
108
112
  }();
109
- node.hash = "96336f74661d90c44c9a83479fa8c263";
113
+ node.hash = "e05fd846d7bcc3733b7afeb36403a7ef";
110
114
  var _default = node;
111
115
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<909be9f617c199ac4262b87a1802971b>>
2
+ * @generated SignedSource<<0c546bb85927f14769c29310a2287389>>
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<<909be9f617c199ac4262b87a1802971b>>
8
+ * @generated SignedSource<<0c546bb85927f14769c29310a2287389>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -386,27 +386,6 @@ const node = function () {
386
386
  "name": "fontStyle",
387
387
  "plural": false,
388
388
  "selections": [v8 /*: any*/, {
389
- "alias": null,
390
- "args": null,
391
- "concreteType": "VariableAxis",
392
- "kind": "LinkedField",
393
- "name": "variableAxes",
394
- "plural": true,
395
- "selections": [v13 /*: any*/, v9 /*: any*/, {
396
- "alias": null,
397
- "args": null,
398
- "kind": "ScalarField",
399
- "name": "minValue",
400
- "storageKey": null
401
- }, {
402
- "alias": null,
403
- "args": null,
404
- "kind": "ScalarField",
405
- "name": "maxValue",
406
- "storageKey": null
407
- }],
408
- "storageKey": null
409
- }, {
410
389
  "alias": null,
411
390
  "args": null,
412
391
  "concreteType": "FontFeatures",
@@ -442,6 +421,27 @@ const node = function () {
442
421
  "storageKey": null
443
422
  }],
444
423
  "storageKey": null
424
+ }, {
425
+ "alias": null,
426
+ "args": null,
427
+ "concreteType": "VariableAxis",
428
+ "kind": "LinkedField",
429
+ "name": "variableAxes",
430
+ "plural": true,
431
+ "selections": [v13 /*: any*/, v9 /*: any*/, {
432
+ "alias": null,
433
+ "args": null,
434
+ "kind": "ScalarField",
435
+ "name": "minValue",
436
+ "storageKey": null
437
+ }, {
438
+ "alias": null,
439
+ "args": null,
440
+ "kind": "ScalarField",
441
+ "name": "maxValue",
442
+ "storageKey": null
443
+ }],
444
+ "storageKey": null
445
445
  }, v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v16 /*: any*/, {
446
446
  "alias": null,
447
447
  "args": null,
@@ -537,12 +537,12 @@ const node = function () {
537
537
  }]
538
538
  },
539
539
  "params": {
540
- "cacheID": "201b12566d89606ba3084b95513b48a8",
540
+ "cacheID": "d294f032d7303c90c749635091fef19e",
541
541
  "id": null,
542
542
  "metadata": {},
543
543
  "name": "TypeTestersIDQuery",
544
544
  "operationKind": "query",
545
- "text": "query TypeTestersIDQuery(\n $collectionId: ID!\n $tags: [String!]\n $excludeTags: [String!]\n) {\n viewer {\n ...TypeTesters_viewer\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...TypeTesters_collection_4Goyz5\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_2AMk59\n id\n price(licenseOptions: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node on FontCollection {\n ...PriceBarSection_node\n parent {\n ...PriceBarSection_node\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment SelectButton_sku_2AMk59 on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTester_fontStyle on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...useFeaturesData_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n}\n\nfragment TypeTester_viewer on Viewer {\n ...TypeTesterStyleSelectData_viewer\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n direction\n fontStyle {\n ...TypeTester_fontStyle\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer on Viewer {\n ...TypeTester_viewer\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
545
+ "text": "query TypeTestersIDQuery(\n $collectionId: ID!\n $tags: [String!]\n $excludeTags: [String!]\n) {\n viewer {\n ...TypeTesters_viewer\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...TypeTesters_collection_4Goyz5\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_2AMk59\n id\n price(licenseOptions: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node on FontCollection {\n ...PriceBarSection_node\n parent {\n ...PriceBarSection_node\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SKUPrice_sku_2AMk59 on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment SelectButton_sku_2AMk59 on Sku {\n id\n ...SKUPrice_sku_2AMk59\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n fontCollections {\n sku {\n ...SelectButton_sku\n ...SKUPrice_sku\n id\n basePrice: price {\n amount\n }\n }\n id\n }\n}\n\nfragment TypeTester_viewer on Viewer {\n ...TypeTesterStyleSelectData_viewer\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n direction\n fontStyle {\n ...TypeTester_fontStyle\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer on Viewer {\n ...TypeTester_viewer\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
546
546
  }
547
547
  };
548
548
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<f5c5e5a1071171464fb637676ecd406a>>
2
+ * @generated SignedSource<<7aef54213b657464f66a2a82ace12b91>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */