fontdue-js 2.10.0 → 2.11.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.
- package/CHANGELOG.md +4 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +11 -63
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -11
- package/dist/__generated__/AddressFields_viewer.graphql.js +68 -122
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +2 -2
- package/dist/__generated__/BuyButton_collection.graphql.js +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.js +24 -3
- package/dist/__generated__/CartButton_order.graphql.d.ts +4 -1
- package/dist/__generated__/CartButton_order.graphql.js +15 -2
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.d.ts +18 -0
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.js +42 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.d.ts +21 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.js +52 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.d.ts +29 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.js +80 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +33 -0
- package/dist/__generated__/CartItemProduct_product.graphql.js +122 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.d.ts +36 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.js +107 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.d.ts +22 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.js +58 -0
- package/dist/__generated__/CartItem_node.graphql.d.ts +9 -34
- package/dist/__generated__/CartItem_node.graphql.js +31 -129
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrder_order.graphql.d.ts +11 -2
- package/dist/__generated__/CartOrder_order.graphql.js +33 -2
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +143 -108
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +162 -17
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +8 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +249 -91
- package/dist/__generated__/CartState_order.graphql.d.ts +10 -1
- package/dist/__generated__/CartState_order.graphql.js +30 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +5 -5
- package/dist/__generated__/CharacterViewer_collection.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +2 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +162 -17
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +29 -19
- package/dist/__generated__/CouponText_coupon.graphql.d.ts +5 -1
- package/dist/__generated__/CouponText_coupon.graphql.js +36 -24
- package/dist/__generated__/FamilyList_node.graphql.d.ts +2 -2
- package/dist/__generated__/FamilyList_node.graphql.js +1 -1
- package/dist/__generated__/Family_node.graphql.d.ts +2 -2
- package/dist/__generated__/Family_node.graphql.js +27 -10
- package/dist/__generated__/Family_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +11 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +58 -45
- package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +69 -0
- package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +32 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +79 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +171 -142
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +7 -2
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +43 -28
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +2 -2
- package/dist/__generated__/PriceBarSection_node.graphql.js +22 -17
- package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/PriceBar_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBar_node.graphql.js +20 -4
- package/dist/__generated__/PriceBar_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +6 -1
- package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +29 -0
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +13 -17
- package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +19 -0
- package/dist/__generated__/SelectButton_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SelectButton_sku.graphql.js +13 -5
- package/dist/__generated__/SelectButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.js +21 -5
- package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +7 -3
- package/dist/__generated__/StoreModalCartQuery.graphql.js +391 -66
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +3 -6
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +36 -147
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +20 -4
- package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +29 -12
- package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +60 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +27 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +24 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +38 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +129 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +22 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +92 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +24 -7
- package/dist/__generated__/StoreModalProductQuery.graphql.js +193 -130
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +383 -0
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +8 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +59 -29
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +59 -15
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +32 -25
- package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +21 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +241 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +251 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +82 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +292 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +55 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +169 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +99 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.d.ts +22 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.js +105 -0
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StripeProvider_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +40 -46
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +2 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +3 -3
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -10
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +48 -41
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +482 -0
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +43 -14
- package/dist/__generated__/productState_Query.graphql.d.ts +3 -3
- package/dist/__generated__/productState_Query.graphql.js +1 -1
- package/dist/__generated__/productState_collection.graphql.d.ts +2 -2
- package/dist/__generated__/productState_collection.graphql.js +1 -1
- package/dist/__generated__/productState_node.graphql.d.ts +3 -3
- package/dist/__generated__/productState_node.graphql.js +1 -1
- package/dist/__generated__/useOrderVariables_order.graphql.d.ts +24 -0
- package/dist/components/AddToCartBanner/index.js +3 -3
- package/dist/components/BuyButton/index.js +4 -4
- package/dist/components/BuyButton/index.server.js +2 -2
- package/dist/components/BuyingOptions/index.js +1 -1
- package/dist/components/Cart/AddressFields.d.ts +2 -3
- package/dist/components/Cart/AddressFields.js +85 -142
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.d.ts +10 -0
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.js +38 -0
- package/dist/components/Cart/CartItem/CartItemLicense.d.ts +12 -0
- package/dist/components/Cart/CartItem/CartItemLicense.js +75 -0
- package/dist/components/Cart/CartItem/CartItemProduct.d.ts +7 -0
- package/dist/components/Cart/CartItem/CartItemProduct.js +43 -0
- package/dist/components/Cart/CartItem/CartItemVariable.d.ts +11 -0
- package/dist/components/Cart/CartItem/CartItemVariable.js +76 -0
- package/dist/components/Cart/CartItem/VariableTextInput.d.ts +1 -3
- package/dist/components/Cart/CartItem/VariableTextInput.js +7 -6
- package/dist/components/Cart/CartItem/index.d.ts +4 -1
- package/dist/components/Cart/CartItem/index.js +73 -284
- package/dist/components/Cart/CartOrder.js +19 -39
- package/dist/components/Cart/CartState.d.ts +4 -2
- package/dist/components/Cart/CartState.js +40 -29
- package/dist/components/Cart/CartTotals.js +2 -2
- package/dist/components/Cart/Checkout.js +5 -7
- package/dist/components/Cart/CouponCodeInput.js +4 -4
- package/dist/components/Cart/CustomerFields.d.ts +1 -1
- package/dist/components/Cart/CustomerFields.js +5 -5
- package/dist/components/Cart/Download.js +3 -3
- package/dist/components/Cart/EmptyCart.js +1 -1
- package/dist/components/Cart/IdentityBox.js +1 -1
- package/dist/components/Cart/index.js +2 -2
- package/dist/components/Cart/injectRelayEnvironment.js +2 -2
- package/dist/components/Cart/types.d.ts +5 -4
- package/dist/components/CartButton/index.d.ts +1 -0
- package/dist/components/CartButton/index.js +52 -11
- package/dist/components/CartButton/index.server.js +2 -2
- package/dist/components/CharacterViewer/StyleSelect.js +1 -1
- package/dist/components/CharacterViewer/index.js +8 -8
- package/dist/components/CharacterViewer/index.server.js +2 -2
- package/dist/components/Checkbox/index.js +4 -4
- package/dist/components/CollectionAa/index.js +1 -1
- package/dist/components/ComponentsContext.js +1 -1
- package/dist/components/ConfigContext.js +2 -2
- package/dist/components/CookieNotification/index.js +2 -2
- package/dist/components/CouponText/index.js +9 -4
- package/dist/components/CustomerLoginForm/index.js +3 -3
- package/dist/components/Family/FamilyList.js +1 -1
- package/dist/components/Family/index.js +4 -4
- package/dist/components/FontFamilies/index.js +12 -5
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +3 -3
- package/dist/components/FontdueProvider/index.js +1 -1
- package/dist/components/FontdueProvider/index.server.js +3 -3
- package/dist/components/Icons/Align.js +1 -1
- package/dist/components/Icons/ArrowDownRight.js +1 -1
- package/dist/components/Icons/ArrowLeft.js +1 -1
- package/dist/components/Icons/ArrowRight.js +1 -1
- package/dist/components/Icons/CarrotDown.js +1 -1
- package/dist/components/Icons/CarrotUp.js +1 -1
- package/dist/components/Icons/Cart.js +1 -1
- package/dist/components/Icons/CartNew.js +1 -1
- package/dist/components/Icons/Check.js +1 -1
- package/dist/components/Icons/Checkbox.js +1 -1
- package/dist/components/Icons/CheckboxChecked.js +1 -1
- package/dist/components/Icons/CheckboxCrossed.js +1 -1
- package/dist/components/Icons/CircledCheck.js +1 -1
- package/dist/components/Icons/CircledInfo.js +1 -1
- package/dist/components/Icons/CircledMinus.js +1 -1
- package/dist/components/Icons/ColorPicker.js +1 -1
- package/dist/components/Icons/CreditCard.js +1 -1
- package/dist/components/Icons/DownArrow.js +1 -1
- package/dist/components/Icons/DownloadFonts.js +1 -1
- package/dist/components/Icons/FrowningFace.js +1 -1
- package/dist/components/Icons/License.js +1 -1
- package/dist/components/Icons/Receipt.js +1 -1
- package/dist/components/Icons/User.js +1 -1
- package/dist/components/Icons/X.js +1 -1
- package/dist/components/Icons/index.js +1 -1
- package/dist/components/NewsletterSignup/NewsletterSignupElement.js +2 -2
- package/dist/components/NewsletterSignup/index.js +4 -4
- package/dist/components/NewsletterSignup/index.server.js +2 -2
- package/dist/components/NodePasswordForm/index.js +6 -7
- package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +7 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.d.ts +11 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +37 -0
- package/dist/components/OrderVariableSelection/index.d.ts +33 -0
- package/dist/components/OrderVariableSelection/index.js +184 -0
- package/dist/components/Precart/License.js +1 -1
- package/dist/components/Precart/index.js +4 -4
- package/dist/components/Price/index.js +2 -2
- package/dist/components/PriceBar/PriceBarSection.js +7 -27
- package/dist/components/PriceBar/index.js +4 -4
- package/dist/components/Root/index.js +4 -4
- package/dist/components/Root/productState.js +1 -1
- package/dist/components/SKUPrice/index.js +5 -31
- package/dist/components/Select/index.js +2 -2
- package/dist/components/SelectButton/index.js +5 -5
- package/dist/components/SelectField/index.js +4 -4
- package/dist/components/SpecimenLink/index.js +1 -1
- package/dist/components/StickyNav/index.js +3 -3
- package/dist/components/StoreModal/StoreModalBundleButton.js +3 -3
- package/dist/components/StoreModal/StoreModalCart.d.ts +0 -1
- package/dist/components/StoreModal/StoreModalCart.js +34 -21
- package/dist/components/StoreModal/StoreModalCheckout.js +46 -49
- package/dist/components/StoreModal/StoreModalCheckoutContext.js +1 -1
- package/dist/components/StoreModal/StoreModalContainer.js +5 -4
- package/dist/components/StoreModal/StoreModalDownload.js +3 -3
- package/dist/components/StoreModal/StoreModalFamily.js +4 -4
- package/dist/components/StoreModal/StoreModalFamilyButton.js +3 -3
- package/dist/components/StoreModal/StoreModalIndex.js +1 -1
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.js +31 -0
- package/dist/components/StoreModal/StoreModalLoader.js +2 -2
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +78 -0
- package/dist/components/StoreModal/StoreModalProduct.js +89 -16
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -3
- package/dist/components/StoreModal/StoreModalRouter.js +3 -3
- package/dist/components/StoreModal/StoreModalStyleButton.js +3 -3
- package/dist/components/StoreModal/index.js +3 -3
- package/dist/components/StoreModal/routes.d.ts +0 -2
- package/dist/components/StoreModal/routes.js +6 -12
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.d.ts +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +5 -5
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +3 -3
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +6 -5
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +5 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +17 -10
- package/dist/components/StoreModalProductSummary/index.d.ts +5 -6
- package/dist/components/StoreModalProductSummary/index.js +78 -48
- package/dist/components/StripeLogo.d.ts +2 -0
- package/dist/components/StripeLogo.js +17 -0
- package/dist/components/StripeProvider/index.d.ts +2 -1
- package/dist/components/StripeProvider/index.js +122 -60
- package/dist/components/Stylesheet/index.js +2 -2
- package/dist/components/TestFontsForm/TestFontsFormElement.js +2 -2
- package/dist/components/TestFontsForm/index.js +4 -4
- package/dist/components/TestFontsForm/index.server.js +2 -2
- package/dist/components/TestModeBanner/index.js +1 -1
- package/dist/components/TextField/index.js +2 -2
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/ThemeConfig/index.server.js +1 -1
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +1 -1
- package/dist/components/TypeTester/TypeTesterBullet.js +1 -1
- package/dist/components/TypeTester/TypeTesterContent.js +4 -4
- package/dist/components/TypeTester/TypeTesterContext.js +2 -2
- package/dist/components/TypeTester/TypeTesterEditAll.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
- package/dist/components/TypeTester/TypeTesterFitter.js +2 -2
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterInput.js +2 -2
- package/dist/components/TypeTester/TypeTesterSlider.js +2 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +36 -5
- package/dist/components/TypeTester/TypeTesterStandalone.server.js +4 -10
- package/dist/components/TypeTester/TypeTesterStandaloneElement.js +2 -2
- package/dist/components/TypeTester/TypeTesterState.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +4 -4
- package/dist/components/TypeTester/TypeTesterToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +1 -1
- package/dist/components/TypeTester/index.d.ts +2 -0
- package/dist/components/TypeTester/index.js +12 -47
- package/dist/components/TypeTester/useFeaturesData.js +1 -1
- package/dist/components/TypeTesters/TypeTestersElement.js +2 -2
- package/dist/components/TypeTesters/index.js +85 -20
- package/dist/components/TypeTesters/index.server.js +5 -11
- package/dist/components/VariableTableAmounts/index.js +1 -1
- package/dist/components/elements/Button/index.js +2 -2
- package/dist/components/elements/EmptyCart/index.js +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.d.ts +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.js +12 -14
- package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.js +1 -1
- package/dist/components/elements/StoreModalContainer/index.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +6 -4
- package/dist/components/elements/StoreModalDownloadLayout/index.js +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/components/elements/StoreModalFamilyButton/index.js +2 -2
- package/dist/components/elements/StoreModalIndexItem/index.js +1 -1
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.d.ts +11 -0
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.js +61 -0
- package/dist/components/elements/StoreModalLoadingScreen/index.js +1 -1
- package/dist/components/elements/StoreModalPageContainer/index.js +1 -1
- package/dist/components/elements/StoreModalStyleButton/index.js +2 -2
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +10 -0
- package/dist/components/elements/StoreModalUnifiedCheckout.js +494 -0
- package/dist/components/useFontStyle.js +1 -1
- package/dist/components/useTotalStyles.js +1 -1
- package/dist/fontdue.css +339 -232
- package/dist/hooks/useLicenseAndOrderVariables.d.ts +5 -0
- package/dist/hooks/useLicenseAndOrderVariables.js +25 -0
- package/dist/hooks/useOrderVariables.d.ts +5 -0
- package/dist/hooks/useRefetchOnLicenseChanges.d.ts +22 -0
- package/dist/hooks/useRefetchOnLicenseChanges.js +61 -0
- package/dist/react-ranger.js +1 -1
- package/dist/reducer.d.ts +12 -0
- package/dist/reducer.js +17 -1
- package/dist/relay/environment.d.ts +1 -1
- package/dist/relay/environment.js +6 -9
- package/dist/vanilla/FontStyle.js +1 -1
- package/package.json +5 -5
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<56d3610893e89b4fd0be9da7629cbc54>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -118,43 +118,39 @@ const node = function () {
|
|
|
118
118
|
"name": "currency",
|
|
119
119
|
"storageKey": null
|
|
120
120
|
}],
|
|
121
|
-
v7 =
|
|
122
|
-
"alias": null,
|
|
123
|
-
"args": null,
|
|
124
|
-
"concreteType": "Money",
|
|
125
|
-
"kind": "LinkedField",
|
|
126
|
-
"name": "price",
|
|
127
|
-
"plural": false,
|
|
128
|
-
"selections": v6 /*: any*/,
|
|
129
|
-
"storageKey": null
|
|
130
|
-
},
|
|
121
|
+
v7 = [v0 /*: any*/],
|
|
131
122
|
v8 = {
|
|
132
123
|
"alias": null,
|
|
133
124
|
"args": null,
|
|
134
|
-
"
|
|
135
|
-
"
|
|
125
|
+
"concreteType": "LicenseOption",
|
|
126
|
+
"kind": "LinkedField",
|
|
127
|
+
"name": "licenseOptions",
|
|
128
|
+
"plural": true,
|
|
129
|
+
"selections": v7 /*: any*/,
|
|
136
130
|
"storageKey": null
|
|
137
131
|
},
|
|
138
132
|
v9 = {
|
|
139
133
|
"alias": null,
|
|
140
134
|
"args": null,
|
|
141
|
-
"
|
|
142
|
-
"
|
|
135
|
+
"concreteType": "Money",
|
|
136
|
+
"kind": "LinkedField",
|
|
137
|
+
"name": "price",
|
|
138
|
+
"plural": false,
|
|
139
|
+
"selections": v6 /*: any*/,
|
|
143
140
|
"storageKey": null
|
|
144
141
|
},
|
|
145
142
|
v10 = {
|
|
146
143
|
"alias": null,
|
|
147
144
|
"args": null,
|
|
148
145
|
"kind": "ScalarField",
|
|
149
|
-
"name": "
|
|
146
|
+
"name": "cssFamily",
|
|
150
147
|
"storageKey": null
|
|
151
148
|
},
|
|
152
|
-
v11 =
|
|
153
|
-
v12 = {
|
|
149
|
+
v11 = {
|
|
154
150
|
"alias": null,
|
|
155
151
|
"args": null,
|
|
156
152
|
"kind": "ScalarField",
|
|
157
|
-
"name": "
|
|
153
|
+
"name": "cssUrl",
|
|
158
154
|
"storageKey": null
|
|
159
155
|
};
|
|
160
156
|
return {
|
|
@@ -228,6 +224,12 @@ const node = function () {
|
|
|
228
224
|
"kind": "ScalarField",
|
|
229
225
|
"name": "uiFontName",
|
|
230
226
|
"storageKey": null
|
|
227
|
+
}, {
|
|
228
|
+
"alias": null,
|
|
229
|
+
"args": null,
|
|
230
|
+
"kind": "ScalarField",
|
|
231
|
+
"name": "taxSystem",
|
|
232
|
+
"storageKey": null
|
|
231
233
|
}, {
|
|
232
234
|
"alias": null,
|
|
233
235
|
"args": null,
|
|
@@ -408,6 +410,15 @@ const node = function () {
|
|
|
408
410
|
"kind": "ScalarField",
|
|
409
411
|
"name": "percentAmount",
|
|
410
412
|
"storageKey": null
|
|
413
|
+
}, {
|
|
414
|
+
"alias": null,
|
|
415
|
+
"args": null,
|
|
416
|
+
"concreteType": "Money",
|
|
417
|
+
"kind": "LinkedField",
|
|
418
|
+
"name": "creditAmount",
|
|
419
|
+
"plural": false,
|
|
420
|
+
"selections": v6 /*: any*/,
|
|
421
|
+
"storageKey": null
|
|
411
422
|
}, {
|
|
412
423
|
"alias": null,
|
|
413
424
|
"args": null,
|
|
@@ -473,14 +484,92 @@ const node = function () {
|
|
|
473
484
|
"kind": "LinkedField",
|
|
474
485
|
"name": "orderItems",
|
|
475
486
|
"plural": true,
|
|
476
|
-
"selections": [v0 /*: any*/,
|
|
487
|
+
"selections": [v0 /*: any*/, {
|
|
488
|
+
"alias": null,
|
|
489
|
+
"args": null,
|
|
490
|
+
"concreteType": "LicenseSelection",
|
|
491
|
+
"kind": "LinkedField",
|
|
492
|
+
"name": "licenseSelections",
|
|
493
|
+
"plural": true,
|
|
494
|
+
"selections": [{
|
|
495
|
+
"alias": null,
|
|
496
|
+
"args": null,
|
|
497
|
+
"concreteType": "License",
|
|
498
|
+
"kind": "LinkedField",
|
|
499
|
+
"name": "license",
|
|
500
|
+
"plural": false,
|
|
501
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
502
|
+
"alias": null,
|
|
503
|
+
"args": null,
|
|
504
|
+
"concreteType": "LicenseVariable",
|
|
505
|
+
"kind": "LinkedField",
|
|
506
|
+
"name": "licenseVariables",
|
|
507
|
+
"plural": true,
|
|
508
|
+
"selections": [v0 /*: any*/, {
|
|
509
|
+
"alias": null,
|
|
510
|
+
"args": null,
|
|
511
|
+
"concreteType": "LicenseOption",
|
|
512
|
+
"kind": "LinkedField",
|
|
513
|
+
"name": "licenseOptions",
|
|
514
|
+
"plural": true,
|
|
515
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v5 /*: any*/],
|
|
516
|
+
"storageKey": null
|
|
517
|
+
}],
|
|
518
|
+
"storageKey": null
|
|
519
|
+
}],
|
|
520
|
+
"storageKey": null
|
|
521
|
+
}, {
|
|
522
|
+
"alias": null,
|
|
523
|
+
"args": null,
|
|
524
|
+
"concreteType": "LicenseVariable",
|
|
525
|
+
"kind": "LinkedField",
|
|
526
|
+
"name": "licenseVariable",
|
|
527
|
+
"plural": false,
|
|
528
|
+
"selections": [v0 /*: any*/, {
|
|
529
|
+
"alias": null,
|
|
530
|
+
"args": null,
|
|
531
|
+
"kind": "ScalarField",
|
|
532
|
+
"name": "units",
|
|
533
|
+
"storageKey": null
|
|
534
|
+
}, v1 /*: any*/, {
|
|
535
|
+
"alias": null,
|
|
536
|
+
"args": null,
|
|
537
|
+
"kind": "ScalarField",
|
|
538
|
+
"name": "variableType",
|
|
539
|
+
"storageKey": null
|
|
540
|
+
}, v8 /*: any*/],
|
|
541
|
+
"storageKey": null
|
|
542
|
+
}, {
|
|
543
|
+
"alias": null,
|
|
544
|
+
"args": null,
|
|
545
|
+
"concreteType": "LicenseOption",
|
|
546
|
+
"kind": "LinkedField",
|
|
547
|
+
"name": "licenseOption",
|
|
548
|
+
"plural": false,
|
|
549
|
+
"selections": [v0 /*: any*/, {
|
|
550
|
+
"alias": null,
|
|
551
|
+
"args": null,
|
|
552
|
+
"kind": "ScalarField",
|
|
553
|
+
"name": "amounts",
|
|
554
|
+
"storageKey": null
|
|
555
|
+
}, v1 /*: any*/, v5 /*: any*/],
|
|
556
|
+
"storageKey": null
|
|
557
|
+
}, {
|
|
558
|
+
"alias": null,
|
|
559
|
+
"args": null,
|
|
560
|
+
"kind": "ScalarField",
|
|
561
|
+
"name": "variableText",
|
|
562
|
+
"storageKey": null
|
|
563
|
+
}, v0 /*: any*/],
|
|
564
|
+
"storageKey": null
|
|
565
|
+
}, v9 /*: any*/, {
|
|
477
566
|
"alias": null,
|
|
478
567
|
"args": null,
|
|
479
568
|
"concreteType": "Sku",
|
|
480
569
|
"kind": "LinkedField",
|
|
481
570
|
"name": "sku",
|
|
482
571
|
"plural": false,
|
|
483
|
-
"selections": [
|
|
572
|
+
"selections": [v9 /*: any*/, {
|
|
484
573
|
"alias": null,
|
|
485
574
|
"args": null,
|
|
486
575
|
"concreteType": null,
|
|
@@ -505,14 +594,14 @@ const node = function () {
|
|
|
505
594
|
"kind": "LinkedField",
|
|
506
595
|
"name": "featureStyle",
|
|
507
596
|
"plural": false,
|
|
508
|
-
"selections": [
|
|
597
|
+
"selections": [v10 /*: any*/, v1 /*: any*/, v0 /*: any*/, {
|
|
509
598
|
"alias": null,
|
|
510
599
|
"args": null,
|
|
511
600
|
"concreteType": "FontCollection",
|
|
512
601
|
"kind": "LinkedField",
|
|
513
602
|
"name": "family",
|
|
514
603
|
"plural": false,
|
|
515
|
-
"selections": [
|
|
604
|
+
"selections": [v11 /*: any*/, v0 /*: any*/],
|
|
516
605
|
"storageKey": null
|
|
517
606
|
}],
|
|
518
607
|
"storageKey": null
|
|
@@ -540,21 +629,21 @@ const node = function () {
|
|
|
540
629
|
"kind": "LinkedField",
|
|
541
630
|
"name": "fontStyles",
|
|
542
631
|
"plural": true,
|
|
543
|
-
"selections": [
|
|
632
|
+
"selections": [v10 /*: any*/, v1 /*: any*/, v0 /*: any*/],
|
|
544
633
|
"storageKey": null
|
|
545
634
|
}, v1 /*: any*/],
|
|
546
635
|
"type": "Bundle",
|
|
547
636
|
"abstractKey": null
|
|
548
637
|
}, {
|
|
549
638
|
"kind": "InlineFragment",
|
|
550
|
-
"selections": [
|
|
639
|
+
"selections": [v10 /*: any*/, v1 /*: any*/, {
|
|
551
640
|
"alias": null,
|
|
552
641
|
"args": null,
|
|
553
642
|
"concreteType": "FontCollection",
|
|
554
643
|
"kind": "LinkedField",
|
|
555
644
|
"name": "family",
|
|
556
645
|
"plural": false,
|
|
557
|
-
"selections": [v1 /*: any*/,
|
|
646
|
+
"selections": [v1 /*: any*/, v11 /*: any*/, v0 /*: any*/],
|
|
558
647
|
"storageKey": null
|
|
559
648
|
}, {
|
|
560
649
|
"alias": null,
|
|
@@ -578,22 +667,13 @@ const node = function () {
|
|
|
578
667
|
"name": "licenses",
|
|
579
668
|
"plural": true,
|
|
580
669
|
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
581
|
-
"alias":
|
|
670
|
+
"alias": null,
|
|
582
671
|
"args": null,
|
|
583
672
|
"concreteType": "LicenseVariable",
|
|
584
673
|
"kind": "LinkedField",
|
|
585
674
|
"name": "licenseVariables",
|
|
586
675
|
"plural": true,
|
|
587
|
-
"selections": [v0 /*: any*/,
|
|
588
|
-
"alias": "options",
|
|
589
|
-
"args": null,
|
|
590
|
-
"concreteType": "LicenseOption",
|
|
591
|
-
"kind": "LinkedField",
|
|
592
|
-
"name": "licenseOptions",
|
|
593
|
-
"plural": true,
|
|
594
|
-
"selections": [v0 /*: any*/, v5 /*: any*/, v1 /*: any*/],
|
|
595
|
-
"storageKey": null
|
|
596
|
-
}],
|
|
676
|
+
"selections": [v0 /*: any*/, v8 /*: any*/],
|
|
597
677
|
"storageKey": null
|
|
598
678
|
}],
|
|
599
679
|
"storageKey": null
|
|
@@ -602,86 +682,41 @@ const node = function () {
|
|
|
602
682
|
"abstractKey": "__isLicenseable"
|
|
603
683
|
}, {
|
|
604
684
|
"kind": "InlineFragment",
|
|
605
|
-
"selections":
|
|
685
|
+
"selections": v7 /*: any*/,
|
|
606
686
|
"type": "Node",
|
|
607
687
|
"abstractKey": "__isNode"
|
|
608
688
|
}],
|
|
609
689
|
"storageKey": null
|
|
610
690
|
}, v0 /*: any*/],
|
|
611
691
|
"storageKey": null
|
|
692
|
+
}],
|
|
693
|
+
"storageKey": null
|
|
694
|
+
}, {
|
|
695
|
+
"alias": null,
|
|
696
|
+
"args": null,
|
|
697
|
+
"concreteType": "OrderVariableSelection",
|
|
698
|
+
"kind": "LinkedField",
|
|
699
|
+
"name": "orderVariableSelections",
|
|
700
|
+
"plural": true,
|
|
701
|
+
"selections": [{
|
|
702
|
+
"alias": null,
|
|
703
|
+
"args": null,
|
|
704
|
+
"concreteType": "OrderVariable",
|
|
705
|
+
"kind": "LinkedField",
|
|
706
|
+
"name": "orderVariable",
|
|
707
|
+
"plural": false,
|
|
708
|
+
"selections": v7 /*: any*/,
|
|
709
|
+
"storageKey": null
|
|
612
710
|
}, {
|
|
613
711
|
"alias": null,
|
|
614
712
|
"args": null,
|
|
615
|
-
"concreteType": "
|
|
713
|
+
"concreteType": "OrderVariableOption",
|
|
616
714
|
"kind": "LinkedField",
|
|
617
|
-
"name": "
|
|
618
|
-
"plural":
|
|
619
|
-
"selections":
|
|
620
|
-
"alias": null,
|
|
621
|
-
"args": null,
|
|
622
|
-
"concreteType": "License",
|
|
623
|
-
"kind": "LinkedField",
|
|
624
|
-
"name": "license",
|
|
625
|
-
"plural": false,
|
|
626
|
-
"selections": [v0 /*: any*/, v1 /*: any*/, v12 /*: any*/],
|
|
627
|
-
"storageKey": null
|
|
628
|
-
}, {
|
|
629
|
-
"alias": "variable",
|
|
630
|
-
"args": null,
|
|
631
|
-
"concreteType": "LicenseVariable",
|
|
632
|
-
"kind": "LinkedField",
|
|
633
|
-
"name": "licenseVariable",
|
|
634
|
-
"plural": false,
|
|
635
|
-
"selections": [v0 /*: any*/, v10 /*: any*/, {
|
|
636
|
-
"alias": null,
|
|
637
|
-
"args": null,
|
|
638
|
-
"kind": "ScalarField",
|
|
639
|
-
"name": "units",
|
|
640
|
-
"storageKey": null
|
|
641
|
-
}],
|
|
642
|
-
"storageKey": null
|
|
643
|
-
}, {
|
|
644
|
-
"alias": "option",
|
|
645
|
-
"args": null,
|
|
646
|
-
"concreteType": "LicenseOption",
|
|
647
|
-
"kind": "LinkedField",
|
|
648
|
-
"name": "licenseOption",
|
|
649
|
-
"plural": false,
|
|
650
|
-
"selections": [v0 /*: any*/, v5 /*: any*/, v12 /*: any*/, v1 /*: any*/, {
|
|
651
|
-
"alias": null,
|
|
652
|
-
"args": null,
|
|
653
|
-
"kind": "ScalarField",
|
|
654
|
-
"name": "amounts",
|
|
655
|
-
"storageKey": null
|
|
656
|
-
}],
|
|
657
|
-
"storageKey": null
|
|
658
|
-
}, {
|
|
659
|
-
"alias": null,
|
|
660
|
-
"args": null,
|
|
661
|
-
"kind": "ScalarField",
|
|
662
|
-
"name": "variableText",
|
|
663
|
-
"storageKey": null
|
|
664
|
-
}, {
|
|
665
|
-
"alias": null,
|
|
666
|
-
"args": null,
|
|
667
|
-
"concreteType": "LicenseVariable",
|
|
668
|
-
"kind": "LinkedField",
|
|
669
|
-
"name": "licenseVariable",
|
|
670
|
-
"plural": false,
|
|
671
|
-
"selections": [v0 /*: any*/, v10 /*: any*/],
|
|
672
|
-
"storageKey": null
|
|
673
|
-
}, {
|
|
674
|
-
"alias": null,
|
|
675
|
-
"args": null,
|
|
676
|
-
"concreteType": "LicenseOption",
|
|
677
|
-
"kind": "LinkedField",
|
|
678
|
-
"name": "licenseOption",
|
|
679
|
-
"plural": false,
|
|
680
|
-
"selections": v11 /*: any*/,
|
|
681
|
-
"storageKey": null
|
|
682
|
-
}],
|
|
715
|
+
"name": "orderVariableOption",
|
|
716
|
+
"plural": false,
|
|
717
|
+
"selections": v7 /*: any*/,
|
|
683
718
|
"storageKey": null
|
|
684
|
-
}],
|
|
719
|
+
}, v0 /*: any*/],
|
|
685
720
|
"storageKey": null
|
|
686
721
|
}, {
|
|
687
722
|
"alias": null,
|
|
@@ -735,12 +770,12 @@ const node = function () {
|
|
|
735
770
|
}]
|
|
736
771
|
},
|
|
737
772
|
"params": {
|
|
738
|
-
"cacheID": "
|
|
773
|
+
"cacheID": "7871c0fcc027d8e88628360ee4637502",
|
|
739
774
|
"id": null,
|
|
740
775
|
"metadata": {},
|
|
741
776
|
"name": "CartQuery",
|
|
742
777
|
"operationKind": "query",
|
|
743
|
-
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment
|
|
778
|
+
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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 }\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 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}\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 CartOrder_viewer on Viewer {\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 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 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 Checkout_viewer on Viewer {\n ...AddressFields_viewer\n country\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\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 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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n uiFontName\n taxSystem\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\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"
|
|
744
779
|
}
|
|
745
780
|
};
|
|
746
781
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<03a58d30fa386d2e70de2f51297a5e39>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ export type CartStateRemoveDiscountMutation$variables = Record<PropertyKey, neve
|
|
|
9
9
|
export type CartStateRemoveDiscountMutation$data = {
|
|
10
10
|
readonly removeDiscount: {
|
|
11
11
|
readonly order: {
|
|
12
|
-
readonly " $fragmentSpreads": FragmentRefs<"CartTotals_order">;
|
|
12
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartTotals_order" | "StoreModalUnifiedCheckout_order">;
|
|
13
13
|
} | null;
|
|
14
14
|
} | null;
|
|
15
15
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<03a58d30fa386d2e70de2f51297a5e39>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -29,12 +29,93 @@ const node = function () {
|
|
|
29
29
|
"storageKey": null
|
|
30
30
|
}],
|
|
31
31
|
v1 = {
|
|
32
|
+
"alias": null,
|
|
33
|
+
"args": null,
|
|
34
|
+
"kind": "ScalarField",
|
|
35
|
+
"name": "name",
|
|
36
|
+
"storageKey": null
|
|
37
|
+
},
|
|
38
|
+
v2 = {
|
|
39
|
+
"alias": null,
|
|
40
|
+
"args": null,
|
|
41
|
+
"kind": "ScalarField",
|
|
42
|
+
"name": "email",
|
|
43
|
+
"storageKey": null
|
|
44
|
+
},
|
|
45
|
+
v3 = {
|
|
32
46
|
"alias": null,
|
|
33
47
|
"args": null,
|
|
34
48
|
"kind": "ScalarField",
|
|
35
49
|
"name": "id",
|
|
36
50
|
"storageKey": null
|
|
37
|
-
}
|
|
51
|
+
},
|
|
52
|
+
v4 = [v2 /*: any*/, {
|
|
53
|
+
"alias": null,
|
|
54
|
+
"args": null,
|
|
55
|
+
"kind": "ScalarField",
|
|
56
|
+
"name": "phoneFormatted",
|
|
57
|
+
"storageKey": null
|
|
58
|
+
}, {
|
|
59
|
+
"alias": null,
|
|
60
|
+
"args": null,
|
|
61
|
+
"kind": "ScalarField",
|
|
62
|
+
"name": "addressFormatted",
|
|
63
|
+
"storageKey": null
|
|
64
|
+
}, {
|
|
65
|
+
"alias": null,
|
|
66
|
+
"args": null,
|
|
67
|
+
"kind": "ScalarField",
|
|
68
|
+
"name": "vatNumber",
|
|
69
|
+
"storageKey": null
|
|
70
|
+
}, v1 /*: any*/, {
|
|
71
|
+
"alias": null,
|
|
72
|
+
"args": null,
|
|
73
|
+
"kind": "ScalarField",
|
|
74
|
+
"name": "organization",
|
|
75
|
+
"storageKey": null
|
|
76
|
+
}, {
|
|
77
|
+
"alias": null,
|
|
78
|
+
"args": null,
|
|
79
|
+
"kind": "ScalarField",
|
|
80
|
+
"name": "phone",
|
|
81
|
+
"storageKey": null
|
|
82
|
+
}, {
|
|
83
|
+
"alias": null,
|
|
84
|
+
"args": null,
|
|
85
|
+
"kind": "ScalarField",
|
|
86
|
+
"name": "street",
|
|
87
|
+
"storageKey": null
|
|
88
|
+
}, {
|
|
89
|
+
"alias": null,
|
|
90
|
+
"args": null,
|
|
91
|
+
"kind": "ScalarField",
|
|
92
|
+
"name": "locality",
|
|
93
|
+
"storageKey": null
|
|
94
|
+
}, {
|
|
95
|
+
"alias": null,
|
|
96
|
+
"args": null,
|
|
97
|
+
"kind": "ScalarField",
|
|
98
|
+
"name": "sublocality",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}, {
|
|
101
|
+
"alias": null,
|
|
102
|
+
"args": null,
|
|
103
|
+
"kind": "ScalarField",
|
|
104
|
+
"name": "country",
|
|
105
|
+
"storageKey": null
|
|
106
|
+
}, {
|
|
107
|
+
"alias": null,
|
|
108
|
+
"args": null,
|
|
109
|
+
"kind": "ScalarField",
|
|
110
|
+
"name": "administrativeArea",
|
|
111
|
+
"storageKey": null
|
|
112
|
+
}, {
|
|
113
|
+
"alias": null,
|
|
114
|
+
"args": null,
|
|
115
|
+
"kind": "ScalarField",
|
|
116
|
+
"name": "zip",
|
|
117
|
+
"storageKey": null
|
|
118
|
+
}];
|
|
38
119
|
return {
|
|
39
120
|
"fragment": {
|
|
40
121
|
"argumentDefinitions": [],
|
|
@@ -56,6 +137,10 @@ const node = function () {
|
|
|
56
137
|
"name": "order",
|
|
57
138
|
"plural": false,
|
|
58
139
|
"selections": [{
|
|
140
|
+
"args": null,
|
|
141
|
+
"kind": "FragmentSpread",
|
|
142
|
+
"name": "StoreModalUnifiedCheckout_order"
|
|
143
|
+
}, {
|
|
59
144
|
"args": null,
|
|
60
145
|
"kind": "FragmentSpread",
|
|
61
146
|
"name": "CartTotals_order"
|
|
@@ -87,6 +172,66 @@ const node = function () {
|
|
|
87
172
|
"name": "order",
|
|
88
173
|
"plural": false,
|
|
89
174
|
"selections": [{
|
|
175
|
+
"alias": null,
|
|
176
|
+
"args": null,
|
|
177
|
+
"kind": "ScalarField",
|
|
178
|
+
"name": "completeUrl",
|
|
179
|
+
"storageKey": null
|
|
180
|
+
}, {
|
|
181
|
+
"alias": null,
|
|
182
|
+
"args": null,
|
|
183
|
+
"kind": "ScalarField",
|
|
184
|
+
"name": "canCompleteWithCoupon",
|
|
185
|
+
"storageKey": null
|
|
186
|
+
}, {
|
|
187
|
+
"alias": null,
|
|
188
|
+
"args": null,
|
|
189
|
+
"concreteType": "Money",
|
|
190
|
+
"kind": "LinkedField",
|
|
191
|
+
"name": "total",
|
|
192
|
+
"plural": false,
|
|
193
|
+
"selections": v0 /*: any*/,
|
|
194
|
+
"storageKey": null
|
|
195
|
+
}, {
|
|
196
|
+
"alias": null,
|
|
197
|
+
"args": null,
|
|
198
|
+
"concreteType": "Customer",
|
|
199
|
+
"kind": "LinkedField",
|
|
200
|
+
"name": "customer",
|
|
201
|
+
"plural": false,
|
|
202
|
+
"selections": [v1 /*: any*/, v2 /*: any*/, {
|
|
203
|
+
"alias": null,
|
|
204
|
+
"args": null,
|
|
205
|
+
"kind": "ScalarField",
|
|
206
|
+
"name": "newsletterOptIn",
|
|
207
|
+
"storageKey": null
|
|
208
|
+
}, v3 /*: any*/],
|
|
209
|
+
"storageKey": null
|
|
210
|
+
}, {
|
|
211
|
+
"alias": null,
|
|
212
|
+
"args": null,
|
|
213
|
+
"kind": "ScalarField",
|
|
214
|
+
"name": "licenseeIsBillingIdentity",
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}, {
|
|
217
|
+
"alias": null,
|
|
218
|
+
"args": null,
|
|
219
|
+
"concreteType": "Identity",
|
|
220
|
+
"kind": "LinkedField",
|
|
221
|
+
"name": "licenseeIdentity",
|
|
222
|
+
"plural": false,
|
|
223
|
+
"selections": v4 /*: any*/,
|
|
224
|
+
"storageKey": null
|
|
225
|
+
}, {
|
|
226
|
+
"alias": null,
|
|
227
|
+
"args": null,
|
|
228
|
+
"concreteType": "Identity",
|
|
229
|
+
"kind": "LinkedField",
|
|
230
|
+
"name": "billingIdentity",
|
|
231
|
+
"plural": false,
|
|
232
|
+
"selections": v4 /*: any*/,
|
|
233
|
+
"storageKey": null
|
|
234
|
+
}, {
|
|
90
235
|
"alias": null,
|
|
91
236
|
"args": null,
|
|
92
237
|
"concreteType": "Money",
|
|
@@ -130,6 +275,15 @@ const node = function () {
|
|
|
130
275
|
"kind": "ScalarField",
|
|
131
276
|
"name": "percentAmount",
|
|
132
277
|
"storageKey": null
|
|
278
|
+
}, {
|
|
279
|
+
"alias": null,
|
|
280
|
+
"args": null,
|
|
281
|
+
"concreteType": "Money",
|
|
282
|
+
"kind": "LinkedField",
|
|
283
|
+
"name": "creditAmount",
|
|
284
|
+
"plural": false,
|
|
285
|
+
"selections": v0 /*: any*/,
|
|
286
|
+
"storageKey": null
|
|
133
287
|
}, {
|
|
134
288
|
"alias": null,
|
|
135
289
|
"args": null,
|
|
@@ -139,9 +293,9 @@ const node = function () {
|
|
|
139
293
|
"plural": false,
|
|
140
294
|
"selections": v0 /*: any*/,
|
|
141
295
|
"storageKey": null
|
|
142
|
-
},
|
|
296
|
+
}, v3 /*: any*/],
|
|
143
297
|
"storageKey": null
|
|
144
|
-
},
|
|
298
|
+
}, v3 /*: any*/],
|
|
145
299
|
"storageKey": null
|
|
146
300
|
}, {
|
|
147
301
|
"alias": null,
|
|
@@ -152,15 +306,6 @@ const node = function () {
|
|
|
152
306
|
"plural": false,
|
|
153
307
|
"selections": v0 /*: any*/,
|
|
154
308
|
"storageKey": null
|
|
155
|
-
}, {
|
|
156
|
-
"alias": null,
|
|
157
|
-
"args": null,
|
|
158
|
-
"concreteType": "Money",
|
|
159
|
-
"kind": "LinkedField",
|
|
160
|
-
"name": "total",
|
|
161
|
-
"plural": false,
|
|
162
|
-
"selections": v0 /*: any*/,
|
|
163
|
-
"storageKey": null
|
|
164
309
|
}, {
|
|
165
310
|
"alias": null,
|
|
166
311
|
"args": null,
|
|
@@ -188,22 +333,22 @@ const node = function () {
|
|
|
188
333
|
"kind": "ScalarField",
|
|
189
334
|
"name": "gstIncluded",
|
|
190
335
|
"storageKey": null
|
|
191
|
-
},
|
|
336
|
+
}, v3 /*: any*/],
|
|
192
337
|
"storageKey": null
|
|
193
338
|
}],
|
|
194
339
|
"storageKey": null
|
|
195
340
|
}]
|
|
196
341
|
},
|
|
197
342
|
"params": {
|
|
198
|
-
"cacheID": "
|
|
343
|
+
"cacheID": "b478ac964e2921288e699a0466825cb8",
|
|
199
344
|
"id": null,
|
|
200
345
|
"metadata": {},
|
|
201
346
|
"name": "CartStateRemoveDiscountMutation",
|
|
202
347
|
"operationKind": "mutation",
|
|
203
|
-
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartTotals_order\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
348
|
+
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\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 Price_price on Money {\n amount\n currency\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n}\n"
|
|
204
349
|
}
|
|
205
350
|
};
|
|
206
351
|
}();
|
|
207
|
-
node.hash = "
|
|
352
|
+
node.hash = "bdcfcd6638660e83a61555dcd1786886";
|
|
208
353
|
var _default = node;
|
|
209
354
|
exports.default = _default;
|