fontdue-js 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +11 -63
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -11
- package/dist/__generated__/AddressFields_viewer.graphql.js +68 -122
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +2 -2
- package/dist/__generated__/BuyButton_collection.graphql.js +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.js +24 -3
- package/dist/__generated__/CartButton_order.graphql.d.ts +4 -1
- package/dist/__generated__/CartButton_order.graphql.js +15 -2
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.d.ts +18 -0
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.js +42 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.d.ts +21 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.js +52 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.d.ts +29 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.js +80 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +33 -0
- package/dist/__generated__/CartItemProduct_product.graphql.js +122 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.d.ts +36 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.js +107 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.d.ts +22 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.js +58 -0
- package/dist/__generated__/CartItem_node.graphql.d.ts +9 -34
- package/dist/__generated__/CartItem_node.graphql.js +31 -129
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrder_order.graphql.d.ts +11 -2
- package/dist/__generated__/CartOrder_order.graphql.js +33 -2
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +143 -108
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +162 -17
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +8 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +249 -91
- package/dist/__generated__/CartState_order.graphql.d.ts +10 -1
- package/dist/__generated__/CartState_order.graphql.js +30 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +5 -5
- package/dist/__generated__/CharacterViewer_collection.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +2 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +162 -17
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +29 -19
- package/dist/__generated__/CouponText_coupon.graphql.d.ts +5 -1
- package/dist/__generated__/CouponText_coupon.graphql.js +36 -24
- package/dist/__generated__/FamilyList_node.graphql.d.ts +2 -2
- package/dist/__generated__/FamilyList_node.graphql.js +1 -1
- package/dist/__generated__/Family_node.graphql.d.ts +2 -2
- package/dist/__generated__/Family_node.graphql.js +27 -10
- package/dist/__generated__/Family_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +11 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +58 -45
- package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +69 -0
- package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +32 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +79 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +171 -142
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +7 -2
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +43 -28
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +2 -2
- package/dist/__generated__/PriceBarSection_node.graphql.js +22 -17
- package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/PriceBar_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBar_node.graphql.js +20 -4
- package/dist/__generated__/PriceBar_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +6 -1
- package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +29 -0
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +13 -17
- package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +19 -0
- package/dist/__generated__/SelectButton_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SelectButton_sku.graphql.js +13 -5
- package/dist/__generated__/SelectButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.js +21 -5
- package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +7 -3
- package/dist/__generated__/StoreModalCartQuery.graphql.js +391 -66
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +3 -6
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +36 -147
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +20 -4
- package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +29 -12
- package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +60 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +27 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +24 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +38 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +129 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +22 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +92 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +24 -7
- package/dist/__generated__/StoreModalProductQuery.graphql.js +193 -130
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +383 -0
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +8 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +59 -29
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +59 -15
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +32 -25
- package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +21 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +241 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +251 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +82 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +292 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +55 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +169 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +99 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.d.ts +22 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.js +105 -0
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StripeProvider_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +40 -46
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +2 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +3 -3
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -10
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +48 -41
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +482 -0
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +43 -14
- package/dist/__generated__/productState_Query.graphql.d.ts +3 -3
- package/dist/__generated__/productState_Query.graphql.js +1 -1
- package/dist/__generated__/productState_collection.graphql.d.ts +2 -2
- package/dist/__generated__/productState_collection.graphql.js +1 -1
- package/dist/__generated__/productState_node.graphql.d.ts +3 -3
- package/dist/__generated__/productState_node.graphql.js +1 -1
- package/dist/__generated__/useOrderVariables_order.graphql.d.ts +24 -0
- package/dist/components/AddToCartBanner/index.js +3 -3
- package/dist/components/BuyButton/index.js +4 -4
- package/dist/components/BuyButton/index.server.js +2 -2
- package/dist/components/BuyingOptions/index.js +1 -1
- package/dist/components/Cart/AddressFields.d.ts +2 -3
- package/dist/components/Cart/AddressFields.js +85 -142
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.d.ts +10 -0
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.js +38 -0
- package/dist/components/Cart/CartItem/CartItemLicense.d.ts +12 -0
- package/dist/components/Cart/CartItem/CartItemLicense.js +75 -0
- package/dist/components/Cart/CartItem/CartItemProduct.d.ts +7 -0
- package/dist/components/Cart/CartItem/CartItemProduct.js +43 -0
- package/dist/components/Cart/CartItem/CartItemVariable.d.ts +11 -0
- package/dist/components/Cart/CartItem/CartItemVariable.js +76 -0
- package/dist/components/Cart/CartItem/VariableTextInput.d.ts +1 -3
- package/dist/components/Cart/CartItem/VariableTextInput.js +7 -6
- package/dist/components/Cart/CartItem/index.d.ts +4 -1
- package/dist/components/Cart/CartItem/index.js +73 -284
- package/dist/components/Cart/CartOrder.js +19 -39
- package/dist/components/Cart/CartState.d.ts +4 -2
- package/dist/components/Cart/CartState.js +40 -29
- package/dist/components/Cart/CartTotals.js +2 -2
- package/dist/components/Cart/Checkout.js +5 -7
- package/dist/components/Cart/CouponCodeInput.js +4 -4
- package/dist/components/Cart/CustomerFields.d.ts +1 -1
- package/dist/components/Cart/CustomerFields.js +5 -5
- package/dist/components/Cart/Download.js +3 -3
- package/dist/components/Cart/EmptyCart.js +1 -1
- package/dist/components/Cart/IdentityBox.js +1 -1
- package/dist/components/Cart/index.js +2 -2
- package/dist/components/Cart/injectRelayEnvironment.js +2 -2
- package/dist/components/Cart/types.d.ts +5 -4
- package/dist/components/CartButton/index.d.ts +1 -0
- package/dist/components/CartButton/index.js +52 -11
- package/dist/components/CartButton/index.server.js +2 -2
- package/dist/components/CharacterViewer/StyleSelect.js +1 -1
- package/dist/components/CharacterViewer/index.js +8 -8
- package/dist/components/CharacterViewer/index.server.js +2 -2
- package/dist/components/Checkbox/index.js +4 -4
- package/dist/components/CollectionAa/index.js +1 -1
- package/dist/components/ComponentsContext.js +1 -1
- package/dist/components/ConfigContext.js +2 -2
- package/dist/components/CookieNotification/index.js +2 -2
- package/dist/components/CouponText/index.js +9 -4
- package/dist/components/CustomerLoginForm/index.js +3 -3
- package/dist/components/Family/FamilyList.js +1 -1
- package/dist/components/Family/index.js +4 -4
- package/dist/components/FontFamilies/index.js +12 -5
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +3 -3
- package/dist/components/FontdueProvider/index.js +1 -1
- package/dist/components/FontdueProvider/index.server.js +3 -3
- package/dist/components/Icons/Align.js +1 -1
- package/dist/components/Icons/ArrowDownRight.js +1 -1
- package/dist/components/Icons/ArrowLeft.js +1 -1
- package/dist/components/Icons/ArrowRight.js +1 -1
- package/dist/components/Icons/CarrotDown.js +1 -1
- package/dist/components/Icons/CarrotUp.js +1 -1
- package/dist/components/Icons/Cart.js +1 -1
- package/dist/components/Icons/CartNew.js +1 -1
- package/dist/components/Icons/Check.js +1 -1
- package/dist/components/Icons/Checkbox.js +1 -1
- package/dist/components/Icons/CheckboxChecked.js +1 -1
- package/dist/components/Icons/CheckboxCrossed.js +1 -1
- package/dist/components/Icons/CircledCheck.js +1 -1
- package/dist/components/Icons/CircledInfo.js +1 -1
- package/dist/components/Icons/CircledMinus.js +1 -1
- package/dist/components/Icons/ColorPicker.js +1 -1
- package/dist/components/Icons/CreditCard.js +1 -1
- package/dist/components/Icons/DownArrow.js +1 -1
- package/dist/components/Icons/DownloadFonts.js +1 -1
- package/dist/components/Icons/FrowningFace.js +1 -1
- package/dist/components/Icons/License.js +1 -1
- package/dist/components/Icons/Receipt.js +1 -1
- package/dist/components/Icons/User.js +1 -1
- package/dist/components/Icons/X.js +1 -1
- package/dist/components/Icons/index.js +1 -1
- package/dist/components/NewsletterSignup/NewsletterSignupElement.js +2 -2
- package/dist/components/NewsletterSignup/index.js +4 -4
- package/dist/components/NewsletterSignup/index.server.js +2 -2
- package/dist/components/NodePasswordForm/index.js +6 -7
- package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +7 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.d.ts +11 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +37 -0
- package/dist/components/OrderVariableSelection/index.d.ts +33 -0
- package/dist/components/OrderVariableSelection/index.js +184 -0
- package/dist/components/Precart/License.js +1 -1
- package/dist/components/Precart/index.js +4 -4
- package/dist/components/Price/index.js +2 -2
- package/dist/components/PriceBar/PriceBarSection.js +7 -27
- package/dist/components/PriceBar/index.js +4 -4
- package/dist/components/Root/index.js +4 -4
- package/dist/components/Root/productState.js +1 -1
- package/dist/components/SKUPrice/index.js +5 -31
- package/dist/components/Select/index.js +2 -2
- package/dist/components/SelectButton/index.js +5 -5
- package/dist/components/SelectField/index.js +4 -4
- package/dist/components/SpecimenLink/index.js +1 -1
- package/dist/components/StickyNav/index.js +3 -3
- package/dist/components/StoreModal/StoreModalBundleButton.js +3 -3
- package/dist/components/StoreModal/StoreModalCart.d.ts +0 -1
- package/dist/components/StoreModal/StoreModalCart.js +34 -21
- package/dist/components/StoreModal/StoreModalCheckout.js +46 -49
- package/dist/components/StoreModal/StoreModalCheckoutContext.js +1 -1
- package/dist/components/StoreModal/StoreModalContainer.js +5 -4
- package/dist/components/StoreModal/StoreModalDownload.js +3 -3
- package/dist/components/StoreModal/StoreModalFamily.js +4 -4
- package/dist/components/StoreModal/StoreModalFamilyButton.js +3 -3
- package/dist/components/StoreModal/StoreModalIndex.js +1 -1
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.js +31 -0
- package/dist/components/StoreModal/StoreModalLoader.js +2 -2
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +78 -0
- package/dist/components/StoreModal/StoreModalProduct.js +89 -16
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -3
- package/dist/components/StoreModal/StoreModalRouter.js +3 -3
- package/dist/components/StoreModal/StoreModalStyleButton.js +3 -3
- package/dist/components/StoreModal/index.js +3 -3
- package/dist/components/StoreModal/routes.d.ts +0 -2
- package/dist/components/StoreModal/routes.js +6 -12
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.d.ts +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +5 -5
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +3 -3
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +6 -5
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +5 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +17 -10
- package/dist/components/StoreModalProductSummary/index.d.ts +5 -6
- package/dist/components/StoreModalProductSummary/index.js +78 -48
- package/dist/components/StripeLogo.d.ts +2 -0
- package/dist/components/StripeLogo.js +17 -0
- package/dist/components/StripeProvider/index.d.ts +2 -1
- package/dist/components/StripeProvider/index.js +122 -60
- package/dist/components/Stylesheet/index.js +2 -2
- package/dist/components/TestFontsForm/TestFontsFormElement.js +2 -2
- package/dist/components/TestFontsForm/index.js +4 -4
- package/dist/components/TestFontsForm/index.server.js +2 -2
- package/dist/components/TestModeBanner/index.js +1 -1
- package/dist/components/TextField/index.js +2 -2
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/ThemeConfig/index.server.js +1 -1
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +1 -1
- package/dist/components/TypeTester/TypeTesterBullet.js +1 -1
- package/dist/components/TypeTester/TypeTesterContent.js +4 -4
- package/dist/components/TypeTester/TypeTesterContext.js +2 -2
- package/dist/components/TypeTester/TypeTesterEditAll.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
- package/dist/components/TypeTester/TypeTesterFitter.js +2 -2
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterInput.js +2 -2
- package/dist/components/TypeTester/TypeTesterSlider.js +2 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +36 -5
- package/dist/components/TypeTester/TypeTesterStandalone.server.js +4 -10
- package/dist/components/TypeTester/TypeTesterStandaloneElement.js +2 -2
- package/dist/components/TypeTester/TypeTesterState.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +4 -4
- package/dist/components/TypeTester/TypeTesterToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +1 -1
- package/dist/components/TypeTester/index.d.ts +2 -0
- package/dist/components/TypeTester/index.js +12 -47
- package/dist/components/TypeTester/useFeaturesData.js +1 -1
- package/dist/components/TypeTesters/TypeTestersElement.js +2 -2
- package/dist/components/TypeTesters/index.js +85 -20
- package/dist/components/TypeTesters/index.server.js +5 -11
- package/dist/components/VariableTableAmounts/index.js +1 -1
- package/dist/components/elements/Button/index.js +2 -2
- package/dist/components/elements/EmptyCart/index.js +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.d.ts +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.js +12 -14
- package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.js +1 -1
- package/dist/components/elements/StoreModalContainer/index.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +6 -4
- package/dist/components/elements/StoreModalDownloadLayout/index.js +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/components/elements/StoreModalFamilyButton/index.js +2 -2
- package/dist/components/elements/StoreModalIndexItem/index.js +1 -1
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.d.ts +11 -0
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.js +61 -0
- package/dist/components/elements/StoreModalLoadingScreen/index.js +1 -1
- package/dist/components/elements/StoreModalPageContainer/index.js +1 -1
- package/dist/components/elements/StoreModalStyleButton/index.js +2 -2
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +10 -0
- package/dist/components/elements/StoreModalUnifiedCheckout.js +494 -0
- package/dist/components/useFontStyle.js +1 -1
- package/dist/components/useTotalStyles.js +1 -1
- package/dist/fontdue.css +339 -232
- package/dist/hooks/useLicenseAndOrderVariables.d.ts +5 -0
- package/dist/hooks/useLicenseAndOrderVariables.js +25 -0
- package/dist/hooks/useOrderVariables.d.ts +5 -0
- package/dist/hooks/useRefetchOnLicenseChanges.d.ts +22 -0
- package/dist/hooks/useRefetchOnLicenseChanges.js +61 -0
- package/dist/react-ranger.js +1 -1
- package/dist/reducer.d.ts +12 -0
- package/dist/reducer.js +17 -1
- package/dist/relay/environment.d.ts +1 -1
- package/dist/relay/environment.js +6 -9
- package/dist/vanilla/FontStyle.js +1 -1
- package/package.json +5 -5
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<2cb731b4bc4768d7fe01387fe81dfb27>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -19,63 +19,80 @@ const node = function () {
|
|
|
19
19
|
"defaultValue": null,
|
|
20
20
|
"kind": "LocalArgument",
|
|
21
21
|
"name": "collectionId"
|
|
22
|
+
}, {
|
|
23
|
+
"defaultValue": null,
|
|
24
|
+
"kind": "LocalArgument",
|
|
25
|
+
"name": "licenseOptions"
|
|
26
|
+
}, {
|
|
27
|
+
"defaultValue": null,
|
|
28
|
+
"kind": "LocalArgument",
|
|
29
|
+
"name": "orderVariables"
|
|
22
30
|
}],
|
|
23
31
|
v1 = [{
|
|
24
32
|
"kind": "Variable",
|
|
25
33
|
"name": "id",
|
|
26
34
|
"variableName": "collectionId"
|
|
27
35
|
}],
|
|
28
|
-
v2 = {
|
|
29
|
-
"
|
|
36
|
+
v2 = [{
|
|
37
|
+
"kind": "Variable",
|
|
38
|
+
"name": "licenseOptions",
|
|
39
|
+
"variableName": "licenseOptions"
|
|
40
|
+
}, {
|
|
41
|
+
"kind": "Variable",
|
|
42
|
+
"name": "orderVariables",
|
|
43
|
+
"variableName": "orderVariables"
|
|
44
|
+
}],
|
|
45
|
+
v3 = {
|
|
46
|
+
"args": v2 /*: any*/,
|
|
30
47
|
"kind": "FragmentSpread",
|
|
31
48
|
"name": "Family_node"
|
|
32
49
|
},
|
|
33
|
-
|
|
50
|
+
v4 = [{
|
|
34
51
|
"kind": "Literal",
|
|
35
52
|
"name": "collectionTypes",
|
|
36
53
|
"value": ["FAMILY"]
|
|
37
54
|
}],
|
|
38
|
-
|
|
55
|
+
v5 = {
|
|
39
56
|
"alias": null,
|
|
40
57
|
"args": null,
|
|
41
58
|
"kind": "ScalarField",
|
|
42
59
|
"name": "name",
|
|
43
60
|
"storageKey": null
|
|
44
61
|
},
|
|
45
|
-
|
|
62
|
+
v6 = {
|
|
46
63
|
"alias": null,
|
|
47
64
|
"args": null,
|
|
48
65
|
"kind": "ScalarField",
|
|
49
66
|
"name": "cssFamily",
|
|
50
67
|
"storageKey": null
|
|
51
68
|
},
|
|
52
|
-
|
|
69
|
+
v7 = {
|
|
53
70
|
"alias": null,
|
|
54
71
|
"args": null,
|
|
55
72
|
"kind": "ScalarField",
|
|
56
73
|
"name": "supportedLanguages",
|
|
57
74
|
"storageKey": null
|
|
58
75
|
},
|
|
59
|
-
|
|
76
|
+
v8 = [{
|
|
60
77
|
"kind": "Literal",
|
|
61
78
|
"name": "format",
|
|
62
79
|
"value": "LOCALIZED"
|
|
63
80
|
}],
|
|
64
|
-
|
|
81
|
+
v9 = {
|
|
65
82
|
"alias": "name_localized",
|
|
66
|
-
"args":
|
|
83
|
+
"args": v8 /*: any*/,
|
|
67
84
|
"kind": "ScalarField",
|
|
68
85
|
"name": "name",
|
|
69
86
|
"storageKey": "name(format:\"LOCALIZED\")"
|
|
70
87
|
},
|
|
71
|
-
|
|
88
|
+
v10 = {
|
|
72
89
|
"alias": null,
|
|
73
90
|
"args": null,
|
|
74
91
|
"concreteType": "VariableInstance",
|
|
75
92
|
"kind": "LinkedField",
|
|
76
93
|
"name": "variableInstances",
|
|
77
94
|
"plural": true,
|
|
78
|
-
"selections": [
|
|
95
|
+
"selections": [v5 /*: any*/, {
|
|
79
96
|
"alias": null,
|
|
80
97
|
"args": null,
|
|
81
98
|
"concreteType": "VariableSetting",
|
|
@@ -99,46 +116,42 @@ const node = function () {
|
|
|
99
116
|
}],
|
|
100
117
|
"storageKey": null
|
|
101
118
|
},
|
|
102
|
-
|
|
119
|
+
v11 = {
|
|
103
120
|
"alias": null,
|
|
104
121
|
"args": null,
|
|
105
122
|
"kind": "ScalarField",
|
|
106
123
|
"name": "id",
|
|
107
124
|
"storageKey": null
|
|
108
125
|
},
|
|
109
|
-
|
|
126
|
+
v12 = {
|
|
110
127
|
"alias": null,
|
|
111
128
|
"args": null,
|
|
112
129
|
"concreteType": "FontStyle",
|
|
113
130
|
"kind": "LinkedField",
|
|
114
131
|
"name": "fontStyles",
|
|
115
132
|
"plural": true,
|
|
116
|
-
"selections": [
|
|
133
|
+
"selections": [v6 /*: any*/, v5 /*: any*/, v7 /*: any*/, v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, {
|
|
117
134
|
"alias": null,
|
|
118
135
|
"args": null,
|
|
119
136
|
"concreteType": "VariableAxis",
|
|
120
137
|
"kind": "LinkedField",
|
|
121
138
|
"name": "variableAxes",
|
|
122
139
|
"plural": true,
|
|
123
|
-
"selections": [
|
|
140
|
+
"selections": [v5 /*: any*/],
|
|
124
141
|
"storageKey": null
|
|
125
142
|
}],
|
|
126
143
|
"storageKey": null
|
|
127
144
|
},
|
|
128
|
-
|
|
145
|
+
v13 = {
|
|
129
146
|
"alias": null,
|
|
130
147
|
"args": null,
|
|
131
148
|
"concreteType": "Sku",
|
|
132
149
|
"kind": "LinkedField",
|
|
133
150
|
"name": "sku",
|
|
134
151
|
"plural": false,
|
|
135
|
-
"selections": [
|
|
152
|
+
"selections": [v11 /*: any*/, {
|
|
136
153
|
"alias": null,
|
|
137
|
-
"args":
|
|
138
|
-
"kind": "Literal",
|
|
139
|
-
"name": "licenseOptions",
|
|
140
|
-
"value": [] /*: any*/
|
|
141
|
-
}],
|
|
154
|
+
"args": v2 /*: any*/,
|
|
142
155
|
"concreteType": "Money",
|
|
143
156
|
"kind": "LinkedField",
|
|
144
157
|
"name": "price",
|
|
@@ -156,39 +169,39 @@ const node = function () {
|
|
|
156
169
|
"name": "currency",
|
|
157
170
|
"storageKey": null
|
|
158
171
|
}],
|
|
159
|
-
"storageKey":
|
|
172
|
+
"storageKey": null
|
|
160
173
|
}],
|
|
161
174
|
"storageKey": null
|
|
162
175
|
},
|
|
163
|
-
|
|
176
|
+
v14 = {
|
|
164
177
|
"alias": null,
|
|
165
178
|
"args": null,
|
|
166
179
|
"kind": "ScalarField",
|
|
167
180
|
"name": "cssUrl",
|
|
168
181
|
"storageKey": null
|
|
169
182
|
},
|
|
170
|
-
|
|
183
|
+
v15 = {
|
|
171
184
|
"alias": null,
|
|
172
185
|
"args": null,
|
|
173
186
|
"kind": "ScalarField",
|
|
174
187
|
"name": "collectionType",
|
|
175
188
|
"storageKey": null
|
|
176
189
|
},
|
|
177
|
-
|
|
190
|
+
v16 = {
|
|
178
191
|
"alias": null,
|
|
179
192
|
"args": null,
|
|
180
193
|
"kind": "ScalarField",
|
|
181
194
|
"name": "totalStyles",
|
|
182
195
|
"storageKey": null
|
|
183
196
|
},
|
|
184
|
-
|
|
197
|
+
v17 = {
|
|
185
198
|
"alias": null,
|
|
186
199
|
"args": null,
|
|
187
200
|
"kind": "ScalarField",
|
|
188
201
|
"name": "isVariableFont",
|
|
189
202
|
"storageKey": null
|
|
190
203
|
},
|
|
191
|
-
|
|
204
|
+
v18 = {
|
|
192
205
|
"alias": null,
|
|
193
206
|
"args": null,
|
|
194
207
|
"concreteType": "FontStyle",
|
|
@@ -197,11 +210,11 @@ const node = function () {
|
|
|
197
210
|
"plural": false,
|
|
198
211
|
"selections": [{
|
|
199
212
|
"alias": "keyCharacters_localized",
|
|
200
|
-
"args":
|
|
213
|
+
"args": v8 /*: any*/,
|
|
201
214
|
"kind": "ScalarField",
|
|
202
215
|
"name": "keyCharacters",
|
|
203
216
|
"storageKey": "keyCharacters(format:\"LOCALIZED\")"
|
|
204
|
-
},
|
|
217
|
+
}, v11 /*: any*/],
|
|
205
218
|
"storageKey": null
|
|
206
219
|
};
|
|
207
220
|
return {
|
|
@@ -217,16 +230,16 @@ const node = function () {
|
|
|
217
230
|
"kind": "LinkedField",
|
|
218
231
|
"name": "node",
|
|
219
232
|
"plural": false,
|
|
220
|
-
"selections": [
|
|
233
|
+
"selections": [v3 /*: any*/, {
|
|
221
234
|
"kind": "InlineFragment",
|
|
222
235
|
"selections": [{
|
|
223
236
|
"alias": "families",
|
|
224
|
-
"args":
|
|
237
|
+
"args": v4 /*: any*/,
|
|
225
238
|
"concreteType": "FontCollection",
|
|
226
239
|
"kind": "LinkedField",
|
|
227
240
|
"name": "children",
|
|
228
241
|
"plural": true,
|
|
229
|
-
"selections": [
|
|
242
|
+
"selections": [v3 /*: any*/],
|
|
230
243
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
231
244
|
}],
|
|
232
245
|
"type": "FontCollection",
|
|
@@ -257,50 +270,50 @@ const node = function () {
|
|
|
257
270
|
"storageKey": null
|
|
258
271
|
}, {
|
|
259
272
|
"kind": "InlineFragment",
|
|
260
|
-
"selections": [
|
|
273
|
+
"selections": [v5 /*: any*/, v12 /*: any*/, v13 /*: any*/, v14 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, {
|
|
261
274
|
"alias": "families",
|
|
262
|
-
"args":
|
|
275
|
+
"args": v4 /*: any*/,
|
|
263
276
|
"concreteType": "FontCollection",
|
|
264
277
|
"kind": "LinkedField",
|
|
265
278
|
"name": "children",
|
|
266
279
|
"plural": true,
|
|
267
|
-
"selections": [
|
|
280
|
+
"selections": [v18 /*: any*/, v5 /*: any*/, v12 /*: any*/, v11 /*: any*/, v13 /*: any*/, v14 /*: any*/, v15 /*: any*/, v16 /*: any*/, v17 /*: any*/, {
|
|
268
281
|
"alias": "families",
|
|
269
|
-
"args":
|
|
282
|
+
"args": v4 /*: any*/,
|
|
270
283
|
"concreteType": "FontCollection",
|
|
271
284
|
"kind": "LinkedField",
|
|
272
285
|
"name": "children",
|
|
273
286
|
"plural": true,
|
|
274
|
-
"selections": [
|
|
287
|
+
"selections": [v18 /*: any*/, v5 /*: any*/, {
|
|
275
288
|
"alias": null,
|
|
276
289
|
"args": null,
|
|
277
290
|
"concreteType": "FontStyle",
|
|
278
291
|
"kind": "LinkedField",
|
|
279
292
|
"name": "fontStyles",
|
|
280
293
|
"plural": true,
|
|
281
|
-
"selections": [
|
|
294
|
+
"selections": [v6 /*: any*/, v5 /*: any*/, v7 /*: any*/, v9 /*: any*/, v10 /*: any*/, v11 /*: any*/],
|
|
282
295
|
"storageKey": null
|
|
283
|
-
},
|
|
296
|
+
}, v11 /*: any*/],
|
|
284
297
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
285
298
|
}],
|
|
286
299
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
287
300
|
}],
|
|
288
301
|
"type": "FontCollection",
|
|
289
302
|
"abstractKey": null
|
|
290
|
-
},
|
|
303
|
+
}, v11 /*: any*/],
|
|
291
304
|
"storageKey": null
|
|
292
305
|
}]
|
|
293
306
|
},
|
|
294
307
|
"params": {
|
|
295
|
-
"cacheID": "
|
|
308
|
+
"cacheID": "c5654a4baa4ae0fbbf8ed5d6136f3c5f",
|
|
296
309
|
"id": null,
|
|
297
310
|
"metadata": {},
|
|
298
311
|
"name": "FontFamiliesQuery",
|
|
299
312
|
"operationKind": "query",
|
|
300
|
-
"text": "query FontFamiliesQuery(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...
|
|
313
|
+
"text": "query FontFamiliesQuery(\n $collectionId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $collectionId) {\n __typename\n ...Family_node_4sncub\n ... on FontCollection {\n families: children(collectionTypes: [FAMILY]) {\n ...Family_node_4sncub\n id\n }\n }\n id\n }\n}\n\nfragment FamilyList_node on FontCollection {\n name\n fontStyles {\n ...FontStyle_fontStyle\n supportedLanguages\n name\n name_localized: name(format: LOCALIZED)\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n id\n }\n}\n\nfragment Family_node_4sncub on FontCollection {\n ...FamilyList_node\n sku {\n id\n ...SKUPrice_sku_4sncub\n ...SelectButton_sku_4sncub\n }\n cssUrl\n name\n collectionType\n totalStyles\n isVariableFont\n fontStyles {\n variableAxes {\n name\n }\n variableInstances {\n name\n }\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n featureStyle {\n keyCharacters_localized: keyCharacters(format: LOCALIZED)\n id\n }\n ...FamilyList_node\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 SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\n}\n"
|
|
301
314
|
}
|
|
302
315
|
};
|
|
303
316
|
}();
|
|
304
|
-
node.hash = "
|
|
317
|
+
node.hash = "18eba6b750d3f714b964af66ecfcfa3b";
|
|
305
318
|
var _default = node;
|
|
306
319
|
exports.default = _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<f4586e7859ff904749ad963e46474c6b>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
export type UpdateOrderInput = {
|
|
8
|
+
billingIdentity?: IdentityInput | null;
|
|
9
|
+
licenseeIdentity?: IdentityInput | null;
|
|
10
|
+
licenseeIsBillingIdentity?: boolean | null;
|
|
11
|
+
orderItems?: ReadonlyArray<OrderItemInput | null> | null;
|
|
12
|
+
orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput | null> | null;
|
|
13
|
+
stripePaymentMethodId?: string | null;
|
|
14
|
+
stripeTokenId?: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type OrderItemInput = {
|
|
17
|
+
id: string;
|
|
18
|
+
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
19
|
+
};
|
|
20
|
+
export type LicenseSelectionInput = {
|
|
21
|
+
licenseId: string;
|
|
22
|
+
licenseOptionId?: string | null;
|
|
23
|
+
licenseVariableId?: string | null;
|
|
24
|
+
variableText?: string | null;
|
|
25
|
+
};
|
|
26
|
+
export type OrderVariableSelectionInput = {
|
|
27
|
+
orderVariableId: string;
|
|
28
|
+
orderVariableOptionId?: string | null;
|
|
29
|
+
};
|
|
30
|
+
export type IdentityInput = {
|
|
31
|
+
administrativeArea?: string | null;
|
|
32
|
+
country: string;
|
|
33
|
+
email: string;
|
|
34
|
+
locality?: string | null;
|
|
35
|
+
name: string;
|
|
36
|
+
organization?: string | null;
|
|
37
|
+
phone: string;
|
|
38
|
+
sortingCode?: string | null;
|
|
39
|
+
street?: string | null;
|
|
40
|
+
sublocality?: string | null;
|
|
41
|
+
vatNumber?: string | null;
|
|
42
|
+
zip?: string | null;
|
|
43
|
+
};
|
|
44
|
+
export type OrderVariableSelectionMutation$variables = {
|
|
45
|
+
input: UpdateOrderInput;
|
|
46
|
+
};
|
|
47
|
+
export type OrderVariableSelectionMutation$data = {
|
|
48
|
+
readonly updateOrder: {
|
|
49
|
+
readonly order: {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
52
|
+
readonly orderVariable: {
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly name: string;
|
|
55
|
+
};
|
|
56
|
+
readonly orderVariableOption: {
|
|
57
|
+
readonly amount: string | null;
|
|
58
|
+
readonly id: string;
|
|
59
|
+
} | null;
|
|
60
|
+
}> | null;
|
|
61
|
+
} | null;
|
|
62
|
+
} | null;
|
|
63
|
+
};
|
|
64
|
+
export type OrderVariableSelectionMutation = {
|
|
65
|
+
response: OrderVariableSelectionMutation$data;
|
|
66
|
+
variables: OrderVariableSelectionMutation$variables;
|
|
67
|
+
};
|
|
68
|
+
declare const node: ConcreteRequest;
|
|
69
|
+
export default node;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<071bc238abf942cc0f54473ee23d6ce4>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelectionMutation_viewer$data = {
|
|
9
|
+
readonly currentOrder: {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
12
|
+
readonly orderVariable: {
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly name: string;
|
|
15
|
+
};
|
|
16
|
+
readonly orderVariableOption: {
|
|
17
|
+
readonly amount: string | null;
|
|
18
|
+
readonly id: string;
|
|
19
|
+
} | null;
|
|
20
|
+
}> | null;
|
|
21
|
+
} | null;
|
|
22
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelection_variables">;
|
|
23
|
+
readonly " $fragmentType": "OrderVariableSelectionMutation_viewer";
|
|
24
|
+
};
|
|
25
|
+
export type OrderVariableSelectionMutation_viewer$key = {
|
|
26
|
+
readonly " $data"?: OrderVariableSelectionMutation_viewer$data;
|
|
27
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelectionMutation_viewer">;
|
|
28
|
+
};
|
|
29
|
+
declare const node: ReaderFragment;
|
|
30
|
+
export default node;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<0620488e64422c56517e69f7f14adb2d>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelectionRedux_viewer$data = {
|
|
9
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelection_variables">;
|
|
10
|
+
readonly " $fragmentType": "OrderVariableSelectionRedux_viewer";
|
|
11
|
+
};
|
|
12
|
+
export type OrderVariableSelectionRedux_viewer$key = {
|
|
13
|
+
readonly " $data"?: OrderVariableSelectionRedux_viewer$data;
|
|
14
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelectionRedux_viewer">;
|
|
15
|
+
};
|
|
16
|
+
declare const node: ReaderFragment;
|
|
17
|
+
export default node;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<0620488e64422c56517e69f7f14adb2d>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = {
|
|
18
|
+
"argumentDefinitions": [],
|
|
19
|
+
"kind": "Fragment",
|
|
20
|
+
"metadata": null,
|
|
21
|
+
"name": "OrderVariableSelectionRedux_viewer",
|
|
22
|
+
"selections": [{
|
|
23
|
+
"args": null,
|
|
24
|
+
"kind": "FragmentSpread",
|
|
25
|
+
"name": "OrderVariableSelection_variables"
|
|
26
|
+
}],
|
|
27
|
+
"type": "Viewer",
|
|
28
|
+
"abstractKey": null
|
|
29
|
+
};
|
|
30
|
+
node.hash = "7d07b06f69f3c216f916b8da7c604cd5";
|
|
31
|
+
var _default = node;
|
|
32
|
+
exports.default = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<f15aa40c78fa3495090d995a230b1fc4>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelection_variables$data = {
|
|
9
|
+
readonly orderVariables: ReadonlyArray<{
|
|
10
|
+
readonly description: string | null;
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly orderVariableOptions: ReadonlyArray<{
|
|
14
|
+
readonly amount: string | null;
|
|
15
|
+
readonly id: string;
|
|
16
|
+
}> | null;
|
|
17
|
+
readonly variableType: string;
|
|
18
|
+
}> | null;
|
|
19
|
+
readonly " $fragmentType": "OrderVariableSelection_variables";
|
|
20
|
+
};
|
|
21
|
+
export type OrderVariableSelection_variables$key = {
|
|
22
|
+
readonly " $data"?: OrderVariableSelection_variables$data;
|
|
23
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelection_variables">;
|
|
24
|
+
};
|
|
25
|
+
declare const node: ReaderFragment;
|
|
26
|
+
export default node;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<f15aa40c78fa3495090d995a230b1fc4>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = {
|
|
19
|
+
"alias": null,
|
|
20
|
+
"args": null,
|
|
21
|
+
"kind": "ScalarField",
|
|
22
|
+
"name": "id",
|
|
23
|
+
"storageKey": null
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
"argumentDefinitions": [],
|
|
27
|
+
"kind": "Fragment",
|
|
28
|
+
"metadata": null,
|
|
29
|
+
"name": "OrderVariableSelection_variables",
|
|
30
|
+
"selections": [{
|
|
31
|
+
"alias": null,
|
|
32
|
+
"args": null,
|
|
33
|
+
"concreteType": "OrderVariable",
|
|
34
|
+
"kind": "LinkedField",
|
|
35
|
+
"name": "orderVariables",
|
|
36
|
+
"plural": true,
|
|
37
|
+
"selections": [v0 /*: any*/, {
|
|
38
|
+
"alias": null,
|
|
39
|
+
"args": null,
|
|
40
|
+
"kind": "ScalarField",
|
|
41
|
+
"name": "name",
|
|
42
|
+
"storageKey": null
|
|
43
|
+
}, {
|
|
44
|
+
"alias": null,
|
|
45
|
+
"args": null,
|
|
46
|
+
"kind": "ScalarField",
|
|
47
|
+
"name": "variableType",
|
|
48
|
+
"storageKey": null
|
|
49
|
+
}, {
|
|
50
|
+
"alias": null,
|
|
51
|
+
"args": null,
|
|
52
|
+
"kind": "ScalarField",
|
|
53
|
+
"name": "description",
|
|
54
|
+
"storageKey": null
|
|
55
|
+
}, {
|
|
56
|
+
"alias": null,
|
|
57
|
+
"args": null,
|
|
58
|
+
"concreteType": "OrderVariableOption",
|
|
59
|
+
"kind": "LinkedField",
|
|
60
|
+
"name": "orderVariableOptions",
|
|
61
|
+
"plural": true,
|
|
62
|
+
"selections": [v0 /*: any*/, {
|
|
63
|
+
"alias": null,
|
|
64
|
+
"args": null,
|
|
65
|
+
"kind": "ScalarField",
|
|
66
|
+
"name": "amount",
|
|
67
|
+
"storageKey": null
|
|
68
|
+
}],
|
|
69
|
+
"storageKey": null
|
|
70
|
+
}],
|
|
71
|
+
"storageKey": null
|
|
72
|
+
}],
|
|
73
|
+
"type": "Viewer",
|
|
74
|
+
"abstractKey": null
|
|
75
|
+
};
|
|
76
|
+
}();
|
|
77
|
+
node.hash = "cce511c94f6bca99792a0407a8d0d6a3";
|
|
78
|
+
var _default = node;
|
|
79
|
+
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<8bc4ec173240ce5a7914ee8481280a5e>>
|
|
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 PrecartAddToCartMutation$variables = {
|
|
19
26
|
input: CreateOrderItemsInput;
|
|
20
27
|
};
|