fontdue-js 2.10.1 → 2.12.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 +17 -3
- 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__/CartTotalsCreateSnapshotMutation.graphql.d.ts +23 -0
- package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.js +90 -0
- 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 +83 -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 +393 -68
- 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 +130 -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 +192 -134
- 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 +104 -10
- package/dist/components/Cart/Checkout.js +5 -7
- package/dist/components/Cart/CouponCodeInput.js +6 -6
- 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 +66 -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 +189 -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 +15 -8
- 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/TypeTester/useTypeTesterStyler.js +5 -4
- 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 +455 -228
- 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,293 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<01d758e3e6633b1b189fbcdcc26f88f6>>
|
|
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
|
+
"defaultValue": null,
|
|
24
|
+
"kind": "LocalArgument",
|
|
25
|
+
"name": "licenseOptions"
|
|
26
|
+
}, {
|
|
27
|
+
"defaultValue": null,
|
|
28
|
+
"kind": "LocalArgument",
|
|
29
|
+
"name": "orderVariables"
|
|
30
|
+
}],
|
|
31
|
+
v1 = [{
|
|
32
|
+
"kind": "Variable",
|
|
33
|
+
"name": "id",
|
|
34
|
+
"variableName": "id"
|
|
35
|
+
}],
|
|
36
|
+
v2 = {
|
|
37
|
+
"alias": null,
|
|
38
|
+
"args": null,
|
|
39
|
+
"kind": "ScalarField",
|
|
40
|
+
"name": "id",
|
|
41
|
+
"storageKey": null
|
|
42
|
+
},
|
|
43
|
+
v3 = [{
|
|
44
|
+
"kind": "Variable",
|
|
45
|
+
"name": "licenseOptions",
|
|
46
|
+
"variableName": "licenseOptions"
|
|
47
|
+
}, {
|
|
48
|
+
"kind": "Variable",
|
|
49
|
+
"name": "orderVariables",
|
|
50
|
+
"variableName": "orderVariables"
|
|
51
|
+
}],
|
|
52
|
+
v4 = {
|
|
53
|
+
"alias": null,
|
|
54
|
+
"args": null,
|
|
55
|
+
"kind": "ScalarField",
|
|
56
|
+
"name": "axis",
|
|
57
|
+
"storageKey": null
|
|
58
|
+
},
|
|
59
|
+
v5 = {
|
|
60
|
+
"alias": null,
|
|
61
|
+
"args": null,
|
|
62
|
+
"kind": "ScalarField",
|
|
63
|
+
"name": "name",
|
|
64
|
+
"storageKey": null
|
|
65
|
+
},
|
|
66
|
+
v6 = {
|
|
67
|
+
"alias": null,
|
|
68
|
+
"args": null,
|
|
69
|
+
"kind": "ScalarField",
|
|
70
|
+
"name": "amount",
|
|
71
|
+
"storageKey": null
|
|
72
|
+
};
|
|
73
|
+
return {
|
|
74
|
+
"fragment": {
|
|
75
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
76
|
+
"kind": "Fragment",
|
|
77
|
+
"metadata": null,
|
|
78
|
+
"name": "TypeTesterStandaloneChangedStylesQuery",
|
|
79
|
+
"selections": [{
|
|
80
|
+
"alias": null,
|
|
81
|
+
"args": v1 /*: any*/,
|
|
82
|
+
"concreteType": null,
|
|
83
|
+
"kind": "LinkedField",
|
|
84
|
+
"name": "node",
|
|
85
|
+
"plural": false,
|
|
86
|
+
"selections": [{
|
|
87
|
+
"kind": "InlineFragment",
|
|
88
|
+
"selections": [v2 /*: any*/, {
|
|
89
|
+
"args": v3 /*: any*/,
|
|
90
|
+
"kind": "FragmentSpread",
|
|
91
|
+
"name": "TypeTester_fontStyle"
|
|
92
|
+
}],
|
|
93
|
+
"type": "FontStyle",
|
|
94
|
+
"abstractKey": null
|
|
95
|
+
}],
|
|
96
|
+
"storageKey": null
|
|
97
|
+
}],
|
|
98
|
+
"type": "RootQueryType",
|
|
99
|
+
"abstractKey": null
|
|
100
|
+
},
|
|
101
|
+
"kind": "Request",
|
|
102
|
+
"operation": {
|
|
103
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
104
|
+
"kind": "Operation",
|
|
105
|
+
"name": "TypeTesterStandaloneChangedStylesQuery",
|
|
106
|
+
"selections": [{
|
|
107
|
+
"alias": null,
|
|
108
|
+
"args": v1 /*: any*/,
|
|
109
|
+
"concreteType": null,
|
|
110
|
+
"kind": "LinkedField",
|
|
111
|
+
"name": "node",
|
|
112
|
+
"plural": false,
|
|
113
|
+
"selections": [{
|
|
114
|
+
"alias": null,
|
|
115
|
+
"args": null,
|
|
116
|
+
"kind": "ScalarField",
|
|
117
|
+
"name": "__typename",
|
|
118
|
+
"storageKey": null
|
|
119
|
+
}, v2 /*: any*/, {
|
|
120
|
+
"kind": "InlineFragment",
|
|
121
|
+
"selections": [{
|
|
122
|
+
"alias": null,
|
|
123
|
+
"args": null,
|
|
124
|
+
"concreteType": "FontFeatures",
|
|
125
|
+
"kind": "LinkedField",
|
|
126
|
+
"name": "fontFeatures",
|
|
127
|
+
"plural": false,
|
|
128
|
+
"selections": [{
|
|
129
|
+
"alias": null,
|
|
130
|
+
"args": null,
|
|
131
|
+
"kind": "ScalarField",
|
|
132
|
+
"name": "supportedFeatures",
|
|
133
|
+
"storageKey": null
|
|
134
|
+
}, {
|
|
135
|
+
"alias": null,
|
|
136
|
+
"args": null,
|
|
137
|
+
"concreteType": "StylisticSetName",
|
|
138
|
+
"kind": "LinkedField",
|
|
139
|
+
"name": "stylisticSetNames",
|
|
140
|
+
"plural": true,
|
|
141
|
+
"selections": [{
|
|
142
|
+
"alias": null,
|
|
143
|
+
"args": null,
|
|
144
|
+
"kind": "ScalarField",
|
|
145
|
+
"name": "featureName",
|
|
146
|
+
"storageKey": null
|
|
147
|
+
}, {
|
|
148
|
+
"alias": null,
|
|
149
|
+
"args": null,
|
|
150
|
+
"kind": "ScalarField",
|
|
151
|
+
"name": "humanName",
|
|
152
|
+
"storageKey": null
|
|
153
|
+
}],
|
|
154
|
+
"storageKey": null
|
|
155
|
+
}],
|
|
156
|
+
"storageKey": null
|
|
157
|
+
}, {
|
|
158
|
+
"alias": null,
|
|
159
|
+
"args": null,
|
|
160
|
+
"concreteType": "VariableAxis",
|
|
161
|
+
"kind": "LinkedField",
|
|
162
|
+
"name": "variableAxes",
|
|
163
|
+
"plural": true,
|
|
164
|
+
"selections": [v4 /*: any*/, v5 /*: any*/, {
|
|
165
|
+
"alias": null,
|
|
166
|
+
"args": null,
|
|
167
|
+
"kind": "ScalarField",
|
|
168
|
+
"name": "minValue",
|
|
169
|
+
"storageKey": null
|
|
170
|
+
}, {
|
|
171
|
+
"alias": null,
|
|
172
|
+
"args": null,
|
|
173
|
+
"kind": "ScalarField",
|
|
174
|
+
"name": "maxValue",
|
|
175
|
+
"storageKey": null
|
|
176
|
+
}],
|
|
177
|
+
"storageKey": null
|
|
178
|
+
}, v5 /*: 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": "cssStyle",
|
|
189
|
+
"storageKey": null
|
|
190
|
+
}, {
|
|
191
|
+
"alias": null,
|
|
192
|
+
"args": null,
|
|
193
|
+
"kind": "ScalarField",
|
|
194
|
+
"name": "cssStretch",
|
|
195
|
+
"storageKey": null
|
|
196
|
+
}, {
|
|
197
|
+
"alias": null,
|
|
198
|
+
"args": null,
|
|
199
|
+
"concreteType": "VariableInstance",
|
|
200
|
+
"kind": "LinkedField",
|
|
201
|
+
"name": "variableInstances",
|
|
202
|
+
"plural": true,
|
|
203
|
+
"selections": [v5 /*: any*/, {
|
|
204
|
+
"alias": null,
|
|
205
|
+
"args": null,
|
|
206
|
+
"concreteType": "VariableSetting",
|
|
207
|
+
"kind": "LinkedField",
|
|
208
|
+
"name": "coordinates",
|
|
209
|
+
"plural": true,
|
|
210
|
+
"selections": [v4 /*: any*/, {
|
|
211
|
+
"alias": null,
|
|
212
|
+
"args": null,
|
|
213
|
+
"kind": "ScalarField",
|
|
214
|
+
"name": "value",
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}],
|
|
217
|
+
"storageKey": null
|
|
218
|
+
}],
|
|
219
|
+
"storageKey": null
|
|
220
|
+
}, {
|
|
221
|
+
"alias": null,
|
|
222
|
+
"args": null,
|
|
223
|
+
"concreteType": "FontCollection",
|
|
224
|
+
"kind": "LinkedField",
|
|
225
|
+
"name": "family",
|
|
226
|
+
"plural": false,
|
|
227
|
+
"selections": [v5 /*: any*/, v2 /*: any*/, {
|
|
228
|
+
"alias": null,
|
|
229
|
+
"args": null,
|
|
230
|
+
"kind": "ScalarField",
|
|
231
|
+
"name": "cssUrl",
|
|
232
|
+
"storageKey": null
|
|
233
|
+
}],
|
|
234
|
+
"storageKey": null
|
|
235
|
+
}, {
|
|
236
|
+
"alias": null,
|
|
237
|
+
"args": null,
|
|
238
|
+
"kind": "ScalarField",
|
|
239
|
+
"name": "cssFamily",
|
|
240
|
+
"storageKey": null
|
|
241
|
+
}, {
|
|
242
|
+
"alias": null,
|
|
243
|
+
"args": null,
|
|
244
|
+
"concreteType": "Sku",
|
|
245
|
+
"kind": "LinkedField",
|
|
246
|
+
"name": "sku",
|
|
247
|
+
"plural": false,
|
|
248
|
+
"selections": [v2 /*: any*/, {
|
|
249
|
+
"alias": null,
|
|
250
|
+
"args": v3 /*: any*/,
|
|
251
|
+
"concreteType": "Money",
|
|
252
|
+
"kind": "LinkedField",
|
|
253
|
+
"name": "price",
|
|
254
|
+
"plural": false,
|
|
255
|
+
"selections": [v6 /*: any*/, {
|
|
256
|
+
"alias": null,
|
|
257
|
+
"args": null,
|
|
258
|
+
"kind": "ScalarField",
|
|
259
|
+
"name": "currency",
|
|
260
|
+
"storageKey": null
|
|
261
|
+
}],
|
|
262
|
+
"storageKey": null
|
|
263
|
+
}, {
|
|
264
|
+
"alias": "basePrice",
|
|
265
|
+
"args": null,
|
|
266
|
+
"concreteType": "Money",
|
|
267
|
+
"kind": "LinkedField",
|
|
268
|
+
"name": "price",
|
|
269
|
+
"plural": false,
|
|
270
|
+
"selections": [v6 /*: any*/],
|
|
271
|
+
"storageKey": null
|
|
272
|
+
}],
|
|
273
|
+
"storageKey": null
|
|
274
|
+
}],
|
|
275
|
+
"type": "FontStyle",
|
|
276
|
+
"abstractKey": null
|
|
277
|
+
}],
|
|
278
|
+
"storageKey": null
|
|
279
|
+
}]
|
|
280
|
+
},
|
|
281
|
+
"params": {
|
|
282
|
+
"cacheID": "ea96c07d009b68aded0551cd9873e063",
|
|
283
|
+
"id": null,
|
|
284
|
+
"metadata": {},
|
|
285
|
+
"name": "TypeTesterStandaloneChangedStylesQuery",
|
|
286
|
+
"operationKind": "query",
|
|
287
|
+
"text": "query TypeTesterStandaloneChangedStylesQuery(\n $id: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $id) {\n __typename\n ... on FontStyle {\n id\n ...TypeTester_fontStyle_4sncub\n }\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\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_4sncub on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_4sncub\n ...SKUPrice_sku_4sncub\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
}();
|
|
291
|
+
node.hash = "98374227c6b2c3eceab5b48138e1a662";
|
|
292
|
+
var _default = node;
|
|
293
|
+
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<89cea2967697d6a566efde1985ad2c9e>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -122,44 +122,6 @@ const node = function () {
|
|
|
122
122
|
"kind": "ScalarField",
|
|
123
123
|
"name": "amount",
|
|
124
124
|
"storageKey": null
|
|
125
|
-
},
|
|
126
|
-
v13 = {
|
|
127
|
-
"alias": null,
|
|
128
|
-
"args": null,
|
|
129
|
-
"concreteType": "Sku",
|
|
130
|
-
"kind": "LinkedField",
|
|
131
|
-
"name": "sku",
|
|
132
|
-
"plural": false,
|
|
133
|
-
"selections": [v4 /*: any*/, {
|
|
134
|
-
"alias": null,
|
|
135
|
-
"args": [{
|
|
136
|
-
"kind": "Literal",
|
|
137
|
-
"name": "licenseOptions",
|
|
138
|
-
"value": [] /*: any*/
|
|
139
|
-
}],
|
|
140
|
-
"concreteType": "Money",
|
|
141
|
-
"kind": "LinkedField",
|
|
142
|
-
"name": "price",
|
|
143
|
-
"plural": false,
|
|
144
|
-
"selections": [v12 /*: any*/, {
|
|
145
|
-
"alias": null,
|
|
146
|
-
"args": null,
|
|
147
|
-
"kind": "ScalarField",
|
|
148
|
-
"name": "currency",
|
|
149
|
-
"storageKey": null
|
|
150
|
-
}],
|
|
151
|
-
"storageKey": "price(licenseOptions:[])"
|
|
152
|
-
}, {
|
|
153
|
-
"alias": "basePrice",
|
|
154
|
-
"args": null,
|
|
155
|
-
"concreteType": "Money",
|
|
156
|
-
"kind": "LinkedField",
|
|
157
|
-
"name": "price",
|
|
158
|
-
"plural": false,
|
|
159
|
-
"selections": [v12 /*: any*/],
|
|
160
|
-
"storageKey": null
|
|
161
|
-
}],
|
|
162
|
-
"storageKey": null
|
|
163
125
|
};
|
|
164
126
|
return {
|
|
165
127
|
"fragment": {
|
|
@@ -362,14 +324,46 @@ const node = function () {
|
|
|
362
324
|
"kind": "ScalarField",
|
|
363
325
|
"name": "cssFamily",
|
|
364
326
|
"storageKey": null
|
|
365
|
-
},
|
|
327
|
+
}, {
|
|
366
328
|
"alias": null,
|
|
367
329
|
"args": null,
|
|
368
|
-
"concreteType": "
|
|
330
|
+
"concreteType": "Sku",
|
|
369
331
|
"kind": "LinkedField",
|
|
370
|
-
"name": "
|
|
371
|
-
"plural":
|
|
372
|
-
"selections": [
|
|
332
|
+
"name": "sku",
|
|
333
|
+
"plural": false,
|
|
334
|
+
"selections": [v4 /*: any*/, {
|
|
335
|
+
"alias": null,
|
|
336
|
+
"args": [{
|
|
337
|
+
"kind": "Literal",
|
|
338
|
+
"name": "licenseOptions",
|
|
339
|
+
"value": []
|
|
340
|
+
}, {
|
|
341
|
+
"kind": "Literal",
|
|
342
|
+
"name": "orderVariables",
|
|
343
|
+
"value": []
|
|
344
|
+
}],
|
|
345
|
+
"concreteType": "Money",
|
|
346
|
+
"kind": "LinkedField",
|
|
347
|
+
"name": "price",
|
|
348
|
+
"plural": false,
|
|
349
|
+
"selections": [v12 /*: any*/, {
|
|
350
|
+
"alias": null,
|
|
351
|
+
"args": null,
|
|
352
|
+
"kind": "ScalarField",
|
|
353
|
+
"name": "currency",
|
|
354
|
+
"storageKey": null
|
|
355
|
+
}],
|
|
356
|
+
"storageKey": "price(licenseOptions:[],orderVariables:[])"
|
|
357
|
+
}, {
|
|
358
|
+
"alias": "basePrice",
|
|
359
|
+
"args": null,
|
|
360
|
+
"concreteType": "Money",
|
|
361
|
+
"kind": "LinkedField",
|
|
362
|
+
"name": "price",
|
|
363
|
+
"plural": false,
|
|
364
|
+
"selections": [v12 /*: any*/],
|
|
365
|
+
"storageKey": null
|
|
366
|
+
}],
|
|
373
367
|
"storageKey": null
|
|
374
368
|
}],
|
|
375
369
|
"storageKey": null
|
|
@@ -378,12 +372,12 @@ const node = function () {
|
|
|
378
372
|
}]
|
|
379
373
|
},
|
|
380
374
|
"params": {
|
|
381
|
-
"cacheID": "
|
|
375
|
+
"cacheID": "3971b93a56f35270419864a144d0b347",
|
|
382
376
|
"id": null,
|
|
383
377
|
"metadata": {},
|
|
384
378
|
"name": "TypeTesterStandaloneQuery",
|
|
385
379
|
"operationKind": "query",
|
|
386
|
-
"text": "query TypeTesterStandaloneQuery(\n $familyName: String!\n $styleName: String!\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTester_viewer_4g9a6U\n fontStyle(familyName: $familyName, styleName: $styleName) {\n ...TypeTester_fontStyle\n id\n family {\n id\n parent {\n id\n }\n }\n }\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
|
|
380
|
+
"text": "query TypeTesterStandaloneQuery(\n $familyName: String!\n $styleName: String!\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTester_viewer_4g9a6U\n fontStyle(familyName: $familyName, styleName: $styleName) {\n ...TypeTester_fontStyle\n id\n family {\n id\n parent {\n id\n }\n }\n }\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_3BtHDv on Sku {\n id\n price(licenseOptions: [], orderVariables: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_3BtHDv on Sku {\n id\n ...SKUPrice_sku_3BtHDv\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer_4g9a6U on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) @include(if: $selectable) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_3BtHDv\n ...SKUPrice_sku_3BtHDv\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTester_viewer_4g9a6U on Viewer {\n ...TypeTesterStyleSelectData_viewer_4g9a6U\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
387
381
|
}
|
|
388
382
|
};
|
|
389
383
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<8f1dd666707073dbac709ca017125b40>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -22,7 +22,7 @@ export type TypeTesterStyleSelectData_viewer$data = {
|
|
|
22
22
|
}>;
|
|
23
23
|
readonly name: string;
|
|
24
24
|
}> | null;
|
|
25
|
-
}
|
|
25
|
+
}>;
|
|
26
26
|
readonly id: string;
|
|
27
27
|
readonly isVariableFont: boolean;
|
|
28
28
|
readonly name: string;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<8f1dd666707073dbac709ca017125b40>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -31,7 +31,7 @@ const node = function () {
|
|
|
31
31
|
};
|
|
32
32
|
return {
|
|
33
33
|
"argumentDefinitions": [{
|
|
34
|
-
"defaultValue":
|
|
34
|
+
"defaultValue": true,
|
|
35
35
|
"kind": "LocalArgument",
|
|
36
36
|
"name": "selectable"
|
|
37
37
|
}],
|
|
@@ -146,6 +146,6 @@ const node = function () {
|
|
|
146
146
|
"abstractKey": null
|
|
147
147
|
};
|
|
148
148
|
}();
|
|
149
|
-
node.hash = "
|
|
149
|
+
node.hash = "1358148ad95a34299279a025b991e467";
|
|
150
150
|
var _default = node;
|
|
151
151
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<d4804c04ff39f0c965924befd0065051>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,15 +9,6 @@ export type TypeTester_fontStyle$data = {
|
|
|
9
9
|
readonly family: {
|
|
10
10
|
readonly cssUrl: string | null;
|
|
11
11
|
} | null;
|
|
12
|
-
readonly fontCollections: ReadonlyArray<{
|
|
13
|
-
readonly sku: {
|
|
14
|
-
readonly basePrice: {
|
|
15
|
-
readonly amount: number;
|
|
16
|
-
};
|
|
17
|
-
readonly id: string;
|
|
18
|
-
readonly " $fragmentSpreads": FragmentRefs<"SKUPrice_sku" | "SelectButton_sku">;
|
|
19
|
-
} | null;
|
|
20
|
-
} | null> | null;
|
|
21
12
|
readonly id: string;
|
|
22
13
|
readonly sku: {
|
|
23
14
|
readonly basePrice: {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<d4804c04ff39f0c965924befd0065051>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -22,41 +22,25 @@ const node = function () {
|
|
|
22
22
|
"name": "id",
|
|
23
23
|
"storageKey": null
|
|
24
24
|
},
|
|
25
|
-
v1 = {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"kind": "FragmentSpread",
|
|
35
|
-
"name": "SelectButton_sku"
|
|
36
|
-
}, {
|
|
37
|
-
"args": null,
|
|
38
|
-
"kind": "FragmentSpread",
|
|
39
|
-
"name": "SKUPrice_sku"
|
|
40
|
-
}, v0 /*: any*/, {
|
|
41
|
-
"alias": "basePrice",
|
|
42
|
-
"args": null,
|
|
43
|
-
"concreteType": "Money",
|
|
44
|
-
"kind": "LinkedField",
|
|
45
|
-
"name": "price",
|
|
46
|
-
"plural": false,
|
|
47
|
-
"selections": [{
|
|
48
|
-
"alias": null,
|
|
49
|
-
"args": null,
|
|
50
|
-
"kind": "ScalarField",
|
|
51
|
-
"name": "amount",
|
|
52
|
-
"storageKey": null
|
|
53
|
-
}],
|
|
54
|
-
"storageKey": null
|
|
55
|
-
}],
|
|
56
|
-
"storageKey": null
|
|
57
|
-
};
|
|
25
|
+
v1 = [{
|
|
26
|
+
"kind": "Variable",
|
|
27
|
+
"name": "licenseOptions",
|
|
28
|
+
"variableName": "licenseOptions"
|
|
29
|
+
}, {
|
|
30
|
+
"kind": "Variable",
|
|
31
|
+
"name": "orderVariables",
|
|
32
|
+
"variableName": "orderVariables"
|
|
33
|
+
}];
|
|
58
34
|
return {
|
|
59
|
-
"argumentDefinitions": [
|
|
35
|
+
"argumentDefinitions": [{
|
|
36
|
+
"defaultValue": [],
|
|
37
|
+
"kind": "LocalArgument",
|
|
38
|
+
"name": "licenseOptions"
|
|
39
|
+
}, {
|
|
40
|
+
"defaultValue": [],
|
|
41
|
+
"kind": "LocalArgument",
|
|
42
|
+
"name": "orderVariables"
|
|
43
|
+
}],
|
|
60
44
|
"kind": "Fragment",
|
|
61
45
|
"metadata": null,
|
|
62
46
|
"name": "TypeTester_fontStyle",
|
|
@@ -95,20 +79,43 @@ const node = function () {
|
|
|
95
79
|
"storageKey": null
|
|
96
80
|
}],
|
|
97
81
|
"storageKey": null
|
|
98
|
-
},
|
|
82
|
+
}, {
|
|
99
83
|
"alias": null,
|
|
100
84
|
"args": null,
|
|
101
|
-
"concreteType": "
|
|
85
|
+
"concreteType": "Sku",
|
|
102
86
|
"kind": "LinkedField",
|
|
103
|
-
"name": "
|
|
104
|
-
"plural":
|
|
105
|
-
"selections": [
|
|
87
|
+
"name": "sku",
|
|
88
|
+
"plural": false,
|
|
89
|
+
"selections": [{
|
|
90
|
+
"args": v1 /*: any*/,
|
|
91
|
+
"kind": "FragmentSpread",
|
|
92
|
+
"name": "SelectButton_sku"
|
|
93
|
+
}, {
|
|
94
|
+
"args": v1 /*: any*/,
|
|
95
|
+
"kind": "FragmentSpread",
|
|
96
|
+
"name": "SKUPrice_sku"
|
|
97
|
+
}, v0 /*: any*/, {
|
|
98
|
+
"alias": "basePrice",
|
|
99
|
+
"args": null,
|
|
100
|
+
"concreteType": "Money",
|
|
101
|
+
"kind": "LinkedField",
|
|
102
|
+
"name": "price",
|
|
103
|
+
"plural": false,
|
|
104
|
+
"selections": [{
|
|
105
|
+
"alias": null,
|
|
106
|
+
"args": null,
|
|
107
|
+
"kind": "ScalarField",
|
|
108
|
+
"name": "amount",
|
|
109
|
+
"storageKey": null
|
|
110
|
+
}],
|
|
111
|
+
"storageKey": null
|
|
112
|
+
}],
|
|
106
113
|
"storageKey": null
|
|
107
114
|
}],
|
|
108
115
|
"type": "FontStyle",
|
|
109
116
|
"abstractKey": null
|
|
110
117
|
};
|
|
111
118
|
}();
|
|
112
|
-
node.hash = "
|
|
119
|
+
node.hash = "aa93e79e779011b33066d07dcd52c7b9";
|
|
113
120
|
var _default = node;
|
|
114
121
|
exports.default = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<2be1ef2d6646d48d7a4be82807309db9>>
|
|
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 TypeTestersChangedStylesQuery$variables = {
|
|
17
|
+
ids: ReadonlyArray<string>;
|
|
18
|
+
licenseOptions: ReadonlyArray<LicenseOptionsSpec | null>;
|
|
19
|
+
orderVariables?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
20
|
+
};
|
|
21
|
+
export type TypeTestersChangedStylesQuery$data = {
|
|
22
|
+
readonly nodes: ReadonlyArray<{
|
|
23
|
+
readonly id?: string;
|
|
24
|
+
readonly " $fragmentSpreads": FragmentRefs<"TypeTester_fontStyle">;
|
|
25
|
+
} | null> | null;
|
|
26
|
+
};
|
|
27
|
+
export type TypeTestersChangedStylesQuery = {
|
|
28
|
+
response: TypeTestersChangedStylesQuery$data;
|
|
29
|
+
variables: TypeTestersChangedStylesQuery$variables;
|
|
30
|
+
};
|
|
31
|
+
declare const node: ConcreteRequest;
|
|
32
|
+
export default node;
|