MCPcopy Create free account

hub / github.com/BuilderIO/nextjs-shopify / functions

Functions136 in github.com/BuilderIO/nextjs-shopify

↓ 8 callersFunctionprefixProperties
* Input: `{ opacity: 0 }` * Output: `{ 'overlay__opacity': 0 }`
components/modals/index.tsx:41
↓ 5 callersFunctiongetCollection
( config: ShopifyBuy.Config, options: { id?: string; handle?: string } )
lib/shopify/storefront-data-hooks/src/api/operations.ts:49
↓ 5 callersFunctiongetProduct
( config: ShopifyBuy.Config, options: { id?: string; handle?: string } )
lib/shopify/storefront-data-hooks/src/api/operations.ts:20
↓ 4 callersFunctionfastClone
(obj: any)
lib/shopify/storefront-data-hooks/src/api/operations.ts:3
↓ 4 callersFunctiongetPrice
(price: string, currency: string)
lib/shopify/storefront-data-hooks/src/utils/product.ts:54
↓ 4 callersFunctionresolveBuilderContent
( modelName: string, locale = 'en-US', targetingAttributes?: Record<string, any> )
lib/resolve-builder-content.ts:10
↓ 4 callersFunctionuseUI
()
components/common/context.tsx:53
↓ 3 callersFunctiongetLayoutProps
(targetingAttributes?: any)
lib/get-layout-props.ts:3
↓ 3 callersFunctiongetNewCart
()
lib/shopify/storefront-data-hooks/src/CommerceProvider.tsx:32
↓ 2 callersFunctiongetLineItem
(variantId: string | number)
lib/shopify/storefront-data-hooks/src/hooks/useGetLineItem.ts:6
↓ 2 callersFunctionincreaseQuantity
(n = 1)
components/cart/CartItem/CartItem.tsx:41
↓ 2 callersFunctionopenSidebar
()
components/common/context.tsx:37
↓ 2 callersFunctionremovePropertyPrefixes
* Input: `{ 'overlay__opacity': 0, other: 'stuff' }` * Output: `{ opacity: 0 }`
components/modals/index.tsx:62
↓ 2 callersFunctionupdateQuantity
(quantity: number)
components/cart/CartItem/CartItem.tsx:24
↓ 2 callersFunctionuseAddItemToCart
()
lib/shopify/storefront-data-hooks/src/hooks/useAddItemToCart.ts:4
↓ 2 callersFunctionuseCart
()
lib/shopify/storefront-data-hooks/src/hooks/useCart.ts:4
↓ 2 callersFunctionuseGetLineItem
()
lib/shopify/storefront-data-hooks/src/hooks/useGetLineItem.ts:3
↓ 1 callersFunctionaddItemsToCart
(items: LineItemPatch[])
lib/shopify/storefront-data-hooks/src/hooks/useAddItemsToCart.ts:9
↓ 1 callersFunctionextractABTestingStyles
(body: string)
pages/_document.tsx:25
↓ 1 callersFunctionfetchCollection
()
blocks/ProductGrid/ProductGrid.tsx:57
↓ 1 callersFunctionfetchCollection
()
blocks/CollectionView/CollectionView.tsx:30
↓ 1 callersFunctionfetchContent
()
components/cart/CartSidebarView/CartSidebarView.tsx:23
↓ 1 callersFunctionfetchContent
()
components/common/Navbar.tsx:20
↓ 1 callersFunctionfetchProduct
()
blocks/ProductView/ProductLoader.tsx:24
↓ 1 callersFunctionget
(key: string)
lib/shopify/storefront-data-hooks/src/utils/LocalStorage/LocalStorage.ts:16
↓ 1 callersFunctiongetAllCollectionPaths
( config: ShopifyBuy.Config, limit?: number )
lib/shopify/storefront-data-hooks/src/api/operations.ts:39
↓ 1 callersFunctiongetAllProductPaths
( config: ShopifyBuy.Config, limit?: number )
lib/shopify/storefront-data-hooks/src/api/operations.ts:10
↓ 1 callersFunctiongetProducts
(searchTerm: string)
components/common/Searchbar.tsx:94
↓ 1 callersFunctiongetProducts
()
blocks/ProductGrid/ProductGrid.tsx:40
↓ 1 callersFunctionhasParent
(element, root)
lib/click-outside/has-parent.js:3
↓ 1 callersFunctionisCart
(potentialCart: any)
lib/shopify/storefront-data-hooks/src/utils/types/isCart.ts:4
↓ 1 callersFunctiononClick
(event: React.SyntheticEvent)
components/modals/index.tsx:215
↓ 1 callersFunctionprepareVariantsImages
( variants: any[], // variants: Readonly<GatsbyTypes.ShopifyProductVariant[]>, optionKey: any )
lib/shopify/storefront-data-hooks/src/utils/product.ts:90
↓ 1 callersFunctionprepareVariantsWithOptions
( variants: any[] // variants: Readonly<ShopifyBuy.ProductVariant[]> )
lib/shopify/storefront-data-hooks/src/utils/product.ts:31
↓ 1 callersFunctionrefreshExistingCart
(cartId: string)
lib/shopify/storefront-data-hooks/src/CommerceProvider.tsx:37
↓ 1 callersFunctionremoveItemsFromCart
(variantIds: string[])
lib/shopify/storefront-data-hooks/src/hooks/useRemoveItemsFromCart.ts:9
↓ 1 callersFunctionsearchProducts
( config: ShopifyBuy.Config, searchString: string )
lib/shopify/storefront-data-hooks/src/api/operations.ts:63
↓ 1 callersFunctionuseAcceptCookies
()
lib/hooks/useAcceptCookies.ts:6
↓ 1 callersFunctionuseAddItemsToCart
()
lib/shopify/storefront-data-hooks/src/hooks/useAddItemsToCart.ts:6
↓ 1 callersFunctionuseCartItems
()
lib/shopify/storefront-data-hooks/src/hooks/useCartItems.ts:4
↓ 1 callersFunctionuseCheckoutUrl
()
lib/shopify/storefront-data-hooks/src/hooks/useCheckoutUrl.ts:4
↓ 1 callersFunctionuseRemoveItemFromCart
()
lib/shopify/storefront-data-hooks/src/hooks/useRemoveItemFromCart.ts:3
↓ 1 callersFunctionuseRemoveItemsFromCart
()
lib/shopify/storefront-data-hooks/src/hooks/useRemoveItemsFromCart.ts:5
↓ 1 callersFunctionuseUpdateItemQuantity
()
lib/shopify/storefront-data-hooks/src/hooks/useUpdateItemQuantity.ts:6
FunctionArrowLeft
({ ...props })
components/icons/ArrowLeft.tsx:1
FunctionBag
({ ...props })
components/icons/Bag.tsx:1
FunctionBaseModal
({ isOpen, onDismiss, children, dangerouslyBypassFocusLock, overlayProps: { style: overlayStyle
components/modals/index.tsx:107
FunctionCart
()
pages/cart.tsx:2
FunctionCartItem
({ item, currencyCode, }: { item: /*ShopifyBuy.LineItem todo: check if updated types*/ any currencyCod
components/cart/CartItem/CartItem.tsx:13
FunctionCartSidebarView
()
components/cart/CartSidebarView/CartSidebarView.tsx:12
FunctionCenterModal
({ overlayProps, contentProps, ...props }: BaseModalProps)
components/modals/index.tsx:229
FunctionCheck
({ ...props })
components/icons/Check.tsx:1
FunctionChevronUp
({ ...props })
components/icons/ChevronUp.tsx:1
FunctionClickOutside
({ active = true, onClick, children, }: ClickOutsideProps)
lib/click-outside/click-outside.tsx:10
FunctionCollectionBox
(props)
lib/resolve-builder-content.ts:51
FunctionCollectionPreview
({ collection: initialCollection, productGridOptions, renderSeo, })
blocks/CollectionView/CollectionView.tsx:19
FunctionCommerceProvider
({ storefrontAccessToken, domain, children, }: CommerceProviderProps)
lib/shopify/storefront-data-hooks/src/CommerceProvider.tsx:10
FunctionCross
({ ...props })
components/icons/Cross.tsx:1
FunctionCustomDotGroup
({ images, onThumbnailClick, ...imageProps })
components/common/LazyImageCarousel.tsx:16
FunctionDoubleChevron
({ ...props })
components/icons/DoubleChevron.tsx:1
FunctionExpandModal
({ overlayProps, contentProps, x = 50, y = 50, ...props }: ExpandModalProps)
components/modals/index.tsx:254
FunctionFeatureBar
({ title, description, action, hide, delay, })
components/common/FeatureBar.tsx:16
FunctionGithub
({ ...props })
components/icons/Github.tsx:1
FunctionHandle
({ collection, page, }: InferGetStaticPropsType<typeof getStaticProps>)
pages/collection/[handle].tsx:54
FunctionHandle
({ product, page, }: InferGetStaticPropsType<typeof getStaticProps>)
pages/product/[handle].tsx:55
FunctionHead
(props)
components/common/Head.tsx:5
FunctionHeart
({ ...props })
components/icons/Heart.tsx:1
FunctionImageCarousel
({ images, onThumbnailClick, showZoom, currentSlide, ...imageProps })
components/common/LazyImageCarousel.tsx:71
FunctionImageCarousel
({ images, onThumbnailClick, showZoom, currentSlide, ...imageProps })
components/common/ImageCarousel.tsx:15
FunctionInfo
({ ...props })
components/icons/Info.tsx:1
FunctionInnerLayout
({ themeName, children, colorOverrides })
components/common/Layout.tsx:66
FunctionLayout
({ children, pageProps, })
components/common/Layout.tsx:24
FunctionLink
({ children, as, ...props })
components/common/Link.tsx:4
FunctionManagedUIContext
({ children, siteSettings })
components/common/context.tsx:64
FunctionMinus
({ ...props })
components/icons/Minus.tsx:1
FunctionModalCloseTarget
({ children }: ModalCloseTargetProps)
components/modals/index.tsx:209
FunctionModalTitle
({ as: Component = 'h1', id, ...props }: ModalTitleProps)
components/modals/index.tsx:197
FunctionMoon
({ ...props })
components/icons/Moon.tsx:1
FunctionMyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:41
FunctionNavbar
()
components/common/Navbar.tsx:13
FunctionNoSSR
({ children, skeleton })
components/common/NoSSR.tsx:6
FunctionNoop
({ children })
pages/_app.tsx:37
FunctionOptionPicker
({ name, options, onChange, selected, })
components/common/OptionPicker.tsx:12
FunctionPath
({ page, locale, }: InferGetStaticPropsType<typeof getStaticProps>)
pages/[[...path]].tsx:57
FunctionPlus
({ ...props })
components/icons/Plus.tsx:1
FunctionProductBox
(props)
lib/resolve-builder-content.ts:62
FunctionProductBox
({ product, renderSeo, description = product.description, title = product.title, })
blocks/ProductView/ProductView.tsx:27
FunctionProductCard
({ product, imgWidth, imgHeight, imgPriority, imgLoading, imgSizes, imgLayout = 'responsive', })
components/common/ProductCard.tsx:21
FunctionProductCardDemo
({ product, imgWidth, imgHeight, imgPriority, imgLoading, imgSizes, imgLayout = 'responsive', })
components/common/ProductCardDemo.tsx:22
FunctionProductCollectionGrid
({ collection })
lib/resolve-builder-content.ts:74
FunctionProductGrid
(props)
lib/resolve-builder-content.ts:33
FunctionProductGrid
({ products: initialProducts, collection, productsList, offset = 0, limit = 10, cardProps, highl
blocks/ProductGrid/ProductGrid.tsx:27
FunctionProductLoader
({ product: initialProduct, children, })
blocks/ProductView/ProductLoader.tsx:14
FunctionProductView
({ product, ...props })
blocks/ProductView/ProductView.tsx:191
FunctionRightArrow
({ ...props })
components/icons/RightArrow.tsx:1
FunctionSearchModalContent
(props: { initialSearch?: string onSearch: (term: string) => any })
components/common/Searchbar.tsx:85
FunctionSearchbar
()
components/common/Searchbar.tsx:18
FunctionSidebar
({ children, open = false, onClose, })
components/common/Sidebar.tsx:14
FunctionSun
({ ...props })
components/icons/Sun.tsx:1
FunctionThumbnail
({ src, onClick, onHover, name, width, height, })
components/common/Thumbnail.tsx:15
next →1–100 of 136, ranked by callers