fontdue-js 1.12.4 → 2.0.0-alpha2
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.
- package/.depcheckrc +3 -0
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +12 -7
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +18 -47
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +34 -0
- package/dist/__generated__/AddToCartBanner_item.graphql.js +93 -0
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +19 -12
- package/dist/__generated__/AddToCartBanner_order.graphql.js +12 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +13 -8
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +15 -44
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +15 -11
- package/dist/__generated__/AddressFields_viewer.graphql.js +7 -1
- package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +12 -7
- package/dist/__generated__/BuyButtonIDQuery.graphql.js +7 -26
- package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +12 -7
- package/dist/__generated__/BuyButtonSlugQuery.graphql.js +7 -31
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +14 -10
- package/dist/__generated__/BuyButton_collection.graphql.js +7 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +12 -7
- package/dist/__generated__/CartButtonQuery.graphql.js +7 -22
- package/dist/__generated__/CartButton_order.graphql.d.ts +13 -9
- package/dist/__generated__/CartButton_order.graphql.js +7 -1
- package/dist/__generated__/CartItem_license.graphql.d.ts +11 -7
- package/dist/__generated__/CartItem_license.graphql.js +7 -1
- package/dist/__generated__/CartItem_licenseSelection.graphql.d.ts +17 -13
- package/dist/__generated__/CartItem_licenseSelection.graphql.js +7 -1
- package/dist/__generated__/CartItem_node.graphql.d.ts +41 -37
- package/dist/__generated__/CartItem_node.graphql.js +7 -1
- package/dist/__generated__/CartItem_product.graphql.d.ts +17 -13
- package/dist/__generated__/CartItem_product.graphql.js +7 -1
- package/dist/__generated__/CartItem_variable.graphql.d.ts +11 -7
- package/dist/__generated__/CartItem_variable.graphql.js +7 -1
- package/dist/__generated__/CartItem_viewer.graphql.d.ts +12 -8
- package/dist/__generated__/CartItem_viewer.graphql.js +7 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +12 -7
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +33 -317
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +12 -7
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +29 -309
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +27 -22
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +29 -316
- package/dist/__generated__/CartOrder_UpdateErrors.graphql.d.ts +10 -6
- package/dist/__generated__/CartOrder_UpdateErrors.graphql.js +7 -1
- package/dist/__generated__/CartOrder_order.graphql.d.ts +35 -31
- package/dist/__generated__/CartOrder_order.graphql.js +24 -22
- package/dist/__generated__/CartOrder_viewer.graphql.d.ts +11 -7
- package/dist/__generated__/CartOrder_viewer.graphql.js +19 -13
- package/dist/__generated__/CartQuery.graphql.d.ts +15 -7
- package/dist/__generated__/CartQuery.graphql.js +48 -380
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +12 -7
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +28 -84
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +30 -25
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +31 -240
- package/dist/__generated__/CartState_order.graphql.d.ts +12 -8
- package/dist/__generated__/CartState_order.graphql.js +7 -1
- package/dist/__generated__/CartTotals_order.graphql.d.ts +22 -18
- package/dist/__generated__/CartTotals_order.graphql.js +7 -1
- package/dist/__generated__/Cart_viewer.graphql.d.ts +11 -7
- package/dist/__generated__/Cart_viewer.graphql.js +15 -9
- package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +12 -7
- package/dist/__generated__/CharacterViewer_Query.graphql.js +7 -80
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +12 -7
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +7 -85
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +49 -45
- package/dist/__generated__/CharacterViewer_collection.graphql.js +7 -1
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +20 -16
- package/dist/__generated__/CharacterViewer_family.graphql.js +7 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +13 -8
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +29 -311
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +34 -29
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +29 -332
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +17 -13
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +7 -1
- package/dist/__generated__/Checkout_identity.graphql.d.ts +15 -11
- package/dist/__generated__/Checkout_identity.graphql.js +7 -1
- package/dist/__generated__/Checkout_order.graphql.d.ts +26 -22
- package/dist/__generated__/Checkout_order.graphql.js +7 -1
- package/dist/__generated__/Checkout_viewer.graphql.d.ts +12 -8
- package/dist/__generated__/Checkout_viewer.graphql.js +11 -5
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +12 -7
- package/dist/__generated__/CollectionAa_Query.graphql.js +21 -71
- package/dist/__generated__/CollectionAa_product.graphql.d.ts +18 -19
- package/dist/__generated__/CollectionAa_product.graphql.js +21 -29
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +26 -0
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +216 -0
- package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +13 -9
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +14 -2
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +22 -0
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +171 -0
- package/dist/__generated__/CouponText_coupon.graphql.d.ts +12 -8
- package/dist/__generated__/CouponText_coupon.graphql.js +7 -1
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +12 -7
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +7 -11
- package/dist/__generated__/DownloadRefetchQuery.graphql.d.ts +12 -7
- package/dist/__generated__/DownloadRefetchQuery.graphql.js +7 -23
- package/dist/__generated__/Download_order.graphql.d.ts +12 -8
- package/dist/__generated__/Download_order.graphql.js +7 -1
- package/dist/__generated__/FamilyList_node.graphql.d.ts +13 -9
- package/dist/__generated__/FamilyList_node.graphql.js +11 -5
- package/dist/__generated__/Family_node.graphql.d.ts +19 -15
- package/dist/__generated__/Family_node.graphql.js +9 -4
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +15 -7
- package/dist/__generated__/FontFamiliesQuery.graphql.js +60 -120
- package/dist/__generated__/FontFamilies_node.graphql.d.ts +11 -7
- package/dist/__generated__/FontFamilies_node.graphql.js +9 -4
- package/dist/__generated__/FontStyle_fontStyle.graphql.d.ts +10 -6
- package/dist/__generated__/FontStyle_fontStyle.graphql.js +7 -1
- package/dist/__generated__/IdentityBox_identity.graphql.d.ts +11 -7
- package/dist/__generated__/IdentityBox_identity.graphql.js +7 -1
- package/dist/__generated__/License_node.graphql.d.ts +14 -10
- package/dist/__generated__/License_node.graphql.js +7 -1
- package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.d.ts +12 -7
- package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.js +7 -13
- package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +15 -8
- package/dist/__generated__/NewsletterSignup_Query.graphql.js +38 -50
- package/dist/__generated__/NewsletterSignup_viewer.graphql.d.ts +9 -5
- package/dist/__generated__/NewsletterSignup_viewer.graphql.js +7 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +16 -11
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +39 -327
- package/dist/__generated__/PrecartQuery.graphql.d.ts +19 -14
- package/dist/__generated__/PrecartQuery.graphql.js +23 -115
- package/dist/__generated__/Precart_collection.graphql.d.ts +10 -6
- package/dist/__generated__/Precart_collection.graphql.js +7 -1
- package/dist/__generated__/Precart_license.graphql.d.ts +25 -0
- package/dist/__generated__/Precart_license.graphql.js +68 -0
- package/dist/__generated__/Precart_viewer.graphql.d.ts +29 -24
- package/dist/__generated__/Precart_viewer.graphql.js +17 -14
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +171 -0
- package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.d.ts +13 -8
- package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.js +7 -49
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +14 -10
- package/dist/__generated__/PriceBarSection_node.graphql.js +24 -11
- package/dist/__generated__/PriceBar_node.graphql.d.ts +12 -8
- package/dist/__generated__/PriceBar_node.graphql.js +9 -4
- package/dist/__generated__/Price_price.graphql.d.ts +10 -6
- package/dist/__generated__/Price_price.graphql.js +7 -1
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.js +132 -0
- package/dist/__generated__/SKUPrice_RefetchQuery.graphql.d.ts +13 -8
- package/dist/__generated__/SKUPrice_RefetchQuery.graphql.js +7 -27
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +11 -7
- package/dist/__generated__/SKUPrice_sku.graphql.js +15 -2
- package/dist/__generated__/SelectButton_sku.graphql.d.ts +11 -7
- package/dist/__generated__/SelectButton_sku.graphql.js +7 -1
- package/dist/__generated__/SpecimenLinkQuery.graphql.d.ts +16 -8
- package/dist/__generated__/SpecimenLinkQuery.graphql.js +46 -62
- package/dist/__generated__/SpecimenLink_node.graphql.d.ts +9 -5
- package/dist/__generated__/SpecimenLink_node.graphql.js +7 -1
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.d.ts +15 -11
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.js +10 -3
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +17 -12
- package/dist/__generated__/StoreModalCartQuery.graphql.js +44 -279
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +13 -8
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +14 -78
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +12 -7
- package/dist/__generated__/StoreModalContainerQuery.graphql.js +7 -19
- package/dist/__generated__/StoreModalDownloadRefetchQuery.graphql.d.ts +12 -7
- package/dist/__generated__/StoreModalDownloadRefetchQuery.graphql.js +7 -18
- package/dist/__generated__/StoreModalDownload_order.graphql.d.ts +11 -7
- package/dist/__generated__/StoreModalDownload_order.graphql.js +7 -1
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +19 -15
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +10 -3
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +25 -21
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +13 -6
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +16 -12
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +15 -9
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +13 -8
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +7 -55
- package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.d.ts +11 -7
- package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.js +7 -1
- package/dist/__generated__/StoreModalProductLicense_license.graphql.d.ts +16 -12
- package/dist/__generated__/StoreModalProductLicense_license.graphql.js +11 -5
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +15 -10
- package/dist/__generated__/StoreModalProductQuery.graphql.js +10 -208
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +16 -11
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +7 -23
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +16 -11
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +7 -53
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +15 -11
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +12 -6
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +12 -7
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +11 -132
- package/dist/__generated__/StoreModalReviewIdentity_identity.graphql.d.ts +11 -7
- package/dist/__generated__/StoreModalReviewIdentity_identity.graphql.js +7 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +13 -8
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +15 -160
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +25 -20
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.js +11 -133
- package/dist/__generated__/StoreModalReview_order.graphql.d.ts +33 -29
- package/dist/__generated__/StoreModalReview_order.graphql.js +15 -9
- package/dist/__generated__/StoreModalReview_viewer.graphql.d.ts +10 -6
- package/dist/__generated__/StoreModalReview_viewer.graphql.js +7 -1
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +15 -11
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +15 -8
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +18 -14
- package/dist/__generated__/StripeProvider_viewer.graphql.js +7 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +13 -8
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +29 -311
- package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +18 -8
- package/dist/__generated__/TestFontsForm_Query.graphql.js +54 -110
- package/dist/__generated__/TestFontsForm_viewer.graphql.d.ts +9 -5
- package/dist/__generated__/TestFontsForm_viewer.graphql.js +7 -1
- package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +18 -8
- package/dist/__generated__/TestModeBannerQuery.graphql.js +70 -82
- package/dist/__generated__/TestModeBanner_viewer.graphql.d.ts +9 -5
- package/dist/__generated__/TestModeBanner_viewer.graphql.js +7 -1
- package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +14 -8
- package/dist/__generated__/ThemeConfigQuery.graphql.js +59 -68
- package/dist/__generated__/ThemeConfig_viewer.graphql.d.ts +9 -5
- package/dist/__generated__/ThemeConfig_viewer.graphql.js +7 -1
- package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.d.ts +11 -7
- package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.js +7 -1
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +12 -8
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +7 -1
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +14 -9
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +16 -163
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +17 -13
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +7 -1
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.d.ts +14 -10
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.js +7 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +17 -13
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +7 -1
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +22 -17
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +10 -114
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +21 -17
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +32 -26
- package/dist/__generated__/TypeTester_sku.graphql.d.ts +12 -8
- package/dist/__generated__/TypeTester_sku.graphql.js +15 -9
- package/dist/__generated__/TypeTester_viewer.graphql.d.ts +11 -7
- package/dist/__generated__/TypeTester_viewer.graphql.js +7 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +17 -12
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +55 -262
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +15 -10
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +59 -268
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +31 -23
- package/dist/__generated__/TypeTesters_collection.graphql.js +36 -13
- package/dist/__generated__/TypeTesters_viewer.graphql.d.ts +11 -7
- package/dist/__generated__/TypeTesters_viewer.graphql.js +7 -1
- package/dist/__generated__/VariableTableAmounts_option.graphql.d.ts +10 -6
- package/dist/__generated__/VariableTableAmounts_option.graphql.js +7 -1
- package/dist/__generated__/VariableTableAmounts_variable.graphql.d.ts +10 -6
- package/dist/__generated__/VariableTableAmounts_variable.graphql.js +7 -1
- package/dist/__generated__/productState_Query.graphql.d.ts +52 -47
- package/dist/__generated__/productState_Query.graphql.js +7 -89
- package/dist/__generated__/productState_bundle.graphql.d.ts +17 -13
- package/dist/__generated__/productState_bundle.graphql.js +7 -1
- package/dist/__generated__/productState_collection.graphql.d.ts +29 -25
- package/dist/__generated__/productState_collection.graphql.js +7 -1
- package/dist/__generated__/productState_node.graphql.d.ts +48 -44
- package/dist/__generated__/productState_node.graphql.js +7 -1
- package/dist/__generated__/productState_sku.graphql.d.ts +9 -5
- package/dist/__generated__/productState_sku.graphql.js +7 -1
- package/dist/__generated__/useFeaturesData_fontStyle.graphql.d.ts +17 -13
- package/dist/__generated__/useFeaturesData_fontStyle.graphql.js +7 -1
- package/dist/__generated__/useTotalStyles_fontCollection.graphql.d.ts +11 -7
- package/dist/__generated__/useTotalStyles_fontCollection.graphql.js +7 -1
- package/dist/components/AddToCartBanner/index.d.ts +3 -0
- package/dist/components/AddToCartBanner/index.js +60 -93
- package/dist/components/BuyButton/index.d.ts +1 -1
- package/dist/components/BuyButton/index.js +37 -45
- package/dist/components/Cart/AddressFields.d.ts +2 -2
- package/dist/components/Cart/AddressFields.js +2 -2
- package/dist/components/Cart/CartItem/index.d.ts +5 -5
- package/dist/components/Cart/CartItem/index.js +1 -1
- package/dist/components/Cart/CartOrder.d.ts +2 -2
- package/dist/components/Cart/CartOrder.js +3 -24
- package/dist/components/Cart/CartState.d.ts +3 -6
- package/dist/components/Cart/CartState.js +3 -23
- package/dist/components/Cart/CartTotals.d.ts +3 -3
- package/dist/components/Cart/Checkout.d.ts +2 -2
- package/dist/components/Cart/Checkout.js +7 -1
- package/dist/components/Cart/CouponCodeInput.d.ts +7 -0
- package/dist/components/Cart/CouponCodeInput.js +123 -122
- package/dist/components/Cart/Download.d.ts +3 -3
- package/dist/components/Cart/EmptyCart.d.ts +7 -0
- package/dist/components/Cart/EmptyCart.js +3 -3
- package/dist/components/Cart/index.d.ts +2 -2
- package/dist/components/Cart/index.js +19 -56
- package/dist/components/Cart/types.d.ts +2 -2
- package/dist/components/CartButton/index.d.ts +1 -1
- package/dist/components/CartButton/index.js +13 -29
- package/dist/components/CharacterViewer/index.d.ts +1 -1
- package/dist/components/CharacterViewer/index.js +44 -39
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/CollectionAa/index.d.ts +11 -0
- package/dist/components/CollectionAa/index.js +16 -36
- package/dist/components/ComponentsContext.d.ts +18 -12
- package/dist/components/ConfigContext.d.ts +5 -5
- package/dist/components/CouponText/index.d.ts +3 -3
- package/dist/components/Family/FamilyList.d.ts +3 -3
- package/dist/components/Family/index.d.ts +3 -3
- package/dist/components/Family/index.js +3 -1
- package/dist/components/FontFamilies/index.d.ts +3 -3
- package/dist/components/FontFamilies/index.js +18 -41
- package/dist/components/FontStyle/index.d.ts +3 -3
- package/dist/components/FontdueProvider/index.d.ts +4 -1
- package/dist/components/FontdueProvider/index.js +9 -25
- package/dist/components/Icons/Align.d.ts +4 -4
- package/dist/components/Icons/ArrowDownRight.d.ts +2 -2
- package/dist/components/Icons/ArrowLeft.d.ts +2 -2
- package/dist/components/Icons/ArrowRight.d.ts +2 -2
- package/dist/components/Icons/CarrotDown.d.ts +2 -2
- package/dist/components/Icons/CarrotUp.d.ts +2 -2
- package/dist/components/Icons/Cart.d.ts +2 -2
- package/dist/components/Icons/CartNew.d.ts +2 -2
- package/dist/components/Icons/Check.d.ts +2 -2
- package/dist/components/Icons/Checkbox.d.ts +2 -2
- package/dist/components/Icons/CheckboxChecked.d.ts +2 -2
- package/dist/components/Icons/CheckboxCrossed.d.ts +2 -2
- package/dist/components/Icons/CircledCheck.d.ts +2 -2
- package/dist/components/Icons/CircledInfo.d.ts +2 -2
- package/dist/components/Icons/CircledMinus.d.ts +2 -2
- package/dist/components/Icons/ColorPicker.d.ts +2 -2
- package/dist/components/Icons/CreditCard.d.ts +2 -2
- package/dist/components/Icons/DownloadFonts.d.ts +2 -2
- package/dist/components/Icons/FrowningFace.d.ts +2 -2
- package/dist/components/Icons/License.d.ts +2 -2
- package/dist/components/Icons/Receipt.d.ts +2 -2
- package/dist/components/Icons/User.d.ts +2 -2
- package/dist/components/Icons/X.d.ts +2 -2
- package/dist/components/NewsletterSignup/index.d.ts +3 -3
- package/dist/components/NewsletterSignup/index.js +12 -35
- package/dist/components/Precart/License.d.ts +10 -0
- package/dist/components/Precart/License.js +10 -10
- package/dist/components/Precart/index.d.ts +6 -0
- package/dist/components/Precart/index.js +207 -244
- package/dist/components/Price/index.d.ts +15 -14
- package/dist/components/Price/index.js +15 -8
- package/dist/components/PriceBar/PriceBarSection.d.ts +7 -0
- package/dist/components/PriceBar/PriceBarSection.js +65 -76
- package/dist/components/PriceBar/index.d.ts +7 -0
- package/dist/components/PriceBar/index.js +36 -70
- package/dist/components/Root/index.d.ts +2 -2
- package/dist/components/Root/index.js +95 -31
- package/dist/components/SKUPrice/index.d.ts +5 -6
- package/dist/components/SKUPrice/index.js +25 -19
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/SelectButton/index.d.ts +3 -3
- package/dist/components/SelectButton/index.js +4 -2
- package/dist/components/SelectField/index.d.ts +2 -2
- package/dist/components/SpecimenLink/index.d.ts +6 -0
- package/dist/components/SpecimenLink/index.js +13 -39
- package/dist/components/StickyNav/index.d.ts +9 -0
- package/dist/components/StickyNav/index.js +59 -85
- package/dist/components/StoreModal/StoreModalBundleButton.d.ts +4 -4
- package/dist/components/StoreModal/StoreModalCart.js +3 -9
- package/dist/components/StoreModal/StoreModalCheckout.d.ts +1 -1
- package/dist/components/StoreModal/StoreModalContainer.d.ts +4 -1
- package/dist/components/StoreModal/StoreModalContainer.js +3 -1
- package/dist/components/StoreModal/StoreModalDownload.d.ts +3 -3
- package/dist/components/StoreModal/StoreModalDownload.js +0 -1
- package/dist/components/StoreModal/StoreModalFamily.d.ts +3 -3
- package/dist/components/StoreModal/StoreModalFamilyButton.d.ts +3 -3
- package/dist/components/StoreModal/StoreModalIndex.d.ts +2 -2
- package/dist/components/StoreModal/StoreModalIndex.js +1 -2
- package/dist/components/StoreModal/StoreModalIndexItem.d.ts +2 -2
- package/dist/components/StoreModal/StoreModalLoader.d.ts +4 -1
- package/dist/components/StoreModal/StoreModalLoader.js +2 -2
- package/dist/components/StoreModal/StoreModalReview.js +0 -1
- package/dist/components/StoreModal/StoreModalReviewIdentity.d.ts +3 -3
- package/dist/components/StoreModal/StoreModalStyleButton.d.ts +4 -4
- package/dist/components/StoreModal/routes.d.ts +5 -5
- package/dist/components/StoreModal/types.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductSummary/index.d.ts +3 -3
- package/dist/components/StripeProvider/index.d.ts +2 -2
- package/dist/components/TestFontsForm/TestFontsFormElement.d.ts +2 -2
- package/dist/components/TestFontsForm/index.d.ts +3 -3
- package/dist/components/TestFontsForm/index.js +6 -31
- package/dist/components/TestModeBanner/index.d.ts +2 -2
- package/dist/components/TestModeBanner/index.js +6 -25
- package/dist/components/TextField/index.d.ts +2 -2
- package/dist/components/TextField/index.js +3 -1
- package/dist/components/ThemeConfig/index.d.ts +2 -2
- package/dist/components/ThemeConfig/index.js +6 -25
- package/dist/components/TypeTester/TypeTesterContext.d.ts +5 -2
- package/dist/components/TypeTester/TypeTesterContext.js +4 -4
- package/dist/components/TypeTester/TypeTesterFeatures.d.ts +3 -3
- package/dist/components/TypeTester/TypeTesterFitter.d.ts +4 -2
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +3 -3
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterStandalone.js +32 -39
- package/dist/components/TypeTester/TypeTesterStandaloneElement.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterStandaloneElement.js +2 -0
- package/dist/components/TypeTester/TypeTesterState.js +3 -2
- package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +5 -5
- package/dist/components/TypeTester/features.d.ts +1 -1
- package/dist/components/TypeTester/index.js +3 -1
- package/dist/components/TypeTester/types.d.ts +7 -7
- package/dist/components/TypeTester/useFeaturesData.d.ts +8 -8
- package/dist/components/TypeTester/useTypeTesterStyler.js +14 -18
- package/dist/components/TypeTesters/TypeTestersElement.d.ts +1 -1
- package/dist/components/TypeTesters/TypeTestersElement.js +10 -3
- package/dist/components/TypeTesters/index.d.ts +3 -3
- package/dist/components/TypeTesters/index.js +80 -91
- package/dist/components/VariableTableAmounts/index.d.ts +5 -5
- package/dist/components/elements/Button/index.d.ts +2 -2
- package/dist/components/elements/Button/index.js +2 -2
- package/dist/components/elements/EmptyCart/index.d.ts +2 -2
- package/dist/components/elements/StoreModalContainer/index.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +4 -2
- package/dist/components/elements/StoreModalFamilyButton/index.d.ts +1 -1
- package/dist/components/elements/StoreModalPageContainer/index.d.ts +1 -1
- package/dist/components/elements/StoreModalStyleButton/index.d.ts +2 -2
- package/dist/reducer.d.ts +5 -3
- package/dist/reducer.js +25 -0
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +1 -0
- package/fontdue.css +13 -6
- package/fontdue.css.map +1 -1
- package/package.json +27 -65
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<ae34ce2e1b047a8e18dd80b7a7ba587f>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
7
|
import { FragmentRefs } from "relay-runtime";
|
|
3
|
-
export
|
|
8
|
+
export type UpdateCustomerInput = {
|
|
4
9
|
email?: string | null;
|
|
5
10
|
name?: string | null;
|
|
6
11
|
newsletterOptIn?: boolean | null;
|
|
7
12
|
};
|
|
8
|
-
export
|
|
13
|
+
export type CheckoutUpdateCustomerMutation$variables = {
|
|
9
14
|
input: UpdateCustomerInput;
|
|
10
15
|
};
|
|
11
|
-
export
|
|
16
|
+
export type CheckoutUpdateCustomerMutation$data = {
|
|
12
17
|
readonly updateCustomer: {
|
|
13
18
|
readonly order: {
|
|
14
|
-
readonly " $
|
|
19
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartOrder_order">;
|
|
15
20
|
} | null;
|
|
16
21
|
} | null;
|
|
17
22
|
};
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
export type CheckoutUpdateCustomerMutation = {
|
|
24
|
+
response: CheckoutUpdateCustomerMutation$data;
|
|
25
|
+
variables: CheckoutUpdateCustomerMutation$variables;
|
|
21
26
|
};
|
|
22
27
|
declare const node: ConcreteRequest;
|
|
23
28
|
export default node;
|
|
@@ -4,283 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<ae34ce2e1b047a8e18dd80b7a7ba587f>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
7
13
|
/* tslint:disable */
|
|
8
14
|
/* eslint-disable */
|
|
9
15
|
// @ts-nocheck
|
|
10
16
|
|
|
11
|
-
/*
|
|
12
|
-
mutation CheckoutUpdateCustomerMutation(
|
|
13
|
-
$input: UpdateCustomerInput!
|
|
14
|
-
) {
|
|
15
|
-
updateCustomer(input: $input) {
|
|
16
|
-
order {
|
|
17
|
-
...CartOrder_order
|
|
18
|
-
id
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
fragment CartItem_node on OrderItem {
|
|
24
|
-
id
|
|
25
|
-
price {
|
|
26
|
-
...Price_price
|
|
27
|
-
}
|
|
28
|
-
sku {
|
|
29
|
-
price {
|
|
30
|
-
...Price_price
|
|
31
|
-
}
|
|
32
|
-
product {
|
|
33
|
-
__typename
|
|
34
|
-
__isSkuProduct: __typename
|
|
35
|
-
...CollectionAa_product
|
|
36
|
-
...FontStyle_fontStyle
|
|
37
|
-
... on FontStyle {
|
|
38
|
-
family {
|
|
39
|
-
name
|
|
40
|
-
cssUrl
|
|
41
|
-
id
|
|
42
|
-
}
|
|
43
|
-
name
|
|
44
|
-
variableInstances {
|
|
45
|
-
name
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
... on Bundle {
|
|
49
|
-
name
|
|
50
|
-
}
|
|
51
|
-
... on FontCollection {
|
|
52
|
-
name
|
|
53
|
-
isVariableFont
|
|
54
|
-
totalStyles
|
|
55
|
-
featureStyle {
|
|
56
|
-
family {
|
|
57
|
-
cssUrl
|
|
58
|
-
id
|
|
59
|
-
}
|
|
60
|
-
id
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
... on Node {
|
|
64
|
-
__isNode: __typename
|
|
65
|
-
id
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
id
|
|
69
|
-
}
|
|
70
|
-
licenseSelections {
|
|
71
|
-
id
|
|
72
|
-
license {
|
|
73
|
-
id
|
|
74
|
-
name
|
|
75
|
-
multiplier
|
|
76
|
-
}
|
|
77
|
-
variable: licenseVariable {
|
|
78
|
-
id
|
|
79
|
-
variableType
|
|
80
|
-
...VariableTableAmounts_variable
|
|
81
|
-
}
|
|
82
|
-
option: licenseOption {
|
|
83
|
-
id
|
|
84
|
-
amount
|
|
85
|
-
multiplier
|
|
86
|
-
name
|
|
87
|
-
...VariableTableAmounts_option
|
|
88
|
-
}
|
|
89
|
-
variableText
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
fragment CartOrder_order on Order {
|
|
94
|
-
...Checkout_order
|
|
95
|
-
...Download_order
|
|
96
|
-
...CouponCodeInput_order
|
|
97
|
-
...CartTotals_order
|
|
98
|
-
orderItems {
|
|
99
|
-
...CartItem_node
|
|
100
|
-
id
|
|
101
|
-
licenseSelections {
|
|
102
|
-
license {
|
|
103
|
-
id
|
|
104
|
-
}
|
|
105
|
-
licenseVariable {
|
|
106
|
-
id
|
|
107
|
-
variableType
|
|
108
|
-
}
|
|
109
|
-
licenseOption {
|
|
110
|
-
id
|
|
111
|
-
}
|
|
112
|
-
variableText
|
|
113
|
-
id
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
discount {
|
|
117
|
-
id
|
|
118
|
-
}
|
|
119
|
-
customer {
|
|
120
|
-
email
|
|
121
|
-
name
|
|
122
|
-
anonymous
|
|
123
|
-
id
|
|
124
|
-
}
|
|
125
|
-
billingIdentity {
|
|
126
|
-
...IdentityBox_identity
|
|
127
|
-
}
|
|
128
|
-
licenseeIdentity {
|
|
129
|
-
...IdentityBox_identity
|
|
130
|
-
}
|
|
131
|
-
licenseeIsBillingIdentity
|
|
132
|
-
stripePaymentMethod {
|
|
133
|
-
card {
|
|
134
|
-
last4
|
|
135
|
-
brand
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
stripePaymentIntent {
|
|
139
|
-
status
|
|
140
|
-
}
|
|
141
|
-
canCompleteWithCoupon
|
|
142
|
-
completedWithCoupon
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
fragment CartTotals_order on Order {
|
|
146
|
-
subtotal {
|
|
147
|
-
...Price_price
|
|
148
|
-
}
|
|
149
|
-
discount {
|
|
150
|
-
amount {
|
|
151
|
-
amount
|
|
152
|
-
...Price_price
|
|
153
|
-
}
|
|
154
|
-
coupon {
|
|
155
|
-
...CouponText_coupon
|
|
156
|
-
id
|
|
157
|
-
}
|
|
158
|
-
id
|
|
159
|
-
}
|
|
160
|
-
discountedSubtotal {
|
|
161
|
-
...Price_price
|
|
162
|
-
}
|
|
163
|
-
total {
|
|
164
|
-
amount
|
|
165
|
-
...Price_price
|
|
166
|
-
}
|
|
167
|
-
taxes {
|
|
168
|
-
...Price_price
|
|
169
|
-
}
|
|
170
|
-
taxName
|
|
171
|
-
gstIncluded
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
fragment Checkout_order on Order {
|
|
175
|
-
canCompleteWithCoupon
|
|
176
|
-
customer {
|
|
177
|
-
name
|
|
178
|
-
email
|
|
179
|
-
newsletterOptIn
|
|
180
|
-
id
|
|
181
|
-
}
|
|
182
|
-
billingIdentity {
|
|
183
|
-
name
|
|
184
|
-
organization
|
|
185
|
-
email
|
|
186
|
-
phone
|
|
187
|
-
street
|
|
188
|
-
locality
|
|
189
|
-
sublocality
|
|
190
|
-
country
|
|
191
|
-
administrativeArea
|
|
192
|
-
zip
|
|
193
|
-
vatNumber
|
|
194
|
-
}
|
|
195
|
-
licenseeIdentity {
|
|
196
|
-
name
|
|
197
|
-
organization
|
|
198
|
-
email
|
|
199
|
-
phone
|
|
200
|
-
street
|
|
201
|
-
locality
|
|
202
|
-
sublocality
|
|
203
|
-
country
|
|
204
|
-
administrativeArea
|
|
205
|
-
zip
|
|
206
|
-
vatNumber
|
|
207
|
-
}
|
|
208
|
-
licenseeIsBillingIdentity
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
fragment CollectionAa_product on SkuProduct {
|
|
212
|
-
__isSkuProduct: __typename
|
|
213
|
-
__typename
|
|
214
|
-
... on FontCollection {
|
|
215
|
-
featureStyle {
|
|
216
|
-
...FontStyle_fontStyle
|
|
217
|
-
id
|
|
218
|
-
}
|
|
219
|
-
families: children(collectionTypes: [FAMILY]) {
|
|
220
|
-
fontStyles {
|
|
221
|
-
...FontStyle_fontStyle
|
|
222
|
-
id
|
|
223
|
-
}
|
|
224
|
-
id
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
... on Bundle {
|
|
228
|
-
fontStyles {
|
|
229
|
-
...FontStyle_fontStyle
|
|
230
|
-
id
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
fragment CouponCodeInput_order on Order {
|
|
236
|
-
id
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
fragment CouponText_coupon on Coupon {
|
|
240
|
-
type
|
|
241
|
-
percentAmount
|
|
242
|
-
creditAmountRemaining {
|
|
243
|
-
amount
|
|
244
|
-
currency
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
fragment Download_order on Order {
|
|
249
|
-
id
|
|
250
|
-
archiveUrl
|
|
251
|
-
customer {
|
|
252
|
-
email
|
|
253
|
-
id
|
|
254
|
-
}
|
|
255
|
-
completedWithCoupon
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
fragment FontStyle_fontStyle on FontStyle {
|
|
259
|
-
cssFamily
|
|
260
|
-
name
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
fragment IdentityBox_identity on Identity {
|
|
264
|
-
email
|
|
265
|
-
phoneFormatted
|
|
266
|
-
addressFormatted
|
|
267
|
-
vatNumber
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
fragment Price_price on Money {
|
|
271
|
-
amount
|
|
272
|
-
currency
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
fragment VariableTableAmounts_option on LicenseOption {
|
|
276
|
-
amounts
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
fragment VariableTableAmounts_variable on LicenseVariable {
|
|
280
|
-
units
|
|
281
|
-
}
|
|
282
|
-
*/
|
|
283
|
-
|
|
284
17
|
const node = function () {
|
|
285
18
|
var v0 = [{
|
|
286
19
|
"defaultValue": null,
|
|
@@ -418,26 +151,15 @@ const node = function () {
|
|
|
418
151
|
"name": "cssUrl",
|
|
419
152
|
"storageKey": null
|
|
420
153
|
},
|
|
421
|
-
v11 =
|
|
422
|
-
|
|
423
|
-
"args": null,
|
|
424
|
-
"concreteType": "FontStyle",
|
|
425
|
-
"kind": "LinkedField",
|
|
426
|
-
"name": "fontStyles",
|
|
427
|
-
"plural": true,
|
|
428
|
-
"selections": [v9 /*: any*/, v2 /*: any*/, v4 /*: any*/],
|
|
429
|
-
|
|
430
|
-
"storageKey": null
|
|
431
|
-
},
|
|
432
|
-
v12 = [v4 /*: any*/],
|
|
433
|
-
v13 = {
|
|
154
|
+
v11 = [v4 /*: any*/],
|
|
155
|
+
v12 = {
|
|
434
156
|
"alias": null,
|
|
435
157
|
"args": null,
|
|
436
158
|
"kind": "ScalarField",
|
|
437
159
|
"name": "multiplier",
|
|
438
160
|
"storageKey": null
|
|
439
161
|
},
|
|
440
|
-
|
|
162
|
+
v13 = {
|
|
441
163
|
"alias": null,
|
|
442
164
|
"args": null,
|
|
443
165
|
"kind": "ScalarField",
|
|
@@ -707,20 +429,6 @@ const node = function () {
|
|
|
707
429
|
"storageKey": null
|
|
708
430
|
}],
|
|
709
431
|
"storageKey": null
|
|
710
|
-
}, {
|
|
711
|
-
"alias": "families",
|
|
712
|
-
"args": [{
|
|
713
|
-
"kind": "Literal",
|
|
714
|
-
"name": "collectionTypes",
|
|
715
|
-
"value": ["FAMILY"]
|
|
716
|
-
}],
|
|
717
|
-
"concreteType": "FontCollection",
|
|
718
|
-
"kind": "LinkedField",
|
|
719
|
-
"name": "children",
|
|
720
|
-
"plural": true,
|
|
721
|
-
"selections": [v11 /*: any*/, v4 /*: any*/],
|
|
722
|
-
|
|
723
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
724
432
|
}, v2 /*: any*/, {
|
|
725
433
|
"alias": null,
|
|
726
434
|
"args": null,
|
|
@@ -738,7 +446,17 @@ const node = function () {
|
|
|
738
446
|
"abstractKey": null
|
|
739
447
|
}, {
|
|
740
448
|
"kind": "InlineFragment",
|
|
741
|
-
"selections": [
|
|
449
|
+
"selections": [{
|
|
450
|
+
"alias": null,
|
|
451
|
+
"args": null,
|
|
452
|
+
"concreteType": "FontStyle",
|
|
453
|
+
"kind": "LinkedField",
|
|
454
|
+
"name": "fontStyles",
|
|
455
|
+
"plural": true,
|
|
456
|
+
"selections": [v9 /*: any*/, v2 /*: any*/, v4 /*: any*/],
|
|
457
|
+
|
|
458
|
+
"storageKey": null
|
|
459
|
+
}, v2 /*: any*/],
|
|
742
460
|
|
|
743
461
|
"type": "Bundle",
|
|
744
462
|
"abstractKey": null
|
|
@@ -769,7 +487,7 @@ const node = function () {
|
|
|
769
487
|
"abstractKey": null
|
|
770
488
|
}, {
|
|
771
489
|
"kind": "InlineFragment",
|
|
772
|
-
"selections":
|
|
490
|
+
"selections": v11 /*: any*/,
|
|
773
491
|
"type": "Node",
|
|
774
492
|
"abstractKey": "__isNode"
|
|
775
493
|
}],
|
|
@@ -791,7 +509,7 @@ const node = function () {
|
|
|
791
509
|
"kind": "LinkedField",
|
|
792
510
|
"name": "license",
|
|
793
511
|
"plural": false,
|
|
794
|
-
"selections": [v4 /*: any*/, v2 /*: any*/,
|
|
512
|
+
"selections": [v4 /*: any*/, v2 /*: any*/, v12 /*: any*/],
|
|
795
513
|
|
|
796
514
|
"storageKey": null
|
|
797
515
|
}, {
|
|
@@ -801,7 +519,7 @@ const node = function () {
|
|
|
801
519
|
"kind": "LinkedField",
|
|
802
520
|
"name": "licenseVariable",
|
|
803
521
|
"plural": false,
|
|
804
|
-
"selections": [v4 /*: any*/,
|
|
522
|
+
"selections": [v4 /*: any*/, v13 /*: any*/, {
|
|
805
523
|
"alias": null,
|
|
806
524
|
"args": null,
|
|
807
525
|
"kind": "ScalarField",
|
|
@@ -816,7 +534,7 @@ const node = function () {
|
|
|
816
534
|
"kind": "LinkedField",
|
|
817
535
|
"name": "licenseOption",
|
|
818
536
|
"plural": false,
|
|
819
|
-
"selections": [v4 /*: any*/, v6 /*: any*/,
|
|
537
|
+
"selections": [v4 /*: any*/, v6 /*: any*/, v12 /*: any*/, v2 /*: any*/, {
|
|
820
538
|
"alias": null,
|
|
821
539
|
"args": null,
|
|
822
540
|
"kind": "ScalarField",
|
|
@@ -837,7 +555,7 @@ const node = function () {
|
|
|
837
555
|
"kind": "LinkedField",
|
|
838
556
|
"name": "licenseVariable",
|
|
839
557
|
"plural": false,
|
|
840
|
-
"selections": [v4 /*: any*/,
|
|
558
|
+
"selections": [v4 /*: any*/, v13 /*: any*/],
|
|
841
559
|
|
|
842
560
|
"storageKey": null
|
|
843
561
|
}, {
|
|
@@ -847,7 +565,7 @@ const node = function () {
|
|
|
847
565
|
"kind": "LinkedField",
|
|
848
566
|
"name": "licenseOption",
|
|
849
567
|
"plural": false,
|
|
850
|
-
"selections":
|
|
568
|
+
"selections": v11 /*: any*/,
|
|
851
569
|
"storageKey": null
|
|
852
570
|
}],
|
|
853
571
|
"storageKey": null
|
|
@@ -905,15 +623,15 @@ const node = function () {
|
|
|
905
623
|
}]
|
|
906
624
|
},
|
|
907
625
|
"params": {
|
|
908
|
-
"cacheID": "
|
|
626
|
+
"cacheID": "86927c162d7e27fb48cb9191d5f05699",
|
|
909
627
|
"id": null,
|
|
910
628
|
"metadata": {},
|
|
911
629
|
"name": "CheckoutUpdateCustomerMutation",
|
|
912
630
|
"operationKind": "mutation",
|
|
913
|
-
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\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 CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...
|
|
631
|
+
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\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 CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\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 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 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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 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 cssFamily\n name\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"
|
|
914
632
|
}
|
|
915
633
|
};
|
|
916
634
|
}();
|
|
917
|
-
node.hash =
|
|
635
|
+
node.hash = "0b5cfd0771be9b3107817aefcc7029cf";
|
|
918
636
|
var _default = node;
|
|
919
637
|
exports.default = _default;
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<52a9b5fe1fc373e50060aaf9927de3c4>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
7
|
import { FragmentRefs } from "relay-runtime";
|
|
3
|
-
export
|
|
8
|
+
export type UpdateOrderInput = {
|
|
4
9
|
billingIdentity?: IdentityInput | null;
|
|
5
10
|
licenseeIdentity?: IdentityInput | null;
|
|
6
11
|
licenseeIsBillingIdentity?: boolean | null;
|
|
7
|
-
orderItems?:
|
|
12
|
+
orderItems?: ReadonlyArray<OrderItemInput | null> | null;
|
|
8
13
|
stripePaymentMethodId?: string | null;
|
|
9
14
|
stripeTokenId?: string | null;
|
|
10
15
|
};
|
|
11
|
-
export
|
|
16
|
+
export type OrderItemInput = {
|
|
17
|
+
id: string;
|
|
18
|
+
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
19
|
+
};
|
|
20
|
+
export type LicenseSelectionInput = {
|
|
21
|
+
licenseId: string;
|
|
22
|
+
licenseOptionId?: string | null;
|
|
23
|
+
licenseVariableId?: string | null;
|
|
24
|
+
variableText?: string | null;
|
|
25
|
+
};
|
|
26
|
+
export type IdentityInput = {
|
|
12
27
|
administrativeArea?: string | null;
|
|
13
28
|
country: string;
|
|
14
29
|
email: string;
|
|
@@ -22,50 +37,40 @@ export declare type IdentityInput = {
|
|
|
22
37
|
vatNumber?: string | null;
|
|
23
38
|
zip?: string | null;
|
|
24
39
|
};
|
|
25
|
-
export
|
|
26
|
-
id: string;
|
|
27
|
-
licenseSelections: Array<LicenseSelectionInput | null>;
|
|
28
|
-
};
|
|
29
|
-
export declare type LicenseSelectionInput = {
|
|
30
|
-
licenseId: string;
|
|
31
|
-
licenseOptionId?: string | null;
|
|
32
|
-
licenseVariableId?: string | null;
|
|
33
|
-
variableText?: string | null;
|
|
34
|
-
};
|
|
35
|
-
export declare type CheckoutUpdateOrderMutationVariables = {
|
|
40
|
+
export type CheckoutUpdateOrderMutation$variables = {
|
|
36
41
|
input: UpdateOrderInput;
|
|
37
42
|
};
|
|
38
|
-
export
|
|
43
|
+
export type CheckoutUpdateOrderMutation$data = {
|
|
39
44
|
readonly updateOrder: {
|
|
40
|
-
readonly order: {
|
|
41
|
-
readonly " $fragmentRefs": FragmentRefs<"CartOrder_order">;
|
|
42
|
-
} | null;
|
|
43
45
|
readonly errors: {
|
|
44
|
-
readonly stripePaymentMethodId: ReadonlyArray<string | null> | null;
|
|
45
46
|
readonly billingIdentity: {
|
|
46
|
-
readonly zip: ReadonlyArray<string | null> | null;
|
|
47
|
-
readonly phone: ReadonlyArray<string | null> | null;
|
|
48
47
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
48
|
+
readonly email: ReadonlyArray<string | null> | null;
|
|
49
49
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
50
|
+
readonly phone: ReadonlyArray<string | null> | null;
|
|
50
51
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
51
|
-
readonly email: ReadonlyArray<string | null> | null;
|
|
52
52
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
53
|
+
readonly zip: ReadonlyArray<string | null> | null;
|
|
53
54
|
} | null;
|
|
54
55
|
readonly licenseeIdentity: {
|
|
55
|
-
readonly zip: ReadonlyArray<string | null> | null;
|
|
56
|
-
readonly phone: ReadonlyArray<string | null> | null;
|
|
57
56
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
57
|
+
readonly email: ReadonlyArray<string | null> | null;
|
|
58
58
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
59
|
+
readonly phone: ReadonlyArray<string | null> | null;
|
|
59
60
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
60
|
-
readonly email: ReadonlyArray<string | null> | null;
|
|
61
61
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
62
|
+
readonly zip: ReadonlyArray<string | null> | null;
|
|
62
63
|
} | null;
|
|
64
|
+
readonly stripePaymentMethodId: ReadonlyArray<string | null> | null;
|
|
65
|
+
} | null;
|
|
66
|
+
readonly order: {
|
|
67
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartOrder_order">;
|
|
63
68
|
} | null;
|
|
64
69
|
} | null;
|
|
65
70
|
};
|
|
66
|
-
export
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
export type CheckoutUpdateOrderMutation = {
|
|
72
|
+
response: CheckoutUpdateOrderMutation$data;
|
|
73
|
+
variables: CheckoutUpdateOrderMutation$variables;
|
|
69
74
|
};
|
|
70
75
|
declare const node: ConcreteRequest;
|
|
71
76
|
export default node;
|