fontdue-js 1.9.0 → 1.10.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 (213) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
  3. package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +1 -1
  4. package/dist/__generated__/CartButtonQuery.graphql.d.ts +1 -1
  5. package/dist/__generated__/CartItem_node.graphql.d.ts +4 -0
  6. package/dist/__generated__/CartItem_node.graphql.js +26 -6
  7. package/dist/__generated__/CartItem_product.graphql.d.ts +4 -0
  8. package/dist/__generated__/CartItem_product.graphql.js +25 -5
  9. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +23 -2
  10. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +23 -2
  11. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +23 -2
  12. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +23 -2
  13. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  14. package/dist/__generated__/CartQuery.graphql.js +23 -2
  15. package/dist/__generated__/CartStateUpdateMutation.graphql.js +23 -2
  16. package/dist/__generated__/CharacterViewer_Query.graphql.js +77 -6
  17. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +1 -1
  18. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +77 -6
  19. package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +23 -0
  20. package/dist/__generated__/CharacterViewer_collection.graphql.js +53 -5
  21. package/dist/__generated__/CharacterViewer_family.graphql.d.ts +8 -0
  22. package/dist/__generated__/CharacterViewer_family.graphql.js +39 -1
  23. package/dist/__generated__/CheckoutRefetchQuery.graphql.d.ts +17 -0
  24. package/dist/__generated__/CheckoutRefetchQuery.graphql.js +296 -0
  25. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +23 -2
  26. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +23 -2
  27. package/dist/__generated__/Checkout_Refetch_Query.graphql.d.ts +1 -1
  28. package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +31 -0
  29. package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +97 -0
  30. package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.d.ts +1 -1
  31. package/dist/__generated__/FamilyList_node.graphql.d.ts +1 -0
  32. package/dist/__generated__/FamilyList_node.graphql.js +11 -1
  33. package/dist/__generated__/FontFamiliesQuery.graphql.js +36 -24
  34. package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +1 -1
  35. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +23 -2
  36. package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
  37. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  38. package/dist/__generated__/StoreModalCartQuery.graphql.js +23 -2
  39. package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
  40. package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +1 -1
  41. package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +2 -0
  42. package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +11 -1
  43. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -0
  44. package/dist/__generated__/StoreModalFamily_collection.graphql.js +7 -1
  45. package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +28 -0
  46. package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +111 -0
  47. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +2 -10
  48. package/dist/__generated__/StoreModalIndexQuery.graphql.js +81 -54
  49. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  50. package/dist/__generated__/StoreModalProductQuery.graphql.js +156 -63
  51. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  52. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
  53. package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +10 -0
  54. package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +53 -7
  55. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +23 -2
  56. package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +1 -1
  57. package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +1 -1
  58. package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +1 -1
  59. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +4 -1
  60. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +484 -33
  61. package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +7 -0
  62. package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +32 -0
  63. package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.d.ts +7 -0
  64. package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.js +37 -1
  65. package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +8 -0
  66. package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +39 -1
  67. package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -0
  68. package/dist/__generated__/TypeTester_fontStyle.graphql.js +16 -11
  69. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +3 -0
  70. package/dist/__generated__/TypeTestersIDQuery.graphql.js +446 -67
  71. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +2 -1
  72. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +425 -69
  73. package/dist/__generated__/TypeTesters_collection.graphql.d.ts +6 -0
  74. package/dist/__generated__/TypeTesters_collection.graphql.js +32 -1
  75. package/dist/__generated__/useFeaturesData_fontStyle.graphql.d.ts +6 -0
  76. package/dist/__generated__/useFeaturesData_fontStyle.graphql.js +34 -1
  77. package/dist/__generated__/useTotalStyles_fontCollection.graphql.d.ts +17 -0
  78. package/dist/__generated__/useTotalStyles_fontCollection.graphql.js +56 -0
  79. package/dist/components/AddToCartBanner/index.js +4 -6
  80. package/dist/components/BuyButton/index.js +18 -22
  81. package/dist/components/BuyingOptions/index.js +7 -10
  82. package/dist/components/Cart/AddressFields.d.ts +15 -0
  83. package/dist/components/Cart/AddressFields.js +7 -10
  84. package/dist/components/Cart/CartItem/index.js +59 -75
  85. package/dist/components/Cart/CartOrder.js +14 -18
  86. package/dist/components/Cart/CartState.js +13 -16
  87. package/dist/components/Cart/CartTotals.js +59 -65
  88. package/dist/components/Cart/Checkout.d.ts +17 -0
  89. package/dist/components/Cart/Checkout.js +33 -32
  90. package/dist/components/Cart/CustomerFields.js +6 -7
  91. package/dist/components/Cart/Download.js +9 -11
  92. package/dist/components/Cart/EmptyCart.js +4 -5
  93. package/dist/components/Cart/IdentityBox.js +24 -27
  94. package/dist/components/Cart/index.js +17 -23
  95. package/dist/components/Cart/types.d.ts +20 -0
  96. package/dist/components/Cart/types.js +5 -0
  97. package/dist/components/CartButton/index.js +10 -13
  98. package/dist/components/CharacterViewer/index.js +163 -90
  99. package/dist/components/CollectionAa/index.js +11 -15
  100. package/dist/components/ConfigContext.js +1 -1
  101. package/dist/components/CookieNotification/index.js +38 -46
  102. package/dist/components/CouponText/index.js +4 -6
  103. package/dist/components/CustomerLoginForm/index.js +6 -8
  104. package/dist/components/Family/FamilyList.js +11 -24
  105. package/dist/components/Family/index.d.ts +1 -1
  106. package/dist/components/Family/index.js +58 -87
  107. package/dist/components/FontFamilies/index.js +13 -19
  108. package/dist/components/FontStyle/index.d.ts +1 -1
  109. package/dist/components/FontStyle/index.js +9 -10
  110. package/dist/components/FontdueProvider/index.js +6 -7
  111. package/dist/components/NewsletterSignup/index.js +19 -23
  112. package/dist/components/Precart/License.js +7 -8
  113. package/dist/components/Precart/index.js +11 -16
  114. package/dist/components/Price/index.js +27 -34
  115. package/dist/components/PriceBar/PriceBarSection.js +11 -14
  116. package/dist/components/PriceBar/index.js +2 -2
  117. package/dist/components/Root/index.js +2 -5
  118. package/dist/components/Root/productState.js +2 -3
  119. package/dist/components/SKUPrice/index.js +6 -7
  120. package/dist/components/Select/index.d.ts +3 -2
  121. package/dist/components/Select/index.js +20 -23
  122. package/dist/components/SelectButton/index.js +13 -15
  123. package/dist/components/SelectField/index.d.ts +13 -0
  124. package/dist/components/SelectField/index.js +24 -27
  125. package/dist/components/SpecimenLink/index.js +11 -14
  126. package/dist/components/StickyNav/index.js +13 -16
  127. package/dist/components/StoreModal/StoreModalBundleButton.js +6 -7
  128. package/dist/components/StoreModal/StoreModalCart.js +8 -10
  129. package/dist/components/StoreModal/StoreModalCheckout.js +4 -5
  130. package/dist/components/StoreModal/StoreModalContainer.js +3 -4
  131. package/dist/components/StoreModal/StoreModalDownload.js +5 -6
  132. package/dist/components/StoreModal/StoreModalFamily.js +7 -7
  133. package/dist/components/StoreModal/StoreModalFamilyButton.js +36 -16
  134. package/dist/components/StoreModal/StoreModalIndex.d.ts +2 -2
  135. package/dist/components/StoreModal/StoreModalIndex.js +8 -57
  136. package/dist/components/StoreModal/StoreModalIndexItem.d.ts +7 -0
  137. package/dist/components/StoreModal/StoreModalIndexItem.js +92 -0
  138. package/dist/components/StoreModal/StoreModalLoader.js +3 -4
  139. package/dist/components/StoreModal/StoreModalProduct.js +3 -4
  140. package/dist/components/StoreModal/StoreModalReview.js +11 -14
  141. package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -6
  142. package/dist/components/StoreModal/StoreModalStyleButton.d.ts +1 -0
  143. package/dist/components/StoreModal/StoreModalStyleButton.js +19 -10
  144. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +12 -15
  145. package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +8 -9
  146. package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +25 -31
  147. package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +10 -13
  148. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +13 -22
  149. package/dist/components/StoreModalProductLicenseSelection/index.js +9 -12
  150. package/dist/components/StoreModalProductSummary/index.js +9 -11
  151. package/dist/components/StripeProvider/index.js +4 -5
  152. package/dist/components/Stylesheet/index.js +3 -4
  153. package/dist/components/TestFontsForm/TestFontsFormElement.d.ts +8 -0
  154. package/dist/components/TestFontsForm/TestFontsFormElement.js +21 -0
  155. package/dist/components/TestFontsForm/index.js +25 -32
  156. package/dist/components/TestModeBanner/index.js +7 -9
  157. package/dist/components/TextField/index.js +29 -32
  158. package/dist/components/ThemeConfig/index.js +7 -9
  159. package/dist/components/TypeTester/TypeTesterAlignButtons.js +4 -5
  160. package/dist/components/TypeTester/TypeTesterBullet.js +4 -5
  161. package/dist/components/TypeTester/TypeTesterContent.js +8 -9
  162. package/dist/components/TypeTester/TypeTesterContext.d.ts +7 -0
  163. package/dist/components/TypeTester/TypeTesterContext.js +12 -7
  164. package/dist/components/TypeTester/TypeTesterFeatures.d.ts +2 -1
  165. package/dist/components/TypeTester/TypeTesterFeatures.js +20 -14
  166. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +7 -9
  167. package/dist/components/TypeTester/TypeTesterFitter.js +4 -5
  168. package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +2 -1
  169. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +8 -6
  170. package/dist/components/TypeTester/TypeTesterInput.js +6 -7
  171. package/dist/components/TypeTester/TypeTesterSlider.d.ts +1 -0
  172. package/dist/components/TypeTester/TypeTesterSlider.js +14 -17
  173. package/dist/components/TypeTester/TypeTesterStandalone.js +23 -23
  174. package/dist/components/TypeTester/TypeTesterStandaloneElement.js +9 -10
  175. package/dist/components/TypeTester/TypeTesterState.d.ts +4 -0
  176. package/dist/components/TypeTester/TypeTesterState.js +19 -6
  177. package/dist/components/TypeTester/TypeTesterStyleSelect.d.ts +9 -1
  178. package/dist/components/TypeTester/TypeTesterStyleSelect.js +96 -42
  179. package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +8 -1
  180. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +52 -21
  181. package/dist/components/TypeTester/TypeTesterToolbar.d.ts +2 -1
  182. package/dist/components/TypeTester/TypeTesterToolbar.js +13 -11
  183. package/dist/components/TypeTester/TypeTesterVariableAxes.js +11 -13
  184. package/dist/components/TypeTester/index.d.ts +9 -6
  185. package/dist/components/TypeTester/index.js +58 -70
  186. package/dist/components/TypeTester/useFeaturesData.d.ts +6 -1
  187. package/dist/components/TypeTester/useFeaturesData.js +7 -11
  188. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
  189. package/dist/components/TypeTester/useTypeTesterStyler.js +29 -28
  190. package/dist/components/TypeTesters/TypeTestersElement.js +10 -13
  191. package/dist/components/TypeTesters/index.js +63 -55
  192. package/dist/components/VariableTableAmounts/index.js +4 -5
  193. package/dist/components/elements/Button/index.js +8 -11
  194. package/dist/components/elements/StoreModalCartLayout/index.js +26 -29
  195. package/dist/components/elements/StoreModalContainer/index.js +14 -15
  196. package/dist/components/elements/StoreModalDownloadLayout/index.js +14 -17
  197. package/dist/components/elements/StoreModalFamily/index.js +19 -22
  198. package/dist/components/elements/StoreModalFamilyButton/index.js +11 -12
  199. package/dist/components/elements/StoreModalIndexItem/index.js +8 -9
  200. package/dist/components/elements/StoreModalPageContainer/index.js +12 -15
  201. package/dist/components/elements/StoreModalReviewConfirm/index.js +8 -9
  202. package/dist/components/elements/StoreModalReviewItem/index.js +8 -11
  203. package/dist/components/elements/StoreModalReviewLayout/index.js +47 -50
  204. package/dist/components/elements/StoreModalStyleButton/index.js +9 -10
  205. package/dist/components/useFontStyle.js +5 -6
  206. package/dist/components/useTotalStyles.d.ts +9 -0
  207. package/dist/components/useTotalStyles.js +34 -0
  208. package/dist/utils.d.ts +14 -0
  209. package/dist/utils.js +33 -5
  210. package/dist/vanilla/FontStyle.js +8 -10
  211. package/fontdue.css +29 -3
  212. package/fontdue.css.map +1 -1
  213. package/package.json +1 -1
@@ -54,12 +54,16 @@ fragment CartItem_node on OrderItem {
54
54
  id
55
55
  }
56
56
  name
57
+ variableInstances {
58
+ name
59
+ }
57
60
  }
58
61
  ... on Bundle {
59
62
  name
60
63
  }
61
64
  ... on FontCollection {
62
65
  name
66
+ isVariableFont
63
67
  totalStyles
64
68
  featureStyle {
65
69
  family {
@@ -588,6 +592,12 @@ const node = function () {
588
592
  }, v4
589
593
  /*: any*/
590
594
  , {
595
+ "alias": null,
596
+ "args": null,
597
+ "kind": "ScalarField",
598
+ "name": "isVariableFont",
599
+ "storageKey": null
600
+ }, {
591
601
  "alias": null,
592
602
  "args": null,
593
603
  "kind": "ScalarField",
@@ -626,6 +636,17 @@ const node = function () {
626
636
  /*: any*/
627
637
  ],
628
638
  "storageKey": null
639
+ }, {
640
+ "alias": null,
641
+ "args": null,
642
+ "concreteType": "VariableInstance",
643
+ "kind": "LinkedField",
644
+ "name": "variableInstances",
645
+ "plural": true,
646
+ "selections": [v4
647
+ /*: any*/
648
+ ],
649
+ "storageKey": null
629
650
  }],
630
651
  "type": "FontStyle",
631
652
  "abstractKey": null
@@ -767,12 +788,12 @@ const node = function () {
767
788
  }]
768
789
  },
769
790
  "params": {
770
- "cacheID": "9474c637ea2ec6279a98907a2f9f4a45",
791
+ "cacheID": "301a3fd71af933670dfc786012924d33",
771
792
  "id": null,
772
793
  "metadata": {},
773
794
  "name": "CartStateUpdateMutation",
774
795
  "operationKind": "mutation",
775
- "text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 taxes {\n ...Price_price\n }\n taxName\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
796
+ "text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 taxes {\n ...Price_price\n }\n taxName\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
776
797
  }
777
798
  };
778
799
  }();
@@ -24,9 +24,17 @@ query CharacterViewer_Query(
24
24
  fragment CharacterViewer_collection on FontCollection {
25
25
  featureStyle {
26
26
  id
27
+ variableInstances {
28
+ name
29
+ coordinates {
30
+ axis
31
+ value
32
+ }
33
+ }
27
34
  }
28
35
  id
29
36
  name
37
+ isVariableFont
30
38
  fontStyles {
31
39
  id
32
40
  cssFamily
@@ -40,10 +48,18 @@ fragment CharacterViewer_collection on FontCollection {
40
48
  name
41
49
  characters
42
50
  }
51
+ variableInstances {
52
+ name
53
+ coordinates {
54
+ axis
55
+ value
56
+ }
57
+ }
43
58
  }
44
59
  children(collectionTypes: [FAMILY]) {
45
60
  id
46
61
  name
62
+ isVariableFont
47
63
  fontStyles {
48
64
  id
49
65
  cssFamily
@@ -57,6 +73,13 @@ fragment CharacterViewer_collection on FontCollection {
57
73
  name
58
74
  characters
59
75
  }
76
+ variableInstances {
77
+ name
78
+ coordinates {
79
+ axis
80
+ value
81
+ }
82
+ }
60
83
  }
61
84
  }
62
85
  }
@@ -89,11 +112,51 @@ const node = function () {
89
112
  v4 = {
90
113
  "alias": null,
91
114
  "args": null,
115
+ "concreteType": "VariableInstance",
116
+ "kind": "LinkedField",
117
+ "name": "variableInstances",
118
+ "plural": true,
119
+ "selections": [v3
120
+ /*: any*/
121
+ , {
122
+ "alias": null,
123
+ "args": null,
124
+ "concreteType": "VariableSetting",
125
+ "kind": "LinkedField",
126
+ "name": "coordinates",
127
+ "plural": true,
128
+ "selections": [{
129
+ "alias": null,
130
+ "args": null,
131
+ "kind": "ScalarField",
132
+ "name": "axis",
133
+ "storageKey": null
134
+ }, {
135
+ "alias": null,
136
+ "args": null,
137
+ "kind": "ScalarField",
138
+ "name": "value",
139
+ "storageKey": null
140
+ }],
141
+ "storageKey": null
142
+ }],
143
+ "storageKey": null
144
+ },
145
+ v5 = {
146
+ "alias": null,
147
+ "args": null,
148
+ "kind": "ScalarField",
149
+ "name": "isVariableFont",
150
+ "storageKey": null
151
+ },
152
+ v6 = {
153
+ "alias": null,
154
+ "args": null,
92
155
  "kind": "ScalarField",
93
156
  "name": "characters",
94
157
  "storageKey": null
95
158
  },
96
- v5 = {
159
+ v7 = {
97
160
  "alias": null,
98
161
  "args": null,
99
162
  "concreteType": "FontStyle",
@@ -119,7 +182,7 @@ const node = function () {
119
182
  "plural": true,
120
183
  "selections": [v3
121
184
  /*: any*/
122
- , v4
185
+ , v6
123
186
  /*: any*/
124
187
  ],
125
188
  "storageKey": null
@@ -138,11 +201,13 @@ const node = function () {
138
201
  "storageKey": null
139
202
  }, v3
140
203
  /*: any*/
141
- , v4
204
+ , v6
142
205
  /*: any*/
143
206
  ],
144
207
  "storageKey": null
145
- }],
208
+ }, v4
209
+ /*: any*/
210
+ ],
146
211
  "storageKey": null
147
212
  };
148
213
  return {
@@ -207,12 +272,16 @@ const node = function () {
207
272
  "plural": false,
208
273
  "selections": [v2
209
274
  /*: any*/
275
+ , v4
276
+ /*: any*/
210
277
  ],
211
278
  "storageKey": null
212
279
  }, v3
213
280
  /*: any*/
214
281
  , v5
215
282
  /*: any*/
283
+ , v7
284
+ /*: any*/
216
285
  , {
217
286
  "alias": null,
218
287
  "args": [{
@@ -230,6 +299,8 @@ const node = function () {
230
299
  /*: any*/
231
300
  , v5
232
301
  /*: any*/
302
+ , v7
303
+ /*: any*/
233
304
  ],
234
305
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
235
306
  }],
@@ -240,12 +311,12 @@ const node = function () {
240
311
  }]
241
312
  },
242
313
  "params": {
243
- "cacheID": "20623638a41f7530e73d456e039a0433",
314
+ "cacheID": "a3561b52ce52e7d4a30111e2a1a1236e",
244
315
  "id": null,
245
316
  "metadata": {},
246
317
  "name": "CharacterViewer_Query",
247
318
  "operationKind": "query",
248
- "text": "query CharacterViewer_Query(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n }\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n }\n}\n"
319
+ "text": "query CharacterViewer_Query(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
249
320
  }
250
321
  };
251
322
  }();
@@ -10,7 +10,7 @@ export declare type CharacterViewer_SlugQueryResponse = {
10
10
  readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_collection">;
11
11
  } | null;
12
12
  } | null;
13
- } | null;
13
+ };
14
14
  };
15
15
  export declare type CharacterViewer_SlugQuery = {
16
16
  readonly response: CharacterViewer_SlugQueryResponse;
@@ -29,9 +29,17 @@ query CharacterViewer_SlugQuery(
29
29
  fragment CharacterViewer_collection on FontCollection {
30
30
  featureStyle {
31
31
  id
32
+ variableInstances {
33
+ name
34
+ coordinates {
35
+ axis
36
+ value
37
+ }
38
+ }
32
39
  }
33
40
  id
34
41
  name
42
+ isVariableFont
35
43
  fontStyles {
36
44
  id
37
45
  cssFamily
@@ -45,10 +53,18 @@ fragment CharacterViewer_collection on FontCollection {
45
53
  name
46
54
  characters
47
55
  }
56
+ variableInstances {
57
+ name
58
+ coordinates {
59
+ axis
60
+ value
61
+ }
62
+ }
48
63
  }
49
64
  children(collectionTypes: [FAMILY]) {
50
65
  id
51
66
  name
67
+ isVariableFont
52
68
  fontStyles {
53
69
  id
54
70
  cssFamily
@@ -62,6 +78,13 @@ fragment CharacterViewer_collection on FontCollection {
62
78
  name
63
79
  characters
64
80
  }
81
+ variableInstances {
82
+ name
83
+ coordinates {
84
+ axis
85
+ value
86
+ }
87
+ }
65
88
  }
66
89
  }
67
90
  }
@@ -94,11 +117,51 @@ const node = function () {
94
117
  v4 = {
95
118
  "alias": null,
96
119
  "args": null,
120
+ "concreteType": "VariableInstance",
121
+ "kind": "LinkedField",
122
+ "name": "variableInstances",
123
+ "plural": true,
124
+ "selections": [v3
125
+ /*: any*/
126
+ , {
127
+ "alias": null,
128
+ "args": null,
129
+ "concreteType": "VariableSetting",
130
+ "kind": "LinkedField",
131
+ "name": "coordinates",
132
+ "plural": true,
133
+ "selections": [{
134
+ "alias": null,
135
+ "args": null,
136
+ "kind": "ScalarField",
137
+ "name": "axis",
138
+ "storageKey": null
139
+ }, {
140
+ "alias": null,
141
+ "args": null,
142
+ "kind": "ScalarField",
143
+ "name": "value",
144
+ "storageKey": null
145
+ }],
146
+ "storageKey": null
147
+ }],
148
+ "storageKey": null
149
+ },
150
+ v5 = {
151
+ "alias": null,
152
+ "args": null,
153
+ "kind": "ScalarField",
154
+ "name": "isVariableFont",
155
+ "storageKey": null
156
+ },
157
+ v6 = {
158
+ "alias": null,
159
+ "args": null,
97
160
  "kind": "ScalarField",
98
161
  "name": "characters",
99
162
  "storageKey": null
100
163
  },
101
- v5 = {
164
+ v7 = {
102
165
  "alias": null,
103
166
  "args": null,
104
167
  "concreteType": "FontStyle",
@@ -124,7 +187,7 @@ const node = function () {
124
187
  "plural": true,
125
188
  "selections": [v3
126
189
  /*: any*/
127
- , v4
190
+ , v6
128
191
  /*: any*/
129
192
  ],
130
193
  "storageKey": null
@@ -143,11 +206,13 @@ const node = function () {
143
206
  "storageKey": null
144
207
  }, v3
145
208
  /*: any*/
146
- , v4
209
+ , v6
147
210
  /*: any*/
148
211
  ],
149
212
  "storageKey": null
150
- }],
213
+ }, v4
214
+ /*: any*/
215
+ ],
151
216
  "storageKey": null
152
217
  };
153
218
  return {
@@ -234,6 +299,8 @@ const node = function () {
234
299
  "plural": false,
235
300
  "selections": [v2
236
301
  /*: any*/
302
+ , v4
303
+ /*: any*/
237
304
  ],
238
305
  "storageKey": null
239
306
  }, v2
@@ -242,6 +309,8 @@ const node = function () {
242
309
  /*: any*/
243
310
  , v5
244
311
  /*: any*/
312
+ , v7
313
+ /*: any*/
245
314
  , {
246
315
  "alias": null,
247
316
  "args": [{
@@ -259,6 +328,8 @@ const node = function () {
259
328
  /*: any*/
260
329
  , v5
261
330
  /*: any*/
331
+ , v7
332
+ /*: any*/
262
333
  ],
263
334
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
264
335
  }],
@@ -274,12 +345,12 @@ const node = function () {
274
345
  }]
275
346
  },
276
347
  "params": {
277
- "cacheID": "f69a908fd095e2408ba06adeeb8cd0f0",
348
+ "cacheID": "f6f6976489104a163a99f21c7963901f",
278
349
  "id": null,
279
350
  "metadata": {},
280
351
  "name": "CharacterViewer_SlugQuery",
281
352
  "operationKind": "query",
282
- "text": "query CharacterViewer_SlugQuery(\n $collectionSlug: String!\n) {\n viewer {\n slug(name: $collectionSlug) {\n fontCollection {\n ...CharacterViewer_collection\n id\n }\n id\n }\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n }\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n }\n}\n"
353
+ "text": "query CharacterViewer_SlugQuery(\n $collectionSlug: String!\n) {\n viewer {\n slug(name: $collectionSlug) {\n fontCollection {\n ...CharacterViewer_collection\n id\n }\n id\n }\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
283
354
  }
284
355
  };
285
356
  }();
@@ -3,9 +3,17 @@ import { FragmentRefs } from "relay-runtime";
3
3
  export declare type CharacterViewer_collection = {
4
4
  readonly featureStyle: {
5
5
  readonly id: string;
6
+ readonly variableInstances: ReadonlyArray<{
7
+ readonly name: string;
8
+ readonly coordinates: ReadonlyArray<{
9
+ readonly axis: string;
10
+ readonly value: number;
11
+ }>;
12
+ }> | null;
6
13
  } | null;
7
14
  readonly id: string;
8
15
  readonly name: string;
16
+ readonly isVariableFont: boolean;
9
17
  readonly fontStyles: ReadonlyArray<{
10
18
  readonly id: string;
11
19
  readonly cssFamily: string | null;
@@ -19,10 +27,18 @@ export declare type CharacterViewer_collection = {
19
27
  readonly name: string;
20
28
  readonly characters: ReadonlyArray<string>;
21
29
  }> | null;
30
+ readonly variableInstances: ReadonlyArray<{
31
+ readonly name: string;
32
+ readonly coordinates: ReadonlyArray<{
33
+ readonly axis: string;
34
+ readonly value: number;
35
+ }>;
36
+ }> | null;
22
37
  }> | null;
23
38
  readonly children: ReadonlyArray<{
24
39
  readonly id: string;
25
40
  readonly name: string;
41
+ readonly isVariableFont: boolean;
26
42
  readonly fontStyles: ReadonlyArray<{
27
43
  readonly id: string;
28
44
  readonly cssFamily: string | null;
@@ -36,6 +52,13 @@ export declare type CharacterViewer_collection = {
36
52
  readonly name: string;
37
53
  readonly characters: ReadonlyArray<string>;
38
54
  }> | null;
55
+ readonly variableInstances: ReadonlyArray<{
56
+ readonly name: string;
57
+ readonly coordinates: ReadonlyArray<{
58
+ readonly axis: string;
59
+ readonly value: number;
60
+ }>;
61
+ }> | null;
39
62
  }> | null;
40
63
  }> | null;
41
64
  readonly " $refType": "CharacterViewer_collection";
@@ -27,11 +27,51 @@ const node = function () {
27
27
  v2 = {
28
28
  "alias": null,
29
29
  "args": null,
30
+ "concreteType": "VariableInstance",
31
+ "kind": "LinkedField",
32
+ "name": "variableInstances",
33
+ "plural": true,
34
+ "selections": [v1
35
+ /*: any*/
36
+ , {
37
+ "alias": null,
38
+ "args": null,
39
+ "concreteType": "VariableSetting",
40
+ "kind": "LinkedField",
41
+ "name": "coordinates",
42
+ "plural": true,
43
+ "selections": [{
44
+ "alias": null,
45
+ "args": null,
46
+ "kind": "ScalarField",
47
+ "name": "axis",
48
+ "storageKey": null
49
+ }, {
50
+ "alias": null,
51
+ "args": null,
52
+ "kind": "ScalarField",
53
+ "name": "value",
54
+ "storageKey": null
55
+ }],
56
+ "storageKey": null
57
+ }],
58
+ "storageKey": null
59
+ },
60
+ v3 = {
61
+ "alias": null,
62
+ "args": null,
63
+ "kind": "ScalarField",
64
+ "name": "isVariableFont",
65
+ "storageKey": null
66
+ },
67
+ v4 = {
68
+ "alias": null,
69
+ "args": null,
30
70
  "kind": "ScalarField",
31
71
  "name": "characters",
32
72
  "storageKey": null
33
73
  },
34
- v3 = {
74
+ v5 = {
35
75
  "alias": null,
36
76
  "args": null,
37
77
  "concreteType": "FontStyle",
@@ -57,7 +97,7 @@ const node = function () {
57
97
  "plural": true,
58
98
  "selections": [v1
59
99
  /*: any*/
60
- , v2
100
+ , v4
61
101
  /*: any*/
62
102
  ],
63
103
  "storageKey": null
@@ -76,11 +116,13 @@ const node = function () {
76
116
  "storageKey": null
77
117
  }, v1
78
118
  /*: any*/
79
- , v2
119
+ , v4
80
120
  /*: any*/
81
121
  ],
82
122
  "storageKey": null
83
- }],
123
+ }, v2
124
+ /*: any*/
125
+ ],
84
126
  "storageKey": null
85
127
  };
86
128
  return {
@@ -97,6 +139,8 @@ const node = function () {
97
139
  "plural": false,
98
140
  "selections": [v0
99
141
  /*: any*/
142
+ , v2
143
+ /*: any*/
100
144
  ],
101
145
  "storageKey": null
102
146
  }, v0
@@ -105,6 +149,8 @@ const node = function () {
105
149
  /*: any*/
106
150
  , v3
107
151
  /*: any*/
152
+ , v5
153
+ /*: any*/
108
154
  , {
109
155
  "alias": null,
110
156
  "args": [{
@@ -122,6 +168,8 @@ const node = function () {
122
168
  /*: any*/
123
169
  , v3
124
170
  /*: any*/
171
+ , v5
172
+ /*: any*/
125
173
  ],
126
174
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
127
175
  }],
@@ -130,6 +178,6 @@ const node = function () {
130
178
  };
131
179
  }();
132
180
 
133
- node.hash = '6f5a8250fc907a798d7e83c8a9ce3f45';
181
+ node.hash = '2f49d241268129a888942889cad0bebb';
134
182
  var _default = node;
135
183
  exports.default = _default;
@@ -3,6 +3,7 @@ import { FragmentRefs } from "relay-runtime";
3
3
  export declare type CharacterViewer_family = {
4
4
  readonly id: string;
5
5
  readonly name: string;
6
+ readonly isVariableFont: boolean;
6
7
  readonly fontStyles: ReadonlyArray<{
7
8
  readonly id: string;
8
9
  readonly cssFamily: string | null;
@@ -16,6 +17,13 @@ export declare type CharacterViewer_family = {
16
17
  readonly name: string;
17
18
  readonly characters: ReadonlyArray<string>;
18
19
  }> | null;
20
+ readonly variableInstances: ReadonlyArray<{
21
+ readonly name: string;
22
+ readonly coordinates: ReadonlyArray<{
23
+ readonly axis: string;
24
+ readonly value: number;
25
+ }>;
26
+ }> | null;
19
27
  }> | null;
20
28
  readonly " $refType": "CharacterViewer_family";
21
29
  };
@@ -41,6 +41,12 @@ const node = function () {
41
41
  , v1
42
42
  /*: any*/
43
43
  , {
44
+ "alias": null,
45
+ "args": null,
46
+ "kind": "ScalarField",
47
+ "name": "isVariableFont",
48
+ "storageKey": null
49
+ }, {
44
50
  "alias": null,
45
51
  "args": null,
46
52
  "concreteType": "FontStyle",
@@ -89,6 +95,38 @@ const node = function () {
89
95
  /*: any*/
90
96
  ],
91
97
  "storageKey": null
98
+ }, {
99
+ "alias": null,
100
+ "args": null,
101
+ "concreteType": "VariableInstance",
102
+ "kind": "LinkedField",
103
+ "name": "variableInstances",
104
+ "plural": true,
105
+ "selections": [v1
106
+ /*: any*/
107
+ , {
108
+ "alias": null,
109
+ "args": null,
110
+ "concreteType": "VariableSetting",
111
+ "kind": "LinkedField",
112
+ "name": "coordinates",
113
+ "plural": true,
114
+ "selections": [{
115
+ "alias": null,
116
+ "args": null,
117
+ "kind": "ScalarField",
118
+ "name": "axis",
119
+ "storageKey": null
120
+ }, {
121
+ "alias": null,
122
+ "args": null,
123
+ "kind": "ScalarField",
124
+ "name": "value",
125
+ "storageKey": null
126
+ }],
127
+ "storageKey": null
128
+ }],
129
+ "storageKey": null
92
130
  }],
93
131
  "storageKey": null
94
132
  }],
@@ -97,6 +135,6 @@ const node = function () {
97
135
  };
98
136
  }();
99
137
 
100
- node.hash = '2883e053de6bd4a34d802fe4af824991';
138
+ node.hash = 'ffc50602f0336356a24c0678b22360a8';
101
139
  var _default = node;
102
140
  exports.default = _default;
@@ -0,0 +1,17 @@
1
+ import { ConcreteRequest } from "relay-runtime";
2
+ import { FragmentRefs } from "relay-runtime";
3
+ export declare type CheckoutRefetchQueryVariables = {
4
+ countryCode: string;
5
+ includeCountryCode?: boolean | null;
6
+ };
7
+ export declare type CheckoutRefetchQueryResponse = {
8
+ readonly viewer: {
9
+ readonly " $fragmentRefs": FragmentRefs<"Checkout_viewer">;
10
+ };
11
+ };
12
+ export declare type CheckoutRefetchQuery = {
13
+ readonly response: CheckoutRefetchQueryResponse;
14
+ readonly variables: CheckoutRefetchQueryVariables;
15
+ };
16
+ declare const node: ConcreteRequest;
17
+ export default node;