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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<21134512b2060bee5211d391b035dda6>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type LicenseOptionsSpec = {
|
|
9
|
+
licenseId: string;
|
|
10
|
+
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
|
+
};
|
|
12
|
+
export type OrderVariableSelectionInput = {
|
|
13
|
+
orderVariableId: string;
|
|
14
|
+
orderVariableOptionId?: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type StoreModalProductRefetchQuery$variables = {
|
|
17
|
+
id: string;
|
|
18
|
+
licenseOptions: ReadonlyArray<LicenseOptionsSpec | null>;
|
|
19
|
+
orderVariables?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
20
|
+
};
|
|
21
|
+
export type StoreModalProductRefetchQuery$data = {
|
|
22
|
+
readonly node: {
|
|
23
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductContent_collection">;
|
|
24
|
+
} | null;
|
|
25
|
+
};
|
|
26
|
+
export type StoreModalProductRefetchQuery = {
|
|
27
|
+
response: StoreModalProductRefetchQuery$data;
|
|
28
|
+
variables: StoreModalProductRefetchQuery$variables;
|
|
29
|
+
};
|
|
30
|
+
declare const node: ConcreteRequest;
|
|
31
|
+
export default node;
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<21134512b2060bee5211d391b035dda6>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = {
|
|
19
|
+
"defaultValue": null,
|
|
20
|
+
"kind": "LocalArgument",
|
|
21
|
+
"name": "id"
|
|
22
|
+
},
|
|
23
|
+
v1 = {
|
|
24
|
+
"defaultValue": null,
|
|
25
|
+
"kind": "LocalArgument",
|
|
26
|
+
"name": "licenseOptions"
|
|
27
|
+
},
|
|
28
|
+
v2 = {
|
|
29
|
+
"defaultValue": null,
|
|
30
|
+
"kind": "LocalArgument",
|
|
31
|
+
"name": "orderVariables"
|
|
32
|
+
},
|
|
33
|
+
v3 = [{
|
|
34
|
+
"kind": "Variable",
|
|
35
|
+
"name": "id",
|
|
36
|
+
"variableName": "id"
|
|
37
|
+
}],
|
|
38
|
+
v4 = [{
|
|
39
|
+
"kind": "Variable",
|
|
40
|
+
"name": "licenseOptions",
|
|
41
|
+
"variableName": "licenseOptions"
|
|
42
|
+
}, {
|
|
43
|
+
"kind": "Variable",
|
|
44
|
+
"name": "orderVariables",
|
|
45
|
+
"variableName": "orderVariables"
|
|
46
|
+
}],
|
|
47
|
+
v5 = {
|
|
48
|
+
"alias": null,
|
|
49
|
+
"args": null,
|
|
50
|
+
"kind": "ScalarField",
|
|
51
|
+
"name": "id",
|
|
52
|
+
"storageKey": null
|
|
53
|
+
},
|
|
54
|
+
v6 = {
|
|
55
|
+
"alias": null,
|
|
56
|
+
"args": null,
|
|
57
|
+
"kind": "ScalarField",
|
|
58
|
+
"name": "isVariableFont",
|
|
59
|
+
"storageKey": null
|
|
60
|
+
},
|
|
61
|
+
v7 = {
|
|
62
|
+
"alias": null,
|
|
63
|
+
"args": null,
|
|
64
|
+
"kind": "ScalarField",
|
|
65
|
+
"name": "collectionType",
|
|
66
|
+
"storageKey": null
|
|
67
|
+
},
|
|
68
|
+
v8 = {
|
|
69
|
+
"alias": null,
|
|
70
|
+
"args": null,
|
|
71
|
+
"kind": "ScalarField",
|
|
72
|
+
"name": "name",
|
|
73
|
+
"storageKey": null
|
|
74
|
+
},
|
|
75
|
+
v9 = {
|
|
76
|
+
"alias": null,
|
|
77
|
+
"args": null,
|
|
78
|
+
"kind": "ScalarField",
|
|
79
|
+
"name": "amount",
|
|
80
|
+
"storageKey": null
|
|
81
|
+
},
|
|
82
|
+
v10 = [v9 /*: any*/, {
|
|
83
|
+
"alias": null,
|
|
84
|
+
"args": null,
|
|
85
|
+
"kind": "ScalarField",
|
|
86
|
+
"name": "currency",
|
|
87
|
+
"storageKey": null
|
|
88
|
+
}],
|
|
89
|
+
v11 = {
|
|
90
|
+
"alias": null,
|
|
91
|
+
"args": null,
|
|
92
|
+
"concreteType": "Sku",
|
|
93
|
+
"kind": "LinkedField",
|
|
94
|
+
"name": "sku",
|
|
95
|
+
"plural": false,
|
|
96
|
+
"selections": [v5 /*: any*/, {
|
|
97
|
+
"alias": null,
|
|
98
|
+
"args": v4 /*: any*/,
|
|
99
|
+
"concreteType": "Money",
|
|
100
|
+
"kind": "LinkedField",
|
|
101
|
+
"name": "price",
|
|
102
|
+
"plural": false,
|
|
103
|
+
"selections": v10 /*: any*/,
|
|
104
|
+
"storageKey": null
|
|
105
|
+
}],
|
|
106
|
+
"storageKey": null
|
|
107
|
+
},
|
|
108
|
+
v12 = {
|
|
109
|
+
"alias": null,
|
|
110
|
+
"args": null,
|
|
111
|
+
"concreteType": "FontCollection",
|
|
112
|
+
"kind": "LinkedField",
|
|
113
|
+
"name": "parent",
|
|
114
|
+
"plural": false,
|
|
115
|
+
"selections": [v5 /*: any*/],
|
|
116
|
+
"storageKey": null
|
|
117
|
+
},
|
|
118
|
+
v13 = {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "cssFamily",
|
|
123
|
+
"storageKey": null
|
|
124
|
+
},
|
|
125
|
+
v14 = {
|
|
126
|
+
"alias": null,
|
|
127
|
+
"args": null,
|
|
128
|
+
"kind": "ScalarField",
|
|
129
|
+
"name": "supportedLanguages",
|
|
130
|
+
"storageKey": null
|
|
131
|
+
},
|
|
132
|
+
v15 = {
|
|
133
|
+
"alias": null,
|
|
134
|
+
"args": null,
|
|
135
|
+
"concreteType": "FontStyle",
|
|
136
|
+
"kind": "LinkedField",
|
|
137
|
+
"name": "featureStyle",
|
|
138
|
+
"plural": false,
|
|
139
|
+
"selections": [v13 /*: any*/, v8 /*: any*/, v14 /*: any*/, v5 /*: any*/],
|
|
140
|
+
"storageKey": null
|
|
141
|
+
},
|
|
142
|
+
v16 = {
|
|
143
|
+
"alias": null,
|
|
144
|
+
"args": null,
|
|
145
|
+
"kind": "ScalarField",
|
|
146
|
+
"name": "totalStyles",
|
|
147
|
+
"storageKey": null
|
|
148
|
+
},
|
|
149
|
+
v17 = {
|
|
150
|
+
"alias": null,
|
|
151
|
+
"args": null,
|
|
152
|
+
"concreteType": "Money",
|
|
153
|
+
"kind": "LinkedField",
|
|
154
|
+
"name": "totalStylesPrice",
|
|
155
|
+
"plural": false,
|
|
156
|
+
"selections": v10 /*: any*/,
|
|
157
|
+
"storageKey": null
|
|
158
|
+
},
|
|
159
|
+
v18 = [{
|
|
160
|
+
"kind": "Literal",
|
|
161
|
+
"name": "collectionTypes",
|
|
162
|
+
"value": ["FAMILY"]
|
|
163
|
+
}],
|
|
164
|
+
v19 = {
|
|
165
|
+
"alias": null,
|
|
166
|
+
"args": null,
|
|
167
|
+
"kind": "ScalarField",
|
|
168
|
+
"name": "cssUrl",
|
|
169
|
+
"storageKey": null
|
|
170
|
+
},
|
|
171
|
+
v20 = {
|
|
172
|
+
"alias": null,
|
|
173
|
+
"args": null,
|
|
174
|
+
"concreteType": "FontStyle",
|
|
175
|
+
"kind": "LinkedField",
|
|
176
|
+
"name": "fontStyles",
|
|
177
|
+
"plural": true,
|
|
178
|
+
"selections": [v5 /*: any*/, v13 /*: any*/, {
|
|
179
|
+
"alias": null,
|
|
180
|
+
"args": null,
|
|
181
|
+
"kind": "ScalarField",
|
|
182
|
+
"name": "cssWeight",
|
|
183
|
+
"storageKey": null
|
|
184
|
+
}, {
|
|
185
|
+
"alias": null,
|
|
186
|
+
"args": null,
|
|
187
|
+
"kind": "ScalarField",
|
|
188
|
+
"name": "cssStretch",
|
|
189
|
+
"storageKey": null
|
|
190
|
+
}, v8 /*: any*/, v14 /*: any*/, {
|
|
191
|
+
"alias": null,
|
|
192
|
+
"args": null,
|
|
193
|
+
"concreteType": "VariableInstance",
|
|
194
|
+
"kind": "LinkedField",
|
|
195
|
+
"name": "variableInstances",
|
|
196
|
+
"plural": true,
|
|
197
|
+
"selections": [v8 /*: any*/, {
|
|
198
|
+
"alias": null,
|
|
199
|
+
"args": null,
|
|
200
|
+
"concreteType": "VariableSetting",
|
|
201
|
+
"kind": "LinkedField",
|
|
202
|
+
"name": "coordinates",
|
|
203
|
+
"plural": true,
|
|
204
|
+
"selections": [{
|
|
205
|
+
"alias": null,
|
|
206
|
+
"args": null,
|
|
207
|
+
"kind": "ScalarField",
|
|
208
|
+
"name": "axis",
|
|
209
|
+
"storageKey": null
|
|
210
|
+
}, {
|
|
211
|
+
"alias": null,
|
|
212
|
+
"args": null,
|
|
213
|
+
"kind": "ScalarField",
|
|
214
|
+
"name": "value",
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}],
|
|
217
|
+
"storageKey": null
|
|
218
|
+
}],
|
|
219
|
+
"storageKey": null
|
|
220
|
+
}, v11 /*: any*/],
|
|
221
|
+
"storageKey": null
|
|
222
|
+
},
|
|
223
|
+
v21 = {
|
|
224
|
+
"alias": null,
|
|
225
|
+
"args": null,
|
|
226
|
+
"concreteType": "Bundle",
|
|
227
|
+
"kind": "LinkedField",
|
|
228
|
+
"name": "bundles",
|
|
229
|
+
"plural": true,
|
|
230
|
+
"selections": [v5 /*: any*/, v20 /*: any*/, v8 /*: any*/, v11 /*: any*/],
|
|
231
|
+
"storageKey": null
|
|
232
|
+
};
|
|
233
|
+
return {
|
|
234
|
+
"fragment": {
|
|
235
|
+
"argumentDefinitions": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/],
|
|
236
|
+
"kind": "Fragment",
|
|
237
|
+
"metadata": null,
|
|
238
|
+
"name": "StoreModalProductRefetchQuery",
|
|
239
|
+
"selections": [{
|
|
240
|
+
"alias": null,
|
|
241
|
+
"args": v3 /*: any*/,
|
|
242
|
+
"concreteType": null,
|
|
243
|
+
"kind": "LinkedField",
|
|
244
|
+
"name": "node",
|
|
245
|
+
"plural": false,
|
|
246
|
+
"selections": [{
|
|
247
|
+
"args": v4 /*: any*/,
|
|
248
|
+
"kind": "FragmentSpread",
|
|
249
|
+
"name": "StoreModalProductContent_collection"
|
|
250
|
+
}],
|
|
251
|
+
"storageKey": null
|
|
252
|
+
}],
|
|
253
|
+
"type": "RootQueryType",
|
|
254
|
+
"abstractKey": null
|
|
255
|
+
},
|
|
256
|
+
"kind": "Request",
|
|
257
|
+
"operation": {
|
|
258
|
+
"argumentDefinitions": [v1 /*: any*/, v2 /*: any*/, v0 /*: any*/],
|
|
259
|
+
"kind": "Operation",
|
|
260
|
+
"name": "StoreModalProductRefetchQuery",
|
|
261
|
+
"selections": [{
|
|
262
|
+
"alias": null,
|
|
263
|
+
"args": v3 /*: any*/,
|
|
264
|
+
"concreteType": null,
|
|
265
|
+
"kind": "LinkedField",
|
|
266
|
+
"name": "node",
|
|
267
|
+
"plural": false,
|
|
268
|
+
"selections": [{
|
|
269
|
+
"alias": null,
|
|
270
|
+
"args": null,
|
|
271
|
+
"kind": "ScalarField",
|
|
272
|
+
"name": "__typename",
|
|
273
|
+
"storageKey": null
|
|
274
|
+
}, {
|
|
275
|
+
"kind": "TypeDiscriminator",
|
|
276
|
+
"abstractKey": "__isNode"
|
|
277
|
+
}, v5 /*: any*/, {
|
|
278
|
+
"kind": "InlineFragment",
|
|
279
|
+
"selections": [v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, {
|
|
280
|
+
"alias": null,
|
|
281
|
+
"args": v18 /*: any*/,
|
|
282
|
+
"concreteType": "FontCollection",
|
|
283
|
+
"kind": "LinkedField",
|
|
284
|
+
"name": "children",
|
|
285
|
+
"plural": true,
|
|
286
|
+
"selections": [v6 /*: any*/, v16 /*: any*/, v5 /*: any*/, v7 /*: any*/, v8 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, {
|
|
287
|
+
"alias": null,
|
|
288
|
+
"args": v18 /*: any*/,
|
|
289
|
+
"concreteType": "FontCollection",
|
|
290
|
+
"kind": "LinkedField",
|
|
291
|
+
"name": "children",
|
|
292
|
+
"plural": true,
|
|
293
|
+
"selections": [v6 /*: any*/, v16 /*: any*/, v5 /*: any*/],
|
|
294
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
295
|
+
}, v19 /*: any*/, v21 /*: any*/, v20 /*: any*/],
|
|
296
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
297
|
+
}, v19 /*: any*/, v21 /*: any*/, v20 /*: any*/, {
|
|
298
|
+
"alias": null,
|
|
299
|
+
"args": null,
|
|
300
|
+
"concreteType": "License",
|
|
301
|
+
"kind": "LinkedField",
|
|
302
|
+
"name": "licenses",
|
|
303
|
+
"plural": true,
|
|
304
|
+
"selections": [v5 /*: any*/, {
|
|
305
|
+
"alias": null,
|
|
306
|
+
"args": null,
|
|
307
|
+
"kind": "ScalarField",
|
|
308
|
+
"name": "url",
|
|
309
|
+
"storageKey": null
|
|
310
|
+
}, v8 /*: any*/, {
|
|
311
|
+
"alias": null,
|
|
312
|
+
"args": [{
|
|
313
|
+
"kind": "Literal",
|
|
314
|
+
"name": "format",
|
|
315
|
+
"value": "HTML"
|
|
316
|
+
}],
|
|
317
|
+
"kind": "ScalarField",
|
|
318
|
+
"name": "description",
|
|
319
|
+
"storageKey": "description(format:\"HTML\")"
|
|
320
|
+
}, {
|
|
321
|
+
"alias": null,
|
|
322
|
+
"args": null,
|
|
323
|
+
"kind": "ScalarField",
|
|
324
|
+
"name": "defaultSelected",
|
|
325
|
+
"storageKey": null
|
|
326
|
+
}, {
|
|
327
|
+
"alias": "variables",
|
|
328
|
+
"args": null,
|
|
329
|
+
"concreteType": "LicenseVariable",
|
|
330
|
+
"kind": "LinkedField",
|
|
331
|
+
"name": "licenseVariables",
|
|
332
|
+
"plural": true,
|
|
333
|
+
"selections": [v5 /*: any*/, v8 /*: any*/, {
|
|
334
|
+
"alias": null,
|
|
335
|
+
"args": null,
|
|
336
|
+
"kind": "ScalarField",
|
|
337
|
+
"name": "variableType",
|
|
338
|
+
"storageKey": null
|
|
339
|
+
}, {
|
|
340
|
+
"alias": null,
|
|
341
|
+
"args": null,
|
|
342
|
+
"kind": "ScalarField",
|
|
343
|
+
"name": "units",
|
|
344
|
+
"storageKey": null
|
|
345
|
+
}, {
|
|
346
|
+
"alias": "options",
|
|
347
|
+
"args": null,
|
|
348
|
+
"concreteType": "LicenseOption",
|
|
349
|
+
"kind": "LinkedField",
|
|
350
|
+
"name": "licenseOptions",
|
|
351
|
+
"plural": true,
|
|
352
|
+
"selections": [v5 /*: any*/, v8 /*: any*/, v9 /*: any*/, {
|
|
353
|
+
"alias": null,
|
|
354
|
+
"args": null,
|
|
355
|
+
"kind": "ScalarField",
|
|
356
|
+
"name": "amounts",
|
|
357
|
+
"storageKey": null
|
|
358
|
+
}],
|
|
359
|
+
"storageKey": null
|
|
360
|
+
}],
|
|
361
|
+
"storageKey": null
|
|
362
|
+
}],
|
|
363
|
+
"storageKey": null
|
|
364
|
+
}],
|
|
365
|
+
"type": "FontCollection",
|
|
366
|
+
"abstractKey": null
|
|
367
|
+
}],
|
|
368
|
+
"storageKey": null
|
|
369
|
+
}]
|
|
370
|
+
},
|
|
371
|
+
"params": {
|
|
372
|
+
"cacheID": "e9a2b8c7fad37012a700b2ff85399936",
|
|
373
|
+
"id": null,
|
|
374
|
+
"metadata": {},
|
|
375
|
+
"name": "StoreModalProductRefetchQuery",
|
|
376
|
+
"operationKind": "query",
|
|
377
|
+
"text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\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 SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
}();
|
|
381
|
+
node.hash = "0684ec2633ccc5d4d0866e7780df28cc";
|
|
382
|
+
var _default = node;
|
|
383
|
+
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<9dff4ea56dd2e8195ee744addfbfb26f>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -7,14 +7,21 @@ import { ConcreteRequest } from 'relay-runtime';
|
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type CreateOrderItemsInput = {
|
|
9
9
|
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
10
|
+
licenseeIsBillingIdentity?: boolean | null;
|
|
11
|
+
orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
10
12
|
skuIds: ReadonlyArray<string | null>;
|
|
11
13
|
};
|
|
12
14
|
export type LicenseSelectionInput = {
|
|
15
|
+
id?: string | null;
|
|
13
16
|
licenseId: string;
|
|
14
17
|
licenseOptionId?: string | null;
|
|
15
18
|
licenseVariableId?: string | null;
|
|
16
19
|
variableText?: string | null;
|
|
17
20
|
};
|
|
21
|
+
export type OrderVariableSelectionInput = {
|
|
22
|
+
orderVariableId: string;
|
|
23
|
+
orderVariableOptionId?: string | null;
|
|
24
|
+
};
|
|
18
25
|
export type StoreModalProductSummaryAddToCartMutation$variables = {
|
|
19
26
|
input: CreateOrderItemsInput;
|
|
20
27
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<9dff4ea56dd2e8195ee744addfbfb26f>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -107,6 +107,27 @@ const node = function () {
|
|
|
107
107
|
"plural": true,
|
|
108
108
|
"selections": [v2 /*: any*/],
|
|
109
109
|
"storageKey": null
|
|
110
|
+
}, {
|
|
111
|
+
"alias": null,
|
|
112
|
+
"args": null,
|
|
113
|
+
"concreteType": "Money",
|
|
114
|
+
"kind": "LinkedField",
|
|
115
|
+
"name": "subtotal",
|
|
116
|
+
"plural": false,
|
|
117
|
+
"selections": [{
|
|
118
|
+
"alias": null,
|
|
119
|
+
"args": null,
|
|
120
|
+
"kind": "ScalarField",
|
|
121
|
+
"name": "amount",
|
|
122
|
+
"storageKey": null
|
|
123
|
+
}, {
|
|
124
|
+
"alias": null,
|
|
125
|
+
"args": null,
|
|
126
|
+
"kind": "ScalarField",
|
|
127
|
+
"name": "currency",
|
|
128
|
+
"storageKey": null
|
|
129
|
+
}],
|
|
130
|
+
"storageKey": null
|
|
110
131
|
}, v2 /*: any*/],
|
|
111
132
|
"storageKey": null
|
|
112
133
|
}],
|
|
@@ -114,12 +135,12 @@ const node = function () {
|
|
|
114
135
|
}]
|
|
115
136
|
},
|
|
116
137
|
"params": {
|
|
117
|
-
"cacheID": "
|
|
138
|
+
"cacheID": "3e3562f207b08cbfca61db4eef385337",
|
|
118
139
|
"id": null,
|
|
119
140
|
"metadata": {},
|
|
120
141
|
"name": "StoreModalProductSummaryAddToCartMutation",
|
|
121
142
|
"operationKind": "mutation",
|
|
122
|
-
"text": "mutation StoreModalProductSummaryAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n}\n"
|
|
143
|
+
"text": "mutation StoreModalProductSummaryAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
123
144
|
}
|
|
124
145
|
};
|
|
125
146
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<9d516087b735751d04ded9937db8a3ce>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,9 +9,14 @@ export type LicenseOptionsSpec = {
|
|
|
9
9
|
licenseId: string;
|
|
10
10
|
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
11
|
};
|
|
12
|
+
export type OrderVariableSelectionInput = {
|
|
13
|
+
orderVariableId: string;
|
|
14
|
+
orderVariableOptionId?: string | null;
|
|
15
|
+
};
|
|
12
16
|
export type StoreModalProductSummaryRefetchQuery$variables = {
|
|
13
|
-
licenseOptions
|
|
14
|
-
|
|
17
|
+
licenseOptions?: ReadonlyArray<LicenseOptionsSpec | null> | null;
|
|
18
|
+
orderVariables?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
19
|
+
selectedSkuIds?: ReadonlyArray<string> | null;
|
|
15
20
|
};
|
|
16
21
|
export type StoreModalProductSummaryRefetchQuery$data = {
|
|
17
22
|
readonly viewer: {
|