fontdue-js 2.10.1 → 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/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 +7 -7
- 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 +331 -227
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<66a6cec85990db39ec5dc9a4cdfcd8f7>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,7 @@ export type UpdateOrderInput = {
|
|
|
10
10
|
licenseeIdentity?: IdentityInput | null;
|
|
11
11
|
licenseeIsBillingIdentity?: boolean | null;
|
|
12
12
|
orderItems?: ReadonlyArray<OrderItemInput | null> | null;
|
|
13
|
+
orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
13
14
|
stripePaymentMethodId?: string | null;
|
|
14
15
|
stripeTokenId?: string | null;
|
|
15
16
|
};
|
|
@@ -18,11 +19,16 @@ export type OrderItemInput = {
|
|
|
18
19
|
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
19
20
|
};
|
|
20
21
|
export type LicenseSelectionInput = {
|
|
22
|
+
id?: string | null;
|
|
21
23
|
licenseId: string;
|
|
22
24
|
licenseOptionId?: string | null;
|
|
23
25
|
licenseVariableId?: string | null;
|
|
24
26
|
variableText?: string | null;
|
|
25
27
|
};
|
|
28
|
+
export type OrderVariableSelectionInput = {
|
|
29
|
+
orderVariableId: string;
|
|
30
|
+
orderVariableOptionId?: string | null;
|
|
31
|
+
};
|
|
26
32
|
export type IdentityInput = {
|
|
27
33
|
administrativeArea?: string | null;
|
|
28
34
|
country: string;
|
|
@@ -51,7 +57,7 @@ export type CartStateUpdateMutation$data = {
|
|
|
51
57
|
readonly orderItems: ReadonlyArray<{
|
|
52
58
|
readonly " $fragmentSpreads": FragmentRefs<"CartItem_node">;
|
|
53
59
|
}> | null;
|
|
54
|
-
readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order">;
|
|
60
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order" | "StoreModalUnifiedCheckout_order">;
|
|
55
61
|
} | null;
|
|
56
62
|
} | null;
|
|
57
63
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<66a6cec85990db39ec5dc9a4cdfcd8f7>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -54,63 +54,133 @@ const node = function () {
|
|
|
54
54
|
"alias": null,
|
|
55
55
|
"args": null,
|
|
56
56
|
"kind": "ScalarField",
|
|
57
|
-
"name": "
|
|
57
|
+
"name": "amount",
|
|
58
58
|
"storageKey": null
|
|
59
59
|
},
|
|
60
|
-
v4 = {
|
|
60
|
+
v4 = [v3 /*: any*/, {
|
|
61
|
+
"alias": null,
|
|
62
|
+
"args": null,
|
|
63
|
+
"kind": "ScalarField",
|
|
64
|
+
"name": "currency",
|
|
65
|
+
"storageKey": null
|
|
66
|
+
}],
|
|
67
|
+
v5 = {
|
|
61
68
|
"alias": null,
|
|
62
69
|
"args": null,
|
|
63
70
|
"kind": "ScalarField",
|
|
64
71
|
"name": "name",
|
|
65
72
|
"storageKey": null
|
|
66
73
|
},
|
|
67
|
-
|
|
74
|
+
v6 = {
|
|
68
75
|
"alias": null,
|
|
69
76
|
"args": null,
|
|
70
77
|
"kind": "ScalarField",
|
|
71
|
-
"name": "
|
|
78
|
+
"name": "email",
|
|
72
79
|
"storageKey": null
|
|
73
80
|
},
|
|
74
|
-
v6 = [v3 /*: any*/],
|
|
75
81
|
v7 = {
|
|
76
82
|
"alias": null,
|
|
77
83
|
"args": null,
|
|
78
84
|
"kind": "ScalarField",
|
|
79
|
-
"name": "
|
|
85
|
+
"name": "id",
|
|
80
86
|
"storageKey": null
|
|
81
87
|
},
|
|
82
|
-
v8 = {
|
|
88
|
+
v8 = [v6 /*: any*/, {
|
|
83
89
|
"alias": null,
|
|
84
90
|
"args": null,
|
|
85
91
|
"kind": "ScalarField",
|
|
86
|
-
"name": "
|
|
92
|
+
"name": "phoneFormatted",
|
|
87
93
|
"storageKey": null
|
|
88
|
-
},
|
|
89
|
-
v9 = [v8 /*: any*/, {
|
|
94
|
+
}, {
|
|
90
95
|
"alias": null,
|
|
91
96
|
"args": null,
|
|
92
97
|
"kind": "ScalarField",
|
|
93
|
-
"name": "
|
|
98
|
+
"name": "addressFormatted",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}, {
|
|
101
|
+
"alias": null,
|
|
102
|
+
"args": null,
|
|
103
|
+
"kind": "ScalarField",
|
|
104
|
+
"name": "vatNumber",
|
|
105
|
+
"storageKey": null
|
|
106
|
+
}, v5 /*: any*/, {
|
|
107
|
+
"alias": null,
|
|
108
|
+
"args": null,
|
|
109
|
+
"kind": "ScalarField",
|
|
110
|
+
"name": "organization",
|
|
111
|
+
"storageKey": null
|
|
112
|
+
}, {
|
|
113
|
+
"alias": null,
|
|
114
|
+
"args": null,
|
|
115
|
+
"kind": "ScalarField",
|
|
116
|
+
"name": "phone",
|
|
117
|
+
"storageKey": null
|
|
118
|
+
}, {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "street",
|
|
123
|
+
"storageKey": null
|
|
124
|
+
}, {
|
|
125
|
+
"alias": null,
|
|
126
|
+
"args": null,
|
|
127
|
+
"kind": "ScalarField",
|
|
128
|
+
"name": "locality",
|
|
129
|
+
"storageKey": null
|
|
130
|
+
}, {
|
|
131
|
+
"alias": null,
|
|
132
|
+
"args": null,
|
|
133
|
+
"kind": "ScalarField",
|
|
134
|
+
"name": "sublocality",
|
|
135
|
+
"storageKey": null
|
|
136
|
+
}, {
|
|
137
|
+
"alias": null,
|
|
138
|
+
"args": null,
|
|
139
|
+
"kind": "ScalarField",
|
|
140
|
+
"name": "country",
|
|
141
|
+
"storageKey": null
|
|
142
|
+
}, {
|
|
143
|
+
"alias": null,
|
|
144
|
+
"args": null,
|
|
145
|
+
"kind": "ScalarField",
|
|
146
|
+
"name": "administrativeArea",
|
|
147
|
+
"storageKey": null
|
|
148
|
+
}, {
|
|
149
|
+
"alias": null,
|
|
150
|
+
"args": null,
|
|
151
|
+
"kind": "ScalarField",
|
|
152
|
+
"name": "zip",
|
|
94
153
|
"storageKey": null
|
|
95
154
|
}],
|
|
155
|
+
v9 = [v7 /*: any*/],
|
|
96
156
|
v10 = {
|
|
157
|
+
"alias": null,
|
|
158
|
+
"args": null,
|
|
159
|
+
"concreteType": "LicenseOption",
|
|
160
|
+
"kind": "LinkedField",
|
|
161
|
+
"name": "licenseOptions",
|
|
162
|
+
"plural": true,
|
|
163
|
+
"selections": v9 /*: any*/,
|
|
164
|
+
"storageKey": null
|
|
165
|
+
},
|
|
166
|
+
v11 = {
|
|
97
167
|
"alias": null,
|
|
98
168
|
"args": null,
|
|
99
169
|
"concreteType": "Money",
|
|
100
170
|
"kind": "LinkedField",
|
|
101
171
|
"name": "price",
|
|
102
172
|
"plural": false,
|
|
103
|
-
"selections":
|
|
173
|
+
"selections": v4 /*: any*/,
|
|
104
174
|
"storageKey": null
|
|
105
175
|
},
|
|
106
|
-
|
|
176
|
+
v12 = {
|
|
107
177
|
"alias": null,
|
|
108
178
|
"args": null,
|
|
109
179
|
"kind": "ScalarField",
|
|
110
180
|
"name": "cssFamily",
|
|
111
181
|
"storageKey": null
|
|
112
182
|
},
|
|
113
|
-
|
|
183
|
+
v13 = {
|
|
114
184
|
"alias": null,
|
|
115
185
|
"args": null,
|
|
116
186
|
"kind": "ScalarField",
|
|
@@ -138,6 +208,10 @@ const node = function () {
|
|
|
138
208
|
"name": "order",
|
|
139
209
|
"plural": false,
|
|
140
210
|
"selections": [{
|
|
211
|
+
"args": null,
|
|
212
|
+
"kind": "FragmentSpread",
|
|
213
|
+
"name": "StoreModalUnifiedCheckout_order"
|
|
214
|
+
}, {
|
|
141
215
|
"args": null,
|
|
142
216
|
"kind": "FragmentSpread",
|
|
143
217
|
"name": "CartState_order"
|
|
@@ -186,13 +260,73 @@ const node = function () {
|
|
|
186
260
|
"name": "order",
|
|
187
261
|
"plural": false,
|
|
188
262
|
"selections": [{
|
|
263
|
+
"alias": null,
|
|
264
|
+
"args": null,
|
|
265
|
+
"kind": "ScalarField",
|
|
266
|
+
"name": "completeUrl",
|
|
267
|
+
"storageKey": null
|
|
268
|
+
}, {
|
|
269
|
+
"alias": null,
|
|
270
|
+
"args": null,
|
|
271
|
+
"kind": "ScalarField",
|
|
272
|
+
"name": "canCompleteWithCoupon",
|
|
273
|
+
"storageKey": null
|
|
274
|
+
}, {
|
|
275
|
+
"alias": null,
|
|
276
|
+
"args": null,
|
|
277
|
+
"concreteType": "Money",
|
|
278
|
+
"kind": "LinkedField",
|
|
279
|
+
"name": "total",
|
|
280
|
+
"plural": false,
|
|
281
|
+
"selections": v4 /*: any*/,
|
|
282
|
+
"storageKey": null
|
|
283
|
+
}, {
|
|
284
|
+
"alias": null,
|
|
285
|
+
"args": null,
|
|
286
|
+
"concreteType": "Customer",
|
|
287
|
+
"kind": "LinkedField",
|
|
288
|
+
"name": "customer",
|
|
289
|
+
"plural": false,
|
|
290
|
+
"selections": [v5 /*: any*/, v6 /*: any*/, {
|
|
291
|
+
"alias": null,
|
|
292
|
+
"args": null,
|
|
293
|
+
"kind": "ScalarField",
|
|
294
|
+
"name": "newsletterOptIn",
|
|
295
|
+
"storageKey": null
|
|
296
|
+
}, v7 /*: any*/],
|
|
297
|
+
"storageKey": null
|
|
298
|
+
}, {
|
|
299
|
+
"alias": null,
|
|
300
|
+
"args": null,
|
|
301
|
+
"kind": "ScalarField",
|
|
302
|
+
"name": "licenseeIsBillingIdentity",
|
|
303
|
+
"storageKey": null
|
|
304
|
+
}, {
|
|
305
|
+
"alias": null,
|
|
306
|
+
"args": null,
|
|
307
|
+
"concreteType": "Identity",
|
|
308
|
+
"kind": "LinkedField",
|
|
309
|
+
"name": "licenseeIdentity",
|
|
310
|
+
"plural": false,
|
|
311
|
+
"selections": v8 /*: any*/,
|
|
312
|
+
"storageKey": null
|
|
313
|
+
}, {
|
|
314
|
+
"alias": null,
|
|
315
|
+
"args": null,
|
|
316
|
+
"concreteType": "Identity",
|
|
317
|
+
"kind": "LinkedField",
|
|
318
|
+
"name": "billingIdentity",
|
|
319
|
+
"plural": false,
|
|
320
|
+
"selections": v8 /*: any*/,
|
|
321
|
+
"storageKey": null
|
|
322
|
+
}, v7 /*: any*/, {
|
|
189
323
|
"alias": null,
|
|
190
324
|
"args": null,
|
|
191
325
|
"concreteType": "OrderItem",
|
|
192
326
|
"kind": "LinkedField",
|
|
193
327
|
"name": "orderItems",
|
|
194
328
|
"plural": true,
|
|
195
|
-
"selections": [
|
|
329
|
+
"selections": [v7 /*: any*/, {
|
|
196
330
|
"alias": null,
|
|
197
331
|
"args": null,
|
|
198
332
|
"concreteType": "LicenseSelection",
|
|
@@ -206,72 +340,78 @@ const node = function () {
|
|
|
206
340
|
"kind": "LinkedField",
|
|
207
341
|
"name": "license",
|
|
208
342
|
"plural": false,
|
|
209
|
-
"selections": [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
343
|
+
"selections": [v7 /*: any*/, v5 /*: any*/, {
|
|
344
|
+
"alias": null,
|
|
345
|
+
"args": null,
|
|
346
|
+
"concreteType": "LicenseVariable",
|
|
347
|
+
"kind": "LinkedField",
|
|
348
|
+
"name": "licenseVariables",
|
|
349
|
+
"plural": true,
|
|
350
|
+
"selections": [v7 /*: any*/, {
|
|
351
|
+
"alias": null,
|
|
352
|
+
"args": null,
|
|
353
|
+
"concreteType": "LicenseOption",
|
|
354
|
+
"kind": "LinkedField",
|
|
355
|
+
"name": "licenseOptions",
|
|
356
|
+
"plural": true,
|
|
357
|
+
"selections": [v7 /*: any*/, v5 /*: any*/, v3 /*: any*/],
|
|
358
|
+
"storageKey": null
|
|
359
|
+
}],
|
|
360
|
+
"storageKey": null
|
|
361
|
+
}],
|
|
228
362
|
"storageKey": null
|
|
229
363
|
}, {
|
|
230
364
|
"alias": null,
|
|
231
365
|
"args": null,
|
|
232
|
-
"kind": "ScalarField",
|
|
233
|
-
"name": "variableText",
|
|
234
|
-
"storageKey": null
|
|
235
|
-
}, v3 /*: any*/, {
|
|
236
|
-
"alias": "variable",
|
|
237
|
-
"args": null,
|
|
238
366
|
"concreteType": "LicenseVariable",
|
|
239
367
|
"kind": "LinkedField",
|
|
240
368
|
"name": "licenseVariable",
|
|
241
369
|
"plural": false,
|
|
242
|
-
"selections": [
|
|
370
|
+
"selections": [v7 /*: any*/, {
|
|
243
371
|
"alias": null,
|
|
244
372
|
"args": null,
|
|
245
373
|
"kind": "ScalarField",
|
|
246
374
|
"name": "units",
|
|
247
375
|
"storageKey": null
|
|
248
|
-
}
|
|
376
|
+
}, v5 /*: any*/, {
|
|
377
|
+
"alias": null,
|
|
378
|
+
"args": null,
|
|
379
|
+
"kind": "ScalarField",
|
|
380
|
+
"name": "variableType",
|
|
381
|
+
"storageKey": null
|
|
382
|
+
}, v10 /*: any*/],
|
|
249
383
|
"storageKey": null
|
|
250
384
|
}, {
|
|
251
|
-
"alias":
|
|
385
|
+
"alias": null,
|
|
252
386
|
"args": null,
|
|
253
387
|
"concreteType": "LicenseOption",
|
|
254
388
|
"kind": "LinkedField",
|
|
255
389
|
"name": "licenseOption",
|
|
256
390
|
"plural": false,
|
|
257
|
-
"selections": [
|
|
391
|
+
"selections": [v7 /*: any*/, {
|
|
258
392
|
"alias": null,
|
|
259
393
|
"args": null,
|
|
260
394
|
"kind": "ScalarField",
|
|
261
395
|
"name": "amounts",
|
|
262
396
|
"storageKey": null
|
|
263
|
-
}],
|
|
397
|
+
}, v5 /*: any*/, v3 /*: any*/],
|
|
398
|
+
"storageKey": null
|
|
399
|
+
}, {
|
|
400
|
+
"alias": null,
|
|
401
|
+
"args": null,
|
|
402
|
+
"kind": "ScalarField",
|
|
403
|
+
"name": "variableText",
|
|
264
404
|
"storageKey": null
|
|
265
|
-
}],
|
|
405
|
+
}, v7 /*: any*/],
|
|
266
406
|
"storageKey": null
|
|
267
|
-
},
|
|
407
|
+
}, v11 /*: any*/, {
|
|
268
408
|
"alias": null,
|
|
269
409
|
"args": null,
|
|
270
410
|
"concreteType": "Sku",
|
|
271
411
|
"kind": "LinkedField",
|
|
272
412
|
"name": "sku",
|
|
273
413
|
"plural": false,
|
|
274
|
-
"selections": [
|
|
414
|
+
"selections": [v11 /*: any*/, {
|
|
275
415
|
"alias": null,
|
|
276
416
|
"args": null,
|
|
277
417
|
"concreteType": null,
|
|
@@ -296,18 +436,18 @@ const node = function () {
|
|
|
296
436
|
"kind": "LinkedField",
|
|
297
437
|
"name": "featureStyle",
|
|
298
438
|
"plural": false,
|
|
299
|
-
"selections": [
|
|
439
|
+
"selections": [v12 /*: any*/, v5 /*: any*/, v7 /*: any*/, {
|
|
300
440
|
"alias": null,
|
|
301
441
|
"args": null,
|
|
302
442
|
"concreteType": "FontCollection",
|
|
303
443
|
"kind": "LinkedField",
|
|
304
444
|
"name": "family",
|
|
305
445
|
"plural": false,
|
|
306
|
-
"selections": [
|
|
446
|
+
"selections": [v13 /*: any*/, v7 /*: any*/],
|
|
307
447
|
"storageKey": null
|
|
308
448
|
}],
|
|
309
449
|
"storageKey": null
|
|
310
|
-
},
|
|
450
|
+
}, v5 /*: any*/, {
|
|
311
451
|
"alias": null,
|
|
312
452
|
"args": null,
|
|
313
453
|
"kind": "ScalarField",
|
|
@@ -331,21 +471,21 @@ const node = function () {
|
|
|
331
471
|
"kind": "LinkedField",
|
|
332
472
|
"name": "fontStyles",
|
|
333
473
|
"plural": true,
|
|
334
|
-
"selections": [
|
|
474
|
+
"selections": [v12 /*: any*/, v5 /*: any*/, v7 /*: any*/],
|
|
335
475
|
"storageKey": null
|
|
336
|
-
},
|
|
476
|
+
}, v5 /*: any*/],
|
|
337
477
|
"type": "Bundle",
|
|
338
478
|
"abstractKey": null
|
|
339
479
|
}, {
|
|
340
480
|
"kind": "InlineFragment",
|
|
341
|
-
"selections": [
|
|
481
|
+
"selections": [v12 /*: any*/, v5 /*: any*/, {
|
|
342
482
|
"alias": null,
|
|
343
483
|
"args": null,
|
|
344
484
|
"concreteType": "FontCollection",
|
|
345
485
|
"kind": "LinkedField",
|
|
346
486
|
"name": "family",
|
|
347
487
|
"plural": false,
|
|
348
|
-
"selections": [
|
|
488
|
+
"selections": [v5 /*: any*/, v13 /*: any*/, v7 /*: any*/],
|
|
349
489
|
"storageKey": null
|
|
350
490
|
}, {
|
|
351
491
|
"alias": null,
|
|
@@ -354,7 +494,7 @@ const node = function () {
|
|
|
354
494
|
"kind": "LinkedField",
|
|
355
495
|
"name": "variableInstances",
|
|
356
496
|
"plural": true,
|
|
357
|
-
"selections": [
|
|
497
|
+
"selections": [v5 /*: any*/],
|
|
358
498
|
"storageKey": null
|
|
359
499
|
}],
|
|
360
500
|
"type": "FontStyle",
|
|
@@ -368,23 +508,14 @@ const node = function () {
|
|
|
368
508
|
"kind": "LinkedField",
|
|
369
509
|
"name": "licenses",
|
|
370
510
|
"plural": true,
|
|
371
|
-
"selections": [
|
|
372
|
-
"alias":
|
|
511
|
+
"selections": [v7 /*: any*/, v5 /*: any*/, {
|
|
512
|
+
"alias": null,
|
|
373
513
|
"args": null,
|
|
374
514
|
"concreteType": "LicenseVariable",
|
|
375
515
|
"kind": "LinkedField",
|
|
376
516
|
"name": "licenseVariables",
|
|
377
517
|
"plural": true,
|
|
378
|
-
"selections": [
|
|
379
|
-
"alias": "options",
|
|
380
|
-
"args": null,
|
|
381
|
-
"concreteType": "LicenseOption",
|
|
382
|
-
"kind": "LinkedField",
|
|
383
|
-
"name": "licenseOptions",
|
|
384
|
-
"plural": true,
|
|
385
|
-
"selections": [v3 /*: any*/, v8 /*: any*/, v4 /*: any*/],
|
|
386
|
-
"storageKey": null
|
|
387
|
-
}],
|
|
518
|
+
"selections": [v7 /*: any*/, v10 /*: any*/],
|
|
388
519
|
"storageKey": null
|
|
389
520
|
}],
|
|
390
521
|
"storageKey": null
|
|
@@ -393,15 +524,42 @@ const node = function () {
|
|
|
393
524
|
"abstractKey": "__isLicenseable"
|
|
394
525
|
}, {
|
|
395
526
|
"kind": "InlineFragment",
|
|
396
|
-
"selections":
|
|
527
|
+
"selections": v9 /*: any*/,
|
|
397
528
|
"type": "Node",
|
|
398
529
|
"abstractKey": "__isNode"
|
|
399
530
|
}],
|
|
400
531
|
"storageKey": null
|
|
401
|
-
},
|
|
532
|
+
}, v7 /*: any*/],
|
|
402
533
|
"storageKey": null
|
|
403
534
|
}],
|
|
404
535
|
"storageKey": null
|
|
536
|
+
}, {
|
|
537
|
+
"alias": null,
|
|
538
|
+
"args": null,
|
|
539
|
+
"concreteType": "OrderVariableSelection",
|
|
540
|
+
"kind": "LinkedField",
|
|
541
|
+
"name": "orderVariableSelections",
|
|
542
|
+
"plural": true,
|
|
543
|
+
"selections": [{
|
|
544
|
+
"alias": null,
|
|
545
|
+
"args": null,
|
|
546
|
+
"concreteType": "OrderVariable",
|
|
547
|
+
"kind": "LinkedField",
|
|
548
|
+
"name": "orderVariable",
|
|
549
|
+
"plural": false,
|
|
550
|
+
"selections": v9 /*: any*/,
|
|
551
|
+
"storageKey": null
|
|
552
|
+
}, {
|
|
553
|
+
"alias": null,
|
|
554
|
+
"args": null,
|
|
555
|
+
"concreteType": "OrderVariableOption",
|
|
556
|
+
"kind": "LinkedField",
|
|
557
|
+
"name": "orderVariableOption",
|
|
558
|
+
"plural": false,
|
|
559
|
+
"selections": v9 /*: any*/,
|
|
560
|
+
"storageKey": null
|
|
561
|
+
}, v7 /*: any*/],
|
|
562
|
+
"storageKey": null
|
|
405
563
|
}, {
|
|
406
564
|
"alias": null,
|
|
407
565
|
"args": null,
|
|
@@ -409,7 +567,7 @@ const node = function () {
|
|
|
409
567
|
"kind": "LinkedField",
|
|
410
568
|
"name": "subtotal",
|
|
411
569
|
"plural": false,
|
|
412
|
-
"selections":
|
|
570
|
+
"selections": v4 /*: any*/,
|
|
413
571
|
"storageKey": null
|
|
414
572
|
}, {
|
|
415
573
|
"alias": null,
|
|
@@ -425,7 +583,7 @@ const node = function () {
|
|
|
425
583
|
"kind": "LinkedField",
|
|
426
584
|
"name": "amount",
|
|
427
585
|
"plural": false,
|
|
428
|
-
"selections":
|
|
586
|
+
"selections": v4 /*: any*/,
|
|
429
587
|
"storageKey": null
|
|
430
588
|
}, {
|
|
431
589
|
"alias": null,
|
|
@@ -446,6 +604,15 @@ const node = function () {
|
|
|
446
604
|
"kind": "ScalarField",
|
|
447
605
|
"name": "percentAmount",
|
|
448
606
|
"storageKey": null
|
|
607
|
+
}, {
|
|
608
|
+
"alias": null,
|
|
609
|
+
"args": null,
|
|
610
|
+
"concreteType": "Money",
|
|
611
|
+
"kind": "LinkedField",
|
|
612
|
+
"name": "creditAmount",
|
|
613
|
+
"plural": false,
|
|
614
|
+
"selections": v4 /*: any*/,
|
|
615
|
+
"storageKey": null
|
|
449
616
|
}, {
|
|
450
617
|
"alias": null,
|
|
451
618
|
"args": null,
|
|
@@ -453,11 +620,11 @@ const node = function () {
|
|
|
453
620
|
"kind": "LinkedField",
|
|
454
621
|
"name": "creditAmountRemaining",
|
|
455
622
|
"plural": false,
|
|
456
|
-
"selections":
|
|
623
|
+
"selections": v4 /*: any*/,
|
|
457
624
|
"storageKey": null
|
|
458
|
-
},
|
|
625
|
+
}, v7 /*: any*/],
|
|
459
626
|
"storageKey": null
|
|
460
|
-
},
|
|
627
|
+
}, v7 /*: any*/],
|
|
461
628
|
"storageKey": null
|
|
462
629
|
}, {
|
|
463
630
|
"alias": null,
|
|
@@ -466,16 +633,7 @@ const node = function () {
|
|
|
466
633
|
"kind": "LinkedField",
|
|
467
634
|
"name": "discountedSubtotal",
|
|
468
635
|
"plural": false,
|
|
469
|
-
"selections":
|
|
470
|
-
"storageKey": null
|
|
471
|
-
}, {
|
|
472
|
-
"alias": null,
|
|
473
|
-
"args": null,
|
|
474
|
-
"concreteType": "Money",
|
|
475
|
-
"kind": "LinkedField",
|
|
476
|
-
"name": "total",
|
|
477
|
-
"plural": false,
|
|
478
|
-
"selections": v9 /*: any*/,
|
|
636
|
+
"selections": v4 /*: any*/,
|
|
479
637
|
"storageKey": null
|
|
480
638
|
}, {
|
|
481
639
|
"alias": null,
|
|
@@ -490,7 +648,7 @@ const node = function () {
|
|
|
490
648
|
"kind": "LinkedField",
|
|
491
649
|
"name": "taxes",
|
|
492
650
|
"plural": false,
|
|
493
|
-
"selections":
|
|
651
|
+
"selections": v4 /*: any*/,
|
|
494
652
|
"storageKey": null
|
|
495
653
|
}, {
|
|
496
654
|
"alias": null,
|
|
@@ -504,22 +662,22 @@ const node = function () {
|
|
|
504
662
|
"kind": "ScalarField",
|
|
505
663
|
"name": "gstIncluded",
|
|
506
664
|
"storageKey": null
|
|
507
|
-
}
|
|
665
|
+
}],
|
|
508
666
|
"storageKey": null
|
|
509
667
|
}, v2 /*: any*/],
|
|
510
668
|
"storageKey": null
|
|
511
669
|
}]
|
|
512
670
|
},
|
|
513
671
|
"params": {
|
|
514
|
-
"cacheID": "
|
|
672
|
+
"cacheID": "c336d7584eee523cab43a98ae2e998c0",
|
|
515
673
|
"id": null,
|
|
516
674
|
"metadata": {},
|
|
517
675
|
"name": "CartStateUpdateMutation",
|
|
518
676
|
"operationKind": "mutation",
|
|
519
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment
|
|
677
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment 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 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 CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
520
678
|
}
|
|
521
679
|
};
|
|
522
680
|
}();
|
|
523
|
-
node.hash = "
|
|
681
|
+
node.hash = "eaef5edfd81a204aa6b0c9bd579509ec";
|
|
524
682
|
var _default = node;
|
|
525
683
|
exports.default = _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<170e624bbc147159f6a8250aa73737af>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ReaderFragment } from 'relay-runtime';
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type CartState_order$data = {
|
|
9
|
+
readonly id: string;
|
|
9
10
|
readonly orderItems: ReadonlyArray<{
|
|
10
11
|
readonly id: string;
|
|
11
12
|
readonly licenseSelections: ReadonlyArray<{
|
|
@@ -21,6 +22,14 @@ export type CartState_order$data = {
|
|
|
21
22
|
readonly variableText: string | null;
|
|
22
23
|
}> | null;
|
|
23
24
|
}> | null;
|
|
25
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
26
|
+
readonly orderVariable: {
|
|
27
|
+
readonly id: string;
|
|
28
|
+
};
|
|
29
|
+
readonly orderVariableOption: {
|
|
30
|
+
readonly id: string;
|
|
31
|
+
} | null;
|
|
32
|
+
}> | null;
|
|
24
33
|
readonly " $fragmentType": "CartState_order";
|
|
25
34
|
};
|
|
26
35
|
export type CartState_order$key = {
|