fontdue-js 3.12.0 → 3.13.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 (40) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/__generated__/CustomerSignInElementQuery.graphql.d.ts +22 -0
  3. package/dist/__generated__/CustomerSignInElementQuery.graphql.js +87 -0
  4. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -1
  5. package/dist/__generated__/StoreModalFamily_collection.graphql.js +8 -4
  6. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  7. package/dist/__generated__/StoreModalProductQuery.graphql.js +9 -5
  8. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  9. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +9 -5
  10. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +1 -1
  11. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +9 -5
  12. package/dist/__generated__/productState_Query.graphql.d.ts +1 -29
  13. package/dist/__generated__/productState_Query.graphql.js +15 -30
  14. package/dist/__generated__/productState_collection.graphql.d.ts +1 -1
  15. package/dist/__generated__/productState_collection.graphql.js +8 -4
  16. package/dist/__generated__/productState_fontPack.graphql.d.ts +1 -1
  17. package/dist/__generated__/productState_fontPack.graphql.js +7 -3
  18. package/dist/__generated__/productState_node.graphql.d.ts +1 -29
  19. package/dist/__generated__/productState_node.graphql.js +8 -22
  20. package/dist/__tests__/bundleSelectionOrder.test.js +0 -1
  21. package/dist/__tests__/collectionBundleSelection.test.js +31 -6
  22. package/dist/__tests__/customerSignInElement.test.js +155 -0
  23. package/dist/__tests__/customerSignInRequest.test.js +85 -0
  24. package/dist/__tests__/stripeCheckoutError.test.js +110 -0
  25. package/dist/__tests__/typeTesterPrefetchStyles.test.js +108 -0
  26. package/dist/components/CustomerSignIn/CustomerSignInElement.d.ts +22 -0
  27. package/dist/components/CustomerSignIn/CustomerSignInElement.js +132 -0
  28. package/dist/components/CustomerSignIn/index.js +4 -2
  29. package/dist/components/Root/index.js +2 -0
  30. package/dist/components/Root/productState.js +7 -33
  31. package/dist/components/StoreModal/StoreModalFamily.js +9 -5
  32. package/dist/components/StripeProvider/index.js +19 -2
  33. package/dist/components/TypeTester/TypeTesterStyleSelect.js +6 -1
  34. package/dist/components/TypeTester/usePrefetchWhenNear.d.ts +14 -0
  35. package/dist/components/TypeTester/usePrefetchWhenNear.js +69 -0
  36. package/dist/fontdue.css +10 -1
  37. package/dist/version.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/__generated__/productState_collectionBundle.graphql.d.ts +0 -41
  40. package/dist/__generated__/productState_collectionBundle.graphql.js +0 -81
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 3.13.0
2
+
3
+ - `StoreModal` offers a superfamily’s bundles that mix styles from several of its families, or styles alongside whole families, and shows a superfamily’s bundles even when the superfamily has no price of its own.
4
+ - Fixed the `StoreModal`’s list of collections putting *Buy* right after the name, instead of at the row’s right edge, on rows with no “Aa” sample – every row with `indexLayout: 'styled-font-names'`.
5
+
6
+ ## 3.12.1
7
+
8
+ - Fixed a `TypeTester`’s style menu showing only the current style on the first click, most visibly in Safari. The style list now loads as the type tester nears the viewport.
9
+ - Fixed the `StoreModal` checkout showing Stripe’s generic error when Stripe refuses to start a checkout, such as for a total under its minimum charge. It now shows Stripe’s reason.
10
+
1
11
  ## 3.12.0
2
12
 
3
13
  - `CustomerLoginForm` runs an invisible reCAPTCHA check when *Enable reCAPTCHA* is on under *Settings → Integration*, giving the sign-in form the same bot protection as `NewsletterSignup` and `TestFontsForm`.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @generated SignedSource<<115e004f4831c3eb09ea98ab9cd0934a>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type CustomerSignInElementQuery$variables = Record<PropertyKey, never>;
8
+ export type CustomerSignInElementQuery$data = {
9
+ readonly viewer: {
10
+ readonly currentCustomer: {
11
+ readonly email: string | null;
12
+ readonly id: string;
13
+ readonly name: string | null;
14
+ } | null;
15
+ };
16
+ };
17
+ export type CustomerSignInElementQuery = {
18
+ response: CustomerSignInElementQuery$data;
19
+ variables: CustomerSignInElementQuery$variables;
20
+ };
21
+ declare const node: ConcreteRequest;
22
+ export default node;
@@ -0,0 +1,87 @@
1
+ /**
2
+ * @generated SignedSource<<115e004f4831c3eb09ea98ab9cd0934a>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ const node = function () {
12
+ var v0 = {
13
+ "alias": null,
14
+ "args": null,
15
+ "kind": "ScalarField",
16
+ "name": "id",
17
+ "storageKey": null
18
+ },
19
+ v1 = {
20
+ "alias": null,
21
+ "args": null,
22
+ "concreteType": "Customer",
23
+ "kind": "LinkedField",
24
+ "name": "currentCustomer",
25
+ "plural": false,
26
+ "selections": [v0 /*: any*/, {
27
+ "alias": null,
28
+ "args": null,
29
+ "kind": "ScalarField",
30
+ "name": "name",
31
+ "storageKey": null
32
+ }, {
33
+ "alias": null,
34
+ "args": null,
35
+ "kind": "ScalarField",
36
+ "name": "email",
37
+ "storageKey": null
38
+ }],
39
+ "storageKey": null
40
+ };
41
+ return {
42
+ "fragment": {
43
+ "argumentDefinitions": [],
44
+ "kind": "Fragment",
45
+ "metadata": null,
46
+ "name": "CustomerSignInElementQuery",
47
+ "selections": [{
48
+ "alias": null,
49
+ "args": null,
50
+ "concreteType": "Viewer",
51
+ "kind": "LinkedField",
52
+ "name": "viewer",
53
+ "plural": false,
54
+ "selections": [v1 /*: any*/],
55
+ "storageKey": null
56
+ }],
57
+ "type": "RootQueryType",
58
+ "abstractKey": null
59
+ },
60
+ "kind": "Request",
61
+ "operation": {
62
+ "argumentDefinitions": [],
63
+ "kind": "Operation",
64
+ "name": "CustomerSignInElementQuery",
65
+ "selections": [{
66
+ "alias": null,
67
+ "args": null,
68
+ "concreteType": "Viewer",
69
+ "kind": "LinkedField",
70
+ "name": "viewer",
71
+ "plural": false,
72
+ "selections": [v1 /*: any*/, v0 /*: any*/],
73
+ "storageKey": null
74
+ }]
75
+ },
76
+ "params": {
77
+ "cacheID": "3f3148c6d2bf1f2b90edfb3f217f6e50",
78
+ "id": null,
79
+ "metadata": {},
80
+ "name": "CustomerSignInElementQuery",
81
+ "operationKind": "query",
82
+ "text": "query CustomerSignInElementQuery {\n viewer {\n currentCustomer {\n id\n name\n email\n }\n id\n }\n}\n"
83
+ }
84
+ };
85
+ }();
86
+ node.hash = "e7d4a8fb8d19581d6bc36f29090230af";
87
+ export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<6c31f5ae3be50d8f352ff54f1dcefcf1>>
2
+ * @generated SignedSource<<a7931c30cf5e8e57f8a445e99e660127>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<6c31f5ae3be50d8f352ff54f1dcefcf1>>
2
+ * @generated SignedSource<<a7931c30cf5e8e57f8a445e99e660127>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -91,7 +91,11 @@ const node = function () {
91
91
  "storageKey": null
92
92
  }, {
93
93
  "alias": null,
94
- "args": null,
94
+ "args": [{
95
+ "kind": "Literal",
96
+ "name": "acrossFamilies",
97
+ "value": true
98
+ }],
95
99
  "concreteType": "Bundle",
96
100
  "kind": "LinkedField",
97
101
  "name": "bundles",
@@ -116,7 +120,7 @@ const node = function () {
116
120
  "kind": "FragmentSpread",
117
121
  "name": "StoreModalBundleButton_bundle"
118
122
  }],
119
- "storageKey": null
123
+ "storageKey": "bundles(acrossFamilies:true)"
120
124
  }, {
121
125
  "alias": null,
122
126
  "args": null,
@@ -137,5 +141,5 @@ const node = function () {
137
141
  "abstractKey": null
138
142
  };
139
143
  }();
140
- node.hash = "f136cd0050f0f75f561221fac75feb85";
144
+ node.hash = "9f2a8cd937ebe2c06f2bf771d38de985";
141
145
  export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<707ad44162117449e3674411f5f6f383>>
2
+ * @generated SignedSource<<6879b49c7ed4c15239072fdee19e8663>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<707ad44162117449e3674411f5f6f383>>
2
+ * @generated SignedSource<<6879b49c7ed4c15239072fdee19e8663>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -288,7 +288,11 @@ const node = function () {
288
288
  },
289
289
  v30 = {
290
290
  "alias": null,
291
- "args": null,
291
+ "args": [{
292
+ "kind": "Literal",
293
+ "name": "acrossFamilies",
294
+ "value": true
295
+ }],
292
296
  "concreteType": "Bundle",
293
297
  "kind": "LinkedField",
294
298
  "name": "bundles",
@@ -303,7 +307,7 @@ const node = function () {
303
307
  "selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
304
308
  "storageKey": null
305
309
  }, v12 /*: any*/, v15 /*: any*/],
306
- "storageKey": null
310
+ "storageKey": "bundles(acrossFamilies:true)"
307
311
  },
308
312
  v31 = {
309
313
  "alias": null,
@@ -774,12 +778,12 @@ const node = function () {
774
778
  }]
775
779
  },
776
780
  "params": {
777
- "cacheID": "02189659d07ea5233232f832804173b7",
781
+ "cacheID": "38b9ac37413b2104a1a786bdd185db13",
778
782
  "id": null,
779
783
  "metadata": {},
780
784
  "name": "StoreModalProductQuery",
781
785
  "operationKind": "query",
782
- "text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
786
+ "text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles(acrossFamilies: true) {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
783
787
  }
784
788
  };
785
789
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<3b8420bd66bdd1d36ec4ab67e6ade582>>
2
+ * @generated SignedSource<<5ff6991d572efd3da82bb9b8bc8c60de>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<3b8420bd66bdd1d36ec4ab67e6ade582>>
2
+ * @generated SignedSource<<5ff6991d572efd3da82bb9b8bc8c60de>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -286,7 +286,11 @@ const node = function () {
286
286
  },
287
287
  v28 = {
288
288
  "alias": null,
289
- "args": null,
289
+ "args": [{
290
+ "kind": "Literal",
291
+ "name": "acrossFamilies",
292
+ "value": true
293
+ }],
290
294
  "concreteType": "Bundle",
291
295
  "kind": "LinkedField",
292
296
  "name": "bundles",
@@ -301,7 +305,7 @@ const node = function () {
301
305
  "selections": [v6 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
302
306
  "storageKey": null
303
307
  }, v10 /*: any*/, v13 /*: any*/],
304
- "storageKey": null
308
+ "storageKey": "bundles(acrossFamilies:true)"
305
309
  },
306
310
  v29 = {
307
311
  "alias": null,
@@ -510,12 +514,12 @@ const node = function () {
510
514
  }]
511
515
  },
512
516
  "params": {
513
- "cacheID": "e76946d384161bdec43aed745ea8b411",
517
+ "cacheID": "60bff65fb72623a576209940b959d91c",
514
518
  "id": null,
515
519
  "metadata": {},
516
520
  "name": "StoreModalProductRefetchQuery",
517
521
  "operationKind": "query",
518
- "text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\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 SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
522
+ "text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\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 SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles(acrossFamilies: true) {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
519
523
  }
520
524
  };
521
525
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<5a1f99f864f7661fe006d3119e6d7c7f>>
2
+ * @generated SignedSource<<b23803b39edffe24d06bd453e4126256>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<5a1f99f864f7661fe006d3119e6d7c7f>>
2
+ * @generated SignedSource<<b23803b39edffe24d06bd453e4126256>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -293,7 +293,11 @@ const node = function () {
293
293
  },
294
294
  v31 = {
295
295
  "alias": null,
296
- "args": null,
296
+ "args": [{
297
+ "kind": "Literal",
298
+ "name": "acrossFamilies",
299
+ "value": true
300
+ }],
297
301
  "concreteType": "Bundle",
298
302
  "kind": "LinkedField",
299
303
  "name": "bundles",
@@ -308,7 +312,7 @@ const node = function () {
308
312
  "selections": [v4 /*: any*/, v19 /*: any*/, v28 /*: any*/, v29 /*: any*/, v13 /*: any*/, v23 /*: any*/, v30 /*: any*/, v16 /*: any*/, v21 /*: any*/, v22 /*: any*/],
309
313
  "storageKey": null
310
314
  }, v13 /*: any*/, v16 /*: any*/],
311
- "storageKey": null
315
+ "storageKey": "bundles(acrossFamilies:true)"
312
316
  },
313
317
  v32 = {
314
318
  "alias": null,
@@ -814,12 +818,12 @@ const node = function () {
814
818
  }]
815
819
  },
816
820
  "params": {
817
- "cacheID": "15c4e68db3f3b5c73c62182dd26404ac",
821
+ "cacheID": "5393d2c838943cbce941bcca7dd5aa4d",
818
822
  "id": null,
819
823
  "metadata": {},
820
824
  "name": "StoreModalProductSlugQuery",
821
825
  "operationKind": "query",
822
- "text": "query StoreModalProductSlugQuery(\n $productSlug: String!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n viewer {\n slug(name: $productSlug) {\n collection: fontCollection {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n pack: fontPack {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n id\n }\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
826
+ "text": "query StoreModalProductSlugQuery(\n $productSlug: String!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n viewer {\n slug(name: $productSlug) {\n collection: fontCollection {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n pack: fontPack {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n id\n }\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles(acrossFamilies: true) {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
823
827
  }
824
828
  };
825
829
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<925530e7d4ec77a773367f26953fcb94>>
2
+ * @generated SignedSource<<c982d977739156bf458823aeab72a167>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -67,34 +67,6 @@ export type productState_Query$data = {
67
67
  };
68
68
  } | null;
69
69
  }> | null;
70
- readonly collectionBundles: ReadonlyArray<{
71
- readonly id: string;
72
- readonly memberCollections: ReadonlyArray<{
73
- readonly fontStyles: ReadonlyArray<{
74
- readonly id: string;
75
- readonly sku: {
76
- readonly id: string;
77
- readonly price: {
78
- readonly amount: number;
79
- };
80
- } | null;
81
- }>;
82
- readonly id: string;
83
- readonly sku: {
84
- readonly id: string;
85
- readonly price: {
86
- readonly amount: number;
87
- };
88
- } | null;
89
- }> | null;
90
- readonly name: string;
91
- readonly sku: {
92
- readonly id: string;
93
- readonly price: {
94
- readonly amount: number;
95
- };
96
- } | null;
97
- }> | null;
98
70
  readonly fontStyles: ReadonlyArray<{
99
71
  readonly id: string;
100
72
  readonly sku: {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<925530e7d4ec77a773367f26953fcb94>>
2
+ * @generated SignedSource<<c982d977739156bf458823aeab72a167>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -77,34 +77,19 @@ const node = function () {
77
77
  },
78
78
  v7 = {
79
79
  "alias": null,
80
- "args": null,
80
+ "args": [{
81
+ "kind": "Literal",
82
+ "name": "acrossFamilies",
83
+ "value": true
84
+ }],
81
85
  "concreteType": "Bundle",
82
86
  "kind": "LinkedField",
83
87
  "name": "bundles",
84
88
  "plural": true,
85
89
  "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/],
86
- "storageKey": null
90
+ "storageKey": "bundles(acrossFamilies:true)"
87
91
  },
88
92
  v8 = {
89
- "alias": null,
90
- "args": null,
91
- "concreteType": "CollectionBundle",
92
- "kind": "LinkedField",
93
- "name": "collectionBundles",
94
- "plural": true,
95
- "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, {
96
- "alias": null,
97
- "args": null,
98
- "concreteType": "FontCollection",
99
- "kind": "LinkedField",
100
- "name": "memberCollections",
101
- "plural": true,
102
- "selections": [v3 /*: any*/, v5 /*: any*/, v6 /*: any*/],
103
- "storageKey": null
104
- }],
105
- "storageKey": null
106
- },
107
- v9 = {
108
93
  "alias": null,
109
94
  "args": [{
110
95
  "kind": "Literal",
@@ -118,9 +103,9 @@ const node = function () {
118
103
  "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/],
119
104
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
120
105
  },
121
- v10 = {
106
+ v9 = {
122
107
  "kind": "InlineFragment",
123
- "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
108
+ "selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
124
109
  "type": "FontCollection",
125
110
  "abstractKey": null
126
111
  };
@@ -139,7 +124,7 @@ const node = function () {
139
124
  "plural": false,
140
125
  "selections": [{
141
126
  "kind": "InlineFragment",
142
- "selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/],
127
+ "selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
143
128
  "type": "FontCollection",
144
129
  "abstractKey": null
145
130
  }, {
@@ -151,7 +136,7 @@ const node = function () {
151
136
  "kind": "LinkedField",
152
137
  "name": "members",
153
138
  "plural": true,
154
- "selections": [v2 /*: any*/, v10 /*: any*/],
139
+ "selections": [v2 /*: any*/, v9 /*: any*/],
155
140
  "storageKey": null
156
141
  }],
157
142
  "type": "FontPack",
@@ -176,7 +161,7 @@ const node = function () {
176
161
  "plural": false,
177
162
  "selections": [v2 /*: any*/, v3 /*: any*/, {
178
163
  "kind": "InlineFragment",
179
- "selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/],
164
+ "selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
180
165
  "type": "FontCollection",
181
166
  "abstractKey": null
182
167
  }, {
@@ -188,7 +173,7 @@ const node = function () {
188
173
  "kind": "LinkedField",
189
174
  "name": "members",
190
175
  "plural": true,
191
- "selections": [v2 /*: any*/, v10 /*: any*/, {
176
+ "selections": [v2 /*: any*/, v9 /*: any*/, {
192
177
  "kind": "InlineFragment",
193
178
  "selections": [v3 /*: any*/],
194
179
  "type": "Node",
@@ -203,12 +188,12 @@ const node = function () {
203
188
  }]
204
189
  },
205
190
  "params": {
206
- "cacheID": "47288a3b11085a6e8771d765f203f545",
191
+ "cacheID": "35e4711d9da320d91e489653a128a18e",
207
192
  "id": null,
208
193
  "metadata": {},
209
194
  "name": "productState_Query",
210
195
  "operationKind": "query",
211
- "text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n collectionBundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n memberCollections {\n id\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on FontPack {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n members {\n __typename\n ... on FontCollection {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n id\n }\n}\n"
196
+ "text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles(acrossFamilies: true) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles(acrossFamilies: true) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on FontPack {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n members {\n __typename\n ... on FontCollection {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles(acrossFamilies: true) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles(acrossFamilies: true) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n id\n }\n}\n"
212
197
  }
213
198
  };
214
199
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<1d5700e0886a4a58d6f96732985e3d02>>
2
+ * @generated SignedSource<<9b7dc1f76b6bd7def12a2a60897ece3d>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<1d5700e0886a4a58d6f96732985e3d02>>
2
+ * @generated SignedSource<<9b7dc1f76b6bd7def12a2a60897ece3d>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -67,17 +67,21 @@ const node = function () {
67
67
  "name": "productState_collection",
68
68
  "selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, {
69
69
  "alias": null,
70
- "args": null,
70
+ "args": [{
71
+ "kind": "Literal",
72
+ "name": "acrossFamilies",
73
+ "value": true
74
+ }],
71
75
  "concreteType": "Bundle",
72
76
  "kind": "LinkedField",
73
77
  "name": "bundles",
74
78
  "plural": true,
75
79
  "selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/],
76
- "storageKey": null
80
+ "storageKey": "bundles(acrossFamilies:true)"
77
81
  }],
78
82
  "type": "FontCollection",
79
83
  "abstractKey": null
80
84
  };
81
85
  }();
82
- node.hash = "90e56933f956c6773c0958284de81884";
86
+ node.hash = "5ad23bbf68581f27e769ebb0cda70f8e";
83
87
  export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<c00a5a25369b3afa2e42b1f47d1fa26a>>
2
+ * @generated SignedSource<<225503323456f9f96cbe77f3b83dd674>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */