fontdue-js 3.6.0 → 3.8.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 (167) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +5 -4
  3. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
  4. package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
  5. package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
  6. package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
  7. package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
  8. package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
  9. package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
  10. package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
  11. package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
  12. package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
  13. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
  14. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
  15. package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
  16. package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
  17. package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
  18. package/dist/__generated__/BuyButton_product.graphql.js +72 -0
  19. package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
  20. package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
  21. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  22. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
  23. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  24. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
  25. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
  26. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
  27. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  28. package/dist/__generated__/CartQuery.graphql.js +26 -20
  29. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
  30. package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
  31. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  32. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
  33. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  34. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
  35. package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
  36. package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
  37. package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
  38. package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
  39. package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +4 -1
  40. package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
  41. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
  42. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
  43. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
  44. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
  45. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  46. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
  47. package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
  48. package/dist/__generated__/PriceBar_node.graphql.js +23 -16
  49. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  50. package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
  51. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
  52. package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
  53. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
  54. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
  55. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
  56. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
  57. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +6 -3
  58. package/dist/__generated__/StoreModalIndexQuery.graphql.js +218 -117
  59. package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
  60. package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
  61. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
  62. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
  63. package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
  64. package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
  65. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +6 -2
  66. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +43 -19
  67. package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +7 -6
  68. package/dist/__generated__/StoreModalProductLicenseSelection_licenseable.graphql.js +43 -0
  69. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  70. package/dist/__generated__/StoreModalProductQuery.graphql.js +199 -142
  71. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  72. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +190 -133
  73. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
  74. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +254 -176
  75. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  76. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
  77. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
  78. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
  79. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  80. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
  81. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  82. package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
  83. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
  84. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
  85. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  86. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
  87. package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
  88. package/dist/__generated__/productState_Query.graphql.js +43 -4
  89. package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
  90. package/dist/__generated__/productState_fontPack.graphql.js +117 -0
  91. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
  92. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
  93. package/dist/__tests__/bundleSelectionOrder.test.js +94 -0
  94. package/dist/__tests__/collectionBundleSelection.test.js +443 -1446
  95. package/dist/__tests__/fontPackSelection.test.js +435 -0
  96. package/dist/__tests__/infiniteScroll.test.js +180 -0
  97. package/dist/__tests__/licenseExclusions.test.js +4 -1
  98. package/dist/__tests__/storeModalPackButton.test.js +102 -0
  99. package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
  100. package/dist/__tests__/storeModalRoutes.test.js +9 -0
  101. package/dist/__tests__/storefrontEvents.test.js +167 -0
  102. package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
  103. package/dist/components/AddToCartBanner/index.js +1 -1
  104. package/dist/components/BuyButton/index.d.ts +29 -9
  105. package/dist/components/BuyButton/index.js +123 -26
  106. package/dist/components/BuyButton/index.server.d.ts +4 -2
  107. package/dist/components/BuyButton/index.server.js +24 -3
  108. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
  109. package/dist/components/Cart/Checkout.js +11 -1
  110. package/dist/components/Cart/storefrontEvents.d.ts +34 -0
  111. package/dist/components/Cart/storefrontEvents.js +138 -0
  112. package/dist/components/CollectionAa/index.js +2 -2
  113. package/dist/components/FontFamilies/index.js +4 -3
  114. package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
  115. package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
  116. package/dist/components/NodePasswordForm/index.d.ts +7 -4
  117. package/dist/components/NodePasswordForm/index.js +6 -6
  118. package/dist/components/Precart/index.js +6 -0
  119. package/dist/components/PriceBar/index.js +5 -3
  120. package/dist/components/Root/productState.d.ts +2 -8
  121. package/dist/components/Root/productState.js +100 -61
  122. package/dist/components/SKUPrice/index.js +7 -8
  123. package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
  124. package/dist/components/StoreModal/StoreModalFamily.js +11 -7
  125. package/dist/components/StoreModal/StoreModalIndex.js +58 -7
  126. package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
  127. package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
  128. package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
  129. package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
  130. package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
  131. package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
  132. package/dist/components/StoreModal/StoreModalPack.js +79 -0
  133. package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
  134. package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
  135. package/dist/components/StoreModal/StoreModalProduct.js +49 -19
  136. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
  137. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
  138. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
  139. package/dist/components/StoreModalProductLicenseSelection/index.js +7 -6
  140. package/dist/components/StoreModalProductSummary/index.js +1 -1
  141. package/dist/components/TypeTester/useTypeTesterStyler.js +1 -0
  142. package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
  143. package/dist/components/elements/StoreModalContainer/index.js +9 -4
  144. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
  145. package/dist/components/elements/StoreModalFamily/index.js +1 -1
  146. package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
  147. package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
  148. package/dist/components/elements/StoreModalUnifiedCheckout.js +12 -0
  149. package/dist/components/useInfiniteScroll.d.ts +28 -0
  150. package/dist/components/useInfiniteScroll.js +50 -0
  151. package/dist/fontdue.css +39 -0
  152. package/dist/hooks/useAutofit.d.ts +2 -1
  153. package/dist/hooks/useAutofit.js +10 -4
  154. package/dist/reducer.d.ts +12 -5
  155. package/dist/reducer.js +18 -87
  156. package/dist/selection.d.ts +44 -0
  157. package/dist/selection.js +539 -0
  158. package/dist/storeModalRoutes.js +5 -4
  159. package/dist/utils.d.ts +1 -12
  160. package/dist/utils.js +1 -36
  161. package/dist/version.js +1 -1
  162. package/package.json +1 -1
  163. package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
  164. package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
  165. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +0 -40
  166. package/fontdue.css +0 -2733
  167. package/fontdue.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<74cae87a2fa5e1e7b1ee3b6482faabae>>
2
+ * @generated SignedSource<<1d375bd2dbb244662c59ea9b56aafdee>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -145,37 +145,47 @@ const node = function () {
145
145
  },
146
146
  v12 = [v9 /*: any*/, v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, v2 /*: any*/],
147
147
  v13 = {
148
+ "alias": null,
149
+ "args": null,
150
+ "concreteType": "FontStyle",
151
+ "kind": "LinkedField",
152
+ "name": "featureStyle",
153
+ "plural": false,
154
+ "selections": v12 /*: any*/,
155
+ "storageKey": null
156
+ },
157
+ v14 = {
148
158
  "alias": null,
149
159
  "args": null,
150
160
  "kind": "ScalarField",
151
161
  "name": "totalStyles",
152
162
  "storageKey": null
153
163
  },
154
- v14 = [v4 /*: any*/, v2 /*: any*/],
155
- v15 = {
164
+ v15 = [v4 /*: any*/, v2 /*: any*/],
165
+ v16 = {
156
166
  "alias": null,
157
167
  "args": null,
158
168
  "concreteType": "FontCollection",
159
169
  "kind": "LinkedField",
160
170
  "name": "fontCollection",
161
171
  "plural": false,
162
- "selections": v14 /*: any*/,
172
+ "selections": v15 /*: any*/,
163
173
  "storageKey": null
164
174
  },
165
- v16 = {
175
+ v17 = {
166
176
  "alias": null,
167
177
  "args": null,
168
178
  "kind": "ScalarField",
169
179
  "name": "email",
170
180
  "storageKey": null
171
181
  },
172
- v17 = [v4 /*: any*/, {
182
+ v18 = [v4 /*: any*/, {
173
183
  "alias": null,
174
184
  "args": null,
175
185
  "kind": "ScalarField",
176
186
  "name": "organization",
177
187
  "storageKey": null
178
- }, v16 /*: any*/, {
188
+ }, v17 /*: any*/, {
179
189
  "alias": null,
180
190
  "args": null,
181
191
  "kind": "ScalarField",
@@ -429,22 +439,13 @@ const node = function () {
429
439
  "storageKey": null
430
440
  }, {
431
441
  "kind": "InlineFragment",
432
- "selections": [{
433
- "alias": null,
434
- "args": null,
435
- "concreteType": "FontStyle",
436
- "kind": "LinkedField",
437
- "name": "featureStyle",
438
- "plural": false,
439
- "selections": v12 /*: any*/,
440
- "storageKey": null
441
- }, v4 /*: any*/, {
442
+ "selections": [v13 /*: any*/, v4 /*: any*/, {
442
443
  "alias": null,
443
444
  "args": null,
444
445
  "kind": "ScalarField",
445
446
  "name": "isVariableFont",
446
447
  "storageKey": null
447
- }, v13 /*: any*/],
448
+ }, v14 /*: any*/],
448
449
  "type": "FontCollection",
449
450
  "abstractKey": null
450
451
  }, {
@@ -458,9 +459,14 @@ const node = function () {
458
459
  "plural": true,
459
460
  "selections": v12 /*: any*/,
460
461
  "storageKey": null
461
- }, v4 /*: any*/, v15 /*: any*/],
462
+ }, v4 /*: any*/, v16 /*: any*/],
462
463
  "type": "Bundle",
463
464
  "abstractKey": null
465
+ }, {
466
+ "kind": "InlineFragment",
467
+ "selections": [v13 /*: any*/, v4 /*: any*/, v14 /*: any*/],
468
+ "type": "FontPack",
469
+ "abstractKey": null
464
470
  }, {
465
471
  "kind": "InlineFragment",
466
472
  "selections": [v9 /*: any*/, v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, {
@@ -470,7 +476,7 @@ const node = function () {
470
476
  "kind": "LinkedField",
471
477
  "name": "family",
472
478
  "plural": false,
473
- "selections": v14 /*: any*/,
479
+ "selections": v15 /*: any*/,
474
480
  "storageKey": null
475
481
  }, {
476
482
  "alias": null,
@@ -486,7 +492,7 @@ const node = function () {
486
492
  "abstractKey": null
487
493
  }, {
488
494
  "kind": "InlineFragment",
489
- "selections": [v4 /*: any*/, v13 /*: any*/, v15 /*: any*/],
495
+ "selections": [v4 /*: any*/, v14 /*: any*/, v16 /*: any*/],
490
496
  "type": "CollectionBundle",
491
497
  "abstractKey": null
492
498
  }, {
@@ -545,7 +551,7 @@ const node = function () {
545
551
  "kind": "LinkedField",
546
552
  "name": "customer",
547
553
  "plural": false,
548
- "selections": [v4 /*: any*/, v16 /*: any*/, {
554
+ "selections": [v4 /*: any*/, v17 /*: any*/, {
549
555
  "alias": null,
550
556
  "args": null,
551
557
  "kind": "ScalarField",
@@ -566,7 +572,7 @@ const node = function () {
566
572
  "kind": "LinkedField",
567
573
  "name": "billingIdentity",
568
574
  "plural": false,
569
- "selections": v17 /*: any*/,
575
+ "selections": v18 /*: any*/,
570
576
  "storageKey": null
571
577
  }, {
572
578
  "alias": null,
@@ -575,7 +581,7 @@ const node = function () {
575
581
  "kind": "LinkedField",
576
582
  "name": "licenseeIdentity",
577
583
  "plural": false,
578
- "selections": v17 /*: any*/,
584
+ "selections": v18 /*: any*/,
579
585
  "storageKey": null
580
586
  }, {
581
587
  "alias": null,
@@ -794,12 +800,12 @@ const node = function () {
794
800
  }]
795
801
  },
796
802
  "params": {
797
- "cacheID": "f3a6fbea57b8bd67db4dd92a274005a2",
803
+ "cacheID": "9e0f389a2e608520306ab7b58dc41aef",
798
804
  "id": null,
799
805
  "metadata": {},
800
806
  "name": "PrecartAddToCartMutation",
801
807
  "operationKind": "mutation",
802
- "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
808
+ "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontPack {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n ... on FontPack {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on FontPack {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
803
809
  }
804
810
  };
805
811
  }();
@@ -1,14 +1,17 @@
1
1
  /**
2
- * @generated SignedSource<<0954b7b421419075cc0c3e3b9fd5edae>>
2
+ * @generated SignedSource<<efd2c9edf7e4aebfdf6434a0a340a08f>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
+ export type Visibility = "HIDDEN" | "UNLISTED" | "VISIBLE" | "%future added value";
7
8
  import { FragmentRefs } from "relay-runtime";
8
9
  export type PriceBar_node$data = {
9
10
  readonly parent: {
11
+ readonly visibility: Visibility;
10
12
  readonly " $fragmentSpreads": FragmentRefs<"PriceBarSection_node">;
11
13
  } | null;
14
+ readonly visibility: Visibility;
12
15
  readonly " $fragmentSpreads": FragmentRefs<"PriceBarSection_node">;
13
16
  readonly " $fragmentType": "PriceBar_node";
14
17
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<0954b7b421419075cc0c3e3b9fd5edae>>
2
+ * @generated SignedSource<<efd2c9edf7e4aebfdf6434a0a340a08f>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -10,18 +10,25 @@
10
10
 
11
11
  const node = function () {
12
12
  var v0 = {
13
- "args": [{
14
- "kind": "Variable",
15
- "name": "licenseOptions",
16
- "variableName": "licenseOptions"
17
- }, {
18
- "kind": "Variable",
19
- "name": "orderVariables",
20
- "variableName": "orderVariables"
21
- }],
22
- "kind": "FragmentSpread",
23
- "name": "PriceBarSection_node"
24
- };
13
+ "alias": null,
14
+ "args": null,
15
+ "kind": "ScalarField",
16
+ "name": "visibility",
17
+ "storageKey": null
18
+ },
19
+ v1 = {
20
+ "args": [{
21
+ "kind": "Variable",
22
+ "name": "licenseOptions",
23
+ "variableName": "licenseOptions"
24
+ }, {
25
+ "kind": "Variable",
26
+ "name": "orderVariables",
27
+ "variableName": "orderVariables"
28
+ }],
29
+ "kind": "FragmentSpread",
30
+ "name": "PriceBarSection_node"
31
+ };
25
32
  return {
26
33
  "argumentDefinitions": [{
27
34
  "defaultValue": [],
@@ -35,19 +42,19 @@ const node = function () {
35
42
  "kind": "Fragment",
36
43
  "metadata": null,
37
44
  "name": "PriceBar_node",
38
- "selections": [v0 /*: any*/, {
45
+ "selections": [v0 /*: any*/, v1 /*: any*/, {
39
46
  "alias": null,
40
47
  "args": null,
41
48
  "concreteType": "FontCollection",
42
49
  "kind": "LinkedField",
43
50
  "name": "parent",
44
51
  "plural": false,
45
- "selections": [v0 /*: any*/],
52
+ "selections": [v0 /*: any*/, v1 /*: any*/],
46
53
  "storageKey": null
47
54
  }],
48
55
  "type": "FontCollection",
49
56
  "abstractKey": null
50
57
  };
51
58
  }();
52
- node.hash = "60c5de3c786db43860478f1b0e00f3df";
59
+ node.hash = "ccde4ddfe0fb771462c7a0eccf4db454";
53
60
  export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<ca8c8ec72b40fa2386e3559630edeae9>>
2
+ * @generated SignedSource<<38ec6d921d00ca7753eb5c9caae8dcfd>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<ca8c8ec72b40fa2386e3559630edeae9>>
2
+ * @generated SignedSource<<38ec6d921d00ca7753eb5c9caae8dcfd>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -183,39 +183,49 @@ const node = function () {
183
183
  },
184
184
  v21 = [v9 /*: any*/, v7 /*: any*/, v19 /*: any*/, v20 /*: any*/, v1 /*: any*/],
185
185
  v22 = {
186
+ "alias": null,
187
+ "args": null,
188
+ "concreteType": "FontStyle",
189
+ "kind": "LinkedField",
190
+ "name": "featureStyle",
191
+ "plural": false,
192
+ "selections": v21 /*: any*/,
193
+ "storageKey": null
194
+ },
195
+ v23 = {
186
196
  "alias": null,
187
197
  "args": null,
188
198
  "kind": "ScalarField",
189
199
  "name": "totalStyles",
190
200
  "storageKey": null
191
201
  },
192
- v23 = [v7 /*: any*/, v1 /*: any*/],
193
- v24 = {
202
+ v24 = [v7 /*: any*/, v1 /*: any*/],
203
+ v25 = {
194
204
  "alias": null,
195
205
  "args": null,
196
206
  "concreteType": "FontCollection",
197
207
  "kind": "LinkedField",
198
208
  "name": "fontCollection",
199
209
  "plural": false,
200
- "selections": v23 /*: any*/,
210
+ "selections": v24 /*: any*/,
201
211
  "storageKey": null
202
212
  },
203
- v25 = [v1 /*: any*/, v2 /*: any*/],
204
- v26 = {
213
+ v26 = [v1 /*: any*/, v2 /*: any*/],
214
+ v27 = {
205
215
  "alias": null,
206
216
  "args": null,
207
217
  "kind": "ScalarField",
208
218
  "name": "email",
209
219
  "storageKey": null
210
220
  },
211
- v27 = {
221
+ v28 = {
212
222
  "alias": null,
213
223
  "args": null,
214
224
  "kind": "ScalarField",
215
225
  "name": "country",
216
226
  "storageKey": null
217
227
  },
218
- v28 = [v26 /*: any*/, {
228
+ v29 = [v27 /*: any*/, {
219
229
  "alias": null,
220
230
  "args": null,
221
231
  "kind": "ScalarField",
@@ -263,7 +273,7 @@ const node = function () {
263
273
  "kind": "ScalarField",
264
274
  "name": "sublocality",
265
275
  "storageKey": null
266
- }, v27 /*: any*/, {
276
+ }, v28 /*: any*/, {
267
277
  "alias": null,
268
278
  "args": null,
269
279
  "kind": "ScalarField",
@@ -679,22 +689,13 @@ const node = function () {
679
689
  "storageKey": null
680
690
  }, {
681
691
  "kind": "InlineFragment",
682
- "selections": [{
683
- "alias": null,
684
- "args": null,
685
- "concreteType": "FontStyle",
686
- "kind": "LinkedField",
687
- "name": "featureStyle",
688
- "plural": false,
689
- "selections": v21 /*: any*/,
690
- "storageKey": null
691
- }, v7 /*: any*/, {
692
+ "selections": [v22 /*: any*/, v7 /*: any*/, {
692
693
  "alias": null,
693
694
  "args": null,
694
695
  "kind": "ScalarField",
695
696
  "name": "isVariableFont",
696
697
  "storageKey": null
697
- }, v22 /*: any*/],
698
+ }, v23 /*: any*/],
698
699
  "type": "FontCollection",
699
700
  "abstractKey": null
700
701
  }, {
@@ -708,9 +709,14 @@ const node = function () {
708
709
  "plural": true,
709
710
  "selections": v21 /*: any*/,
710
711
  "storageKey": null
711
- }, v7 /*: any*/, v24 /*: any*/],
712
+ }, v7 /*: any*/, v25 /*: any*/],
712
713
  "type": "Bundle",
713
714
  "abstractKey": null
715
+ }, {
716
+ "kind": "InlineFragment",
717
+ "selections": [v22 /*: any*/, v7 /*: any*/, v23 /*: any*/],
718
+ "type": "FontPack",
719
+ "abstractKey": null
714
720
  }, {
715
721
  "kind": "InlineFragment",
716
722
  "selections": [v9 /*: any*/, v7 /*: any*/, v19 /*: any*/, v20 /*: any*/, {
@@ -720,7 +726,7 @@ const node = function () {
720
726
  "kind": "LinkedField",
721
727
  "name": "family",
722
728
  "plural": false,
723
- "selections": v23 /*: any*/,
729
+ "selections": v24 /*: any*/,
724
730
  "storageKey": null
725
731
  }, {
726
732
  "alias": null,
@@ -736,7 +742,7 @@ const node = function () {
736
742
  "abstractKey": null
737
743
  }, {
738
744
  "kind": "InlineFragment",
739
- "selections": [v7 /*: any*/, v22 /*: any*/, v24 /*: any*/],
745
+ "selections": [v7 /*: any*/, v23 /*: any*/, v25 /*: any*/],
740
746
  "type": "CollectionBundle",
741
747
  "abstractKey": null
742
748
  }, {
@@ -796,7 +802,7 @@ const node = function () {
796
802
  "kind": "LinkedField",
797
803
  "name": "orderVariableOption",
798
804
  "plural": false,
799
- "selections": v25 /*: any*/,
805
+ "selections": v26 /*: any*/,
800
806
  "storageKey": null
801
807
  }, {
802
808
  "alias": null,
@@ -954,7 +960,7 @@ const node = function () {
954
960
  "kind": "LinkedField",
955
961
  "name": "customer",
956
962
  "plural": false,
957
- "selections": [v7 /*: any*/, v26 /*: any*/, {
963
+ "selections": [v7 /*: any*/, v27 /*: any*/, {
958
964
  "alias": null,
959
965
  "args": null,
960
966
  "kind": "ScalarField",
@@ -975,7 +981,7 @@ const node = function () {
975
981
  "kind": "LinkedField",
976
982
  "name": "licenseeIdentity",
977
983
  "plural": false,
978
- "selections": v28 /*: any*/,
984
+ "selections": v29 /*: any*/,
979
985
  "storageKey": null
980
986
  }, {
981
987
  "alias": null,
@@ -984,7 +990,7 @@ const node = function () {
984
990
  "kind": "LinkedField",
985
991
  "name": "billingIdentity",
986
992
  "plural": false,
987
- "selections": v28 /*: any*/,
993
+ "selections": v29 /*: any*/,
988
994
  "storageKey": null
989
995
  }, v6 /*: any*/],
990
996
  "storageKey": null
@@ -1012,7 +1018,7 @@ const node = function () {
1012
1018
  "kind": "LinkedField",
1013
1019
  "name": "orderVariableOptions",
1014
1020
  "plural": true,
1015
- "selections": v25 /*: any*/,
1021
+ "selections": v26 /*: any*/,
1016
1022
  "storageKey": null
1017
1023
  }],
1018
1024
  "storageKey": null
@@ -1031,7 +1037,7 @@ const node = function () {
1031
1037
  "storageKey": null
1032
1038
  }, v7 /*: any*/],
1033
1039
  "storageKey": null
1034
- }, v27 /*: any*/, {
1040
+ }, v28 /*: any*/, {
1035
1041
  "alias": null,
1036
1042
  "args": null,
1037
1043
  "kind": "ScalarField",
@@ -1042,12 +1048,12 @@ const node = function () {
1042
1048
  }]
1043
1049
  },
1044
1050
  "params": {
1045
- "cacheID": "46f9521c43637ab3210dfd34ee9852d6",
1051
+ "cacheID": "9df1a342f45d7fbafbeb479fd1f3dd0b",
1046
1052
  "id": null,
1047
1053
  "metadata": {},
1048
1054
  "name": "StoreModalCartQuery",
1049
1055
  "operationKind": "query",
1050
- "text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, 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 StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n recaptchaEnabled\n recaptchaSiteKey\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
1056
+ "text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n ... on FontPack {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on FontPack {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, 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 StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n recaptchaEnabled\n recaptchaSiteKey\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
1051
1057
  }
1052
1058
  };
1053
1059
  }();
@@ -1,9 +1,10 @@
1
1
  /**
2
- * @generated SignedSource<<71e15c23d9444275ac11174d1e9f180b>>
2
+ * @generated SignedSource<<6c31f5ae3be50d8f352ff54f1dcefcf1>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
+ export type Visibility = "HIDDEN" | "UNLISTED" | "VISIBLE" | "%future added value";
7
8
  import { FragmentRefs } from "relay-runtime";
8
9
  export type StoreModalFamily_collection$data = {
9
10
  readonly bundles: ReadonlyArray<{
@@ -14,8 +15,8 @@ export type StoreModalFamily_collection$data = {
14
15
  readonly id: string;
15
16
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalStyleButton_fontStyle">;
16
17
  }> | null;
17
- readonly hidden: boolean | null;
18
18
  readonly id: string;
19
+ readonly visibility: Visibility;
19
20
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalBundleButton_bundle">;
20
21
  }> | null;
21
22
  readonly collectionType: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<71e15c23d9444275ac11174d1e9f180b>>
2
+ * @generated SignedSource<<6c31f5ae3be50d8f352ff54f1dcefcf1>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -100,7 +100,7 @@ const node = function () {
100
100
  "alias": null,
101
101
  "args": null,
102
102
  "kind": "ScalarField",
103
- "name": "hidden",
103
+ "name": "visibility",
104
104
  "storageKey": null
105
105
  }, {
106
106
  "alias": null,
@@ -137,5 +137,5 @@ const node = function () {
137
137
  "abstractKey": null
138
138
  };
139
139
  }();
140
- node.hash = "d2d429ebada7593dd5debcce7a69317d";
140
+ node.hash = "f136cd0050f0f75f561221fac75feb85";
141
141
  export default node;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @generated SignedSource<<154dd07078499a4eff14f3ee4ec42da2>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type StoreModalIndexPackItem_fontPack$data = {
9
+ readonly featureStyle: {
10
+ readonly supportedLanguages: ReadonlyArray<string> | null;
11
+ readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle">;
12
+ } | null;
13
+ readonly id: string;
14
+ readonly name: string;
15
+ readonly totalStyles: number | null;
16
+ readonly " $fragmentType": "StoreModalIndexPackItem_fontPack";
17
+ };
18
+ export type StoreModalIndexPackItem_fontPack$key = {
19
+ readonly " $data"?: StoreModalIndexPackItem_fontPack$data;
20
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndexPackItem_fontPack">;
21
+ };
22
+ declare const node: ReaderFragment;
23
+ export default node;
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @generated SignedSource<<154dd07078499a4eff14f3ee4ec42da2>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ const node = {
12
+ "argumentDefinitions": [],
13
+ "kind": "Fragment",
14
+ "metadata": null,
15
+ "name": "StoreModalIndexPackItem_fontPack",
16
+ "selections": [{
17
+ "alias": null,
18
+ "args": null,
19
+ "kind": "ScalarField",
20
+ "name": "id",
21
+ "storageKey": null
22
+ }, {
23
+ "alias": null,
24
+ "args": null,
25
+ "kind": "ScalarField",
26
+ "name": "name",
27
+ "storageKey": null
28
+ }, {
29
+ "alias": null,
30
+ "args": null,
31
+ "kind": "ScalarField",
32
+ "name": "totalStyles",
33
+ "storageKey": null
34
+ }, {
35
+ "alias": null,
36
+ "args": null,
37
+ "concreteType": "FontStyle",
38
+ "kind": "LinkedField",
39
+ "name": "featureStyle",
40
+ "plural": false,
41
+ "selections": [{
42
+ "args": null,
43
+ "kind": "FragmentSpread",
44
+ "name": "FontStyle_fontStyle"
45
+ }, {
46
+ "alias": null,
47
+ "args": null,
48
+ "kind": "ScalarField",
49
+ "name": "supportedLanguages",
50
+ "storageKey": null
51
+ }],
52
+ "storageKey": null
53
+ }],
54
+ "type": "FontPack",
55
+ "abstractKey": null
56
+ };
57
+ node.hash = "47273d9e96f713344a4e62f4c5517161";
58
+ export default node;