@fayz-ai/storefront 0.9.0 → 0.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/README.md +3 -3
- package/dist/app/createStorefrontApp.d.ts +65 -0
- package/dist/app/createStorefrontApp.d.ts.map +1 -0
- package/dist/{define.d.ts → app/define.d.ts} +3 -3
- package/dist/app/define.d.ts.map +1 -0
- package/dist/app/hydration.d.ts +37 -0
- package/dist/app/hydration.d.ts.map +1 -0
- package/dist/app/prerender.d.ts +57 -0
- package/dist/app/prerender.d.ts.map +1 -0
- package/dist/{router.d.ts → app/router.d.ts} +140 -113
- package/dist/app/router.d.ts.map +1 -0
- package/dist/{scaffold.d.ts → app/scaffold.d.ts} +2 -2
- package/dist/app/scaffold.d.ts.map +1 -0
- package/dist/app/serving.d.ts +70 -0
- package/dist/app/serving.d.ts.map +1 -0
- package/dist/app/static-render.d.ts +46 -0
- package/dist/app/static-render.d.ts.map +1 -0
- package/dist/blocks/block-at-path.d.ts +59 -0
- package/dist/blocks/block-at-path.d.ts.map +1 -0
- package/dist/blocks/page-blocks.d.ts +163 -0
- package/dist/blocks/page-blocks.d.ts.map +1 -0
- package/dist/blocks/page-data.d.ts +105 -0
- package/dist/blocks/page-data.d.ts.map +1 -0
- package/dist/{blocks.d.ts → blocks/registry.d.ts} +1 -1
- package/dist/blocks/registry.d.ts.map +1 -0
- package/dist/{sections.d.ts → blocks/sections.d.ts} +40 -2
- package/dist/blocks/sections.d.ts.map +1 -0
- package/dist/chunk-6IXTENLB.js +162 -0
- package/dist/chunk-6IXTENLB.js.map +1 -0
- package/dist/chunk-SX3J3QIT.js +11046 -0
- package/dist/chunk-SX3J3QIT.js.map +1 -0
- package/dist/components/PaymentTerms.d.ts +34 -0
- package/dist/components/PaymentTerms.d.ts.map +1 -0
- package/dist/components/Skeleton.d.ts +17 -0
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/SmoothImage.d.ts +1 -1
- package/dist/components/SmoothImage.d.ts.map +1 -1
- package/dist/components/account/CustomerAccountShell.d.ts +17 -0
- package/dist/components/account/CustomerAccountShell.d.ts.map +1 -0
- package/dist/components/account/SignInModal.d.ts.map +1 -0
- package/dist/components/account/section.d.ts +15 -0
- package/dist/components/account/section.d.ts.map +1 -0
- package/dist/components/cart/CartDrawer.d.ts.map +1 -0
- package/dist/components/cart/QuantityInput.d.ts.map +1 -0
- package/dist/components/checkout/CheckoutPayment.d.ts +17 -0
- package/dist/components/checkout/CheckoutPayment.d.ts.map +1 -0
- package/dist/components/checkout/CheckoutSteps.d.ts +9 -0
- package/dist/components/checkout/CheckoutSteps.d.ts.map +1 -0
- package/dist/components/checkout/DeliveryEstimator.d.ts.map +1 -0
- package/dist/components/collection/CategoryShowcase.d.ts +44 -0
- package/dist/components/collection/CategoryShowcase.d.ts.map +1 -0
- package/dist/components/collection/FiltersPanel.d.ts +19 -0
- package/dist/components/collection/FiltersPanel.d.ts.map +1 -0
- package/dist/components/collection/ProductGrid.d.ts.map +1 -0
- package/dist/components/layout/PageBodyBlocks.d.ts +40 -0
- package/dist/components/layout/PageBodyBlocks.d.ts.map +1 -0
- package/dist/components/layout/SearchOverlay.d.ts +13 -0
- package/dist/components/layout/SearchOverlay.d.ts.map +1 -0
- package/dist/components/layout/StorefrontErrorBoundary.d.ts.map +1 -0
- package/dist/components/layout/StorefrontFooter.d.ts.map +1 -0
- package/dist/components/layout/StorefrontHeader.d.ts.map +1 -0
- package/dist/components/layout/Toaster.d.ts.map +1 -0
- package/dist/components/marketing/CollectionSections.d.ts +463 -0
- package/dist/components/marketing/CollectionSections.d.ts.map +1 -0
- package/dist/components/marketing/ConversionSections.d.ts +221 -0
- package/dist/components/marketing/ConversionSections.d.ts.map +1 -0
- package/dist/components/marketing/EditorialSections.d.ts +248 -0
- package/dist/components/marketing/EditorialSections.d.ts.map +1 -0
- package/dist/components/marketing/EntityList.d.ts +97 -0
- package/dist/components/marketing/EntityList.d.ts.map +1 -0
- package/dist/components/marketing/FormBlock.d.ts +167 -0
- package/dist/components/marketing/FormBlock.d.ts.map +1 -0
- package/dist/components/marketing/HeroSection.d.ts +125 -0
- package/dist/components/marketing/HeroSection.d.ts.map +1 -0
- package/dist/components/marketing/MediaCarousel.d.ts +135 -0
- package/dist/components/marketing/MediaCarousel.d.ts.map +1 -0
- package/dist/components/marketing/MiscSections.d.ts +252 -0
- package/dist/components/marketing/MiscSections.d.ts.map +1 -0
- package/dist/components/order/OrderTrackingTimeline.d.ts.map +1 -0
- package/dist/components/order/SuccessMark.d.ts +10 -0
- package/dist/components/order/SuccessMark.d.ts.map +1 -0
- package/dist/components/product/ProductCard.d.ts +14 -0
- package/dist/components/product/ProductCard.d.ts.map +1 -0
- package/dist/components/product/ProductEnquiryForm.d.ts.map +1 -0
- package/dist/components/product/ProductGallery.d.ts +36 -0
- package/dist/components/product/ProductGallery.d.ts.map +1 -0
- package/dist/components/{ProductOptionSelector.d.ts → product/ProductOptionSelector.d.ts} +1 -1
- package/dist/components/product/ProductOptionSelector.d.ts.map +1 -0
- package/dist/components/product/ProductRail.d.ts +93 -0
- package/dist/components/product/ProductRail.d.ts.map +1 -0
- package/dist/components/product/ProductReviews.d.ts +39 -0
- package/dist/components/product/ProductReviews.d.ts.map +1 -0
- package/dist/components/product/ProductSlider.d.ts +169 -0
- package/dist/components/product/ProductSlider.d.ts.map +1 -0
- package/dist/components/product/ProductSpecs.d.ts.map +1 -0
- package/dist/components/product/RelatedProducts.d.ts.map +1 -0
- package/dist/{auth.d.ts → data/auth.d.ts} +9 -0
- package/dist/data/auth.d.ts.map +1 -0
- package/dist/data/facets.d.ts +39 -0
- package/dist/data/facets.d.ts.map +1 -0
- package/dist/data/loaders.d.ts +52 -0
- package/dist/data/loaders.d.ts.map +1 -0
- package/dist/data/local-orders.d.ts +5 -0
- package/dist/data/local-orders.d.ts.map +1 -0
- package/dist/data/order-status.d.ts.map +1 -0
- package/dist/data/product-options.d.ts +36 -0
- package/dist/data/product-options.d.ts.map +1 -0
- package/dist/data/shipping-items.d.ts +20 -0
- package/dist/data/shipping-items.d.ts.map +1 -0
- package/dist/diagnostics/seo-audit.d.ts +54 -0
- package/dist/diagnostics/seo-audit.d.ts.map +1 -0
- package/dist/diagnostics/seo-audit.js +3 -0
- package/dist/diagnostics/seo-audit.js.map +1 -0
- package/dist/document/change.d.ts +100 -0
- package/dist/document/change.d.ts.map +1 -0
- package/dist/document/config.d.ts +311 -0
- package/dist/document/config.d.ts.map +1 -0
- package/dist/document/describe.d.ts +135 -0
- package/dist/document/describe.d.ts.map +1 -0
- package/dist/document/overlay.d.ts +58 -0
- package/dist/document/overlay.d.ts.map +1 -0
- package/dist/{presets.d.ts → document/presets.d.ts} +2 -2
- package/dist/document/presets.d.ts.map +1 -0
- package/dist/document/render.d.ts +171 -0
- package/dist/document/render.d.ts.map +1 -0
- package/dist/document/round-trip.d.ts +46 -0
- package/dist/document/round-trip.d.ts.map +1 -0
- package/dist/document/sections.d.ts +194 -0
- package/dist/document/sections.d.ts.map +1 -0
- package/dist/document/store-policy.d.ts +29 -0
- package/dist/document/store-policy.d.ts.map +1 -0
- package/dist/document/upgrade.d.ts +112 -0
- package/dist/document/upgrade.d.ts.map +1 -0
- package/dist/document/validate.d.ts +24 -0
- package/dist/document/validate.d.ts.map +1 -0
- package/dist/{component-contracts.d.ts → extend/component-contracts.d.ts} +74 -22
- package/dist/extend/component-contracts.d.ts.map +1 -0
- package/dist/extend/component-override.d.ts +38 -0
- package/dist/extend/component-override.d.ts.map +1 -0
- package/dist/extend/component-selectors.d.ts.map +1 -0
- package/dist/extend/editor-bridge.d.ts +59 -0
- package/dist/extend/editor-bridge.d.ts.map +1 -0
- package/dist/extend/extension-points.d.ts +103 -0
- package/dist/extend/extension-points.d.ts.map +1 -0
- package/dist/extend/slots.d.ts +216 -0
- package/dist/extend/slots.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +25 -6
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-address.d.ts +26 -0
- package/dist/hooks/use-address.d.ts.map +1 -0
- package/dist/hooks/use-cart.d.ts +3 -0
- package/dist/hooks/use-cart.d.ts.map +1 -0
- package/dist/hooks/use-catalog.d.ts +24 -0
- package/dist/hooks/use-catalog.d.ts.map +1 -0
- package/dist/hooks/use-categories.d.ts +19 -0
- package/dist/hooks/use-categories.d.ts.map +1 -0
- package/dist/hooks/use-checkout.d.ts +41 -0
- package/dist/hooks/use-checkout.d.ts.map +1 -0
- package/dist/hooks/use-discount-validator.d.ts +20 -0
- package/dist/hooks/use-discount-validator.d.ts.map +1 -0
- package/dist/hooks/use-enquiry.d.ts +7 -0
- package/dist/hooks/use-enquiry.d.ts.map +1 -0
- package/dist/hooks/{useMyOrders.d.ts → use-my-orders.d.ts} +1 -1
- package/dist/hooks/use-my-orders.d.ts.map +1 -0
- package/dist/hooks/use-order.d.ts +17 -0
- package/dist/hooks/use-order.d.ts.map +1 -0
- package/dist/hooks/use-payment-methods.d.ts +19 -0
- package/dist/hooks/use-payment-methods.d.ts.map +1 -0
- package/dist/hooks/use-policies.d.ts +25 -0
- package/dist/hooks/use-policies.d.ts.map +1 -0
- package/dist/hooks/use-product.d.ts +15 -0
- package/dist/hooks/use-product.d.ts.map +1 -0
- package/dist/hooks/{useProducts.d.ts → use-products.d.ts} +1 -1
- package/dist/hooks/use-products.d.ts.map +1 -0
- package/dist/hooks/use-region.d.ts +15 -0
- package/dist/hooks/use-region.d.ts.map +1 -0
- package/dist/hooks/use-shipping.d.ts +32 -0
- package/dist/hooks/use-shipping.d.ts.map +1 -0
- package/dist/hooks/use-storefront-actions.d.ts +12 -0
- package/dist/hooks/use-storefront-actions.d.ts.map +1 -0
- package/dist/hooks/use-storefront-head.d.ts +19 -0
- package/dist/hooks/use-storefront-head.d.ts.map +1 -0
- package/dist/hooks/use-storefront.d.ts +3 -0
- package/dist/hooks/use-storefront.d.ts.map +1 -0
- package/dist/index.d.ts +124 -54
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1310 -5010
- package/dist/index.js.map +1 -1
- package/dist/lib/errors.d.ts +9 -0
- package/dist/lib/errors.d.ts.map +1 -0
- package/dist/lib/format.d.ts.map +1 -0
- package/dist/lib/motion.d.ts.map +1 -0
- package/dist/lib/seo.d.ts +26 -0
- package/dist/lib/seo.d.ts.map +1 -0
- package/dist/{testids.d.ts → lib/testids.d.ts} +33 -0
- package/dist/lib/testids.d.ts.map +1 -0
- package/dist/{theme.d.ts → lib/theme.d.ts} +41 -3
- package/dist/lib/theme.d.ts.map +1 -0
- package/dist/render.d.ts +5 -0
- package/dist/render.d.ts.map +1 -0
- package/dist/render.js +359 -0
- package/dist/render.js.map +1 -0
- package/dist/stores/cart.store.d.ts +34 -2
- package/dist/stores/cart.store.d.ts.map +1 -1
- package/dist/stores/catalog.store.d.ts +11 -0
- package/dist/stores/catalog.store.d.ts.map +1 -1
- package/dist/stores/delivery.store.d.ts +9 -0
- package/dist/stores/delivery.store.d.ts.map +1 -1
- package/dist/views/CatalogPage.d.ts.map +1 -0
- package/dist/views/CheckoutPage.d.ts.map +1 -0
- package/dist/views/ContentPage.d.ts +11 -0
- package/dist/views/ContentPage.d.ts.map +1 -0
- package/dist/views/HomePage.d.ts +9 -0
- package/dist/views/HomePage.d.ts.map +1 -0
- package/dist/views/MyPurchasesPage.d.ts.map +1 -0
- package/dist/views/NotFoundPage.d.ts.map +1 -0
- package/dist/views/OrderConfirmationPage.d.ts.map +1 -0
- package/dist/{pages → views}/PolicyPage.d.ts.map +1 -1
- package/dist/views/ProductDetailPage.d.ts.map +1 -0
- package/dist/views/StorefrontPage.d.ts +35 -0
- package/dist/views/StorefrontPage.d.ts.map +1 -0
- package/dist/workflows/checkout.d.ts +1 -1
- package/dist/workflows/checkout.d.ts.map +1 -1
- package/package.json +21 -14
- package/dist/auth.d.ts.map +0 -1
- package/dist/blocks.d.ts.map +0 -1
- package/dist/component-contracts.d.ts.map +0 -1
- package/dist/component-selectors.d.ts.map +0 -1
- package/dist/components/CartDrawer.d.ts.map +0 -1
- package/dist/components/CustomerAccountShell.d.ts +0 -13
- package/dist/components/CustomerAccountShell.d.ts.map +0 -1
- package/dist/components/DeliveryEstimator.d.ts.map +0 -1
- package/dist/components/FiltersPanel.d.ts +0 -3
- package/dist/components/FiltersPanel.d.ts.map +0 -1
- package/dist/components/OrderTrackingTimeline.d.ts.map +0 -1
- package/dist/components/ProductCard.d.ts +0 -4
- package/dist/components/ProductCard.d.ts.map +0 -1
- package/dist/components/ProductEnquiryForm.d.ts.map +0 -1
- package/dist/components/ProductGallery.d.ts +0 -22
- package/dist/components/ProductGallery.d.ts.map +0 -1
- package/dist/components/ProductGrid.d.ts.map +0 -1
- package/dist/components/ProductOptionSelector.d.ts.map +0 -1
- package/dist/components/ProductSpecs.d.ts.map +0 -1
- package/dist/components/QuantityInput.d.ts.map +0 -1
- package/dist/components/RelatedProducts.d.ts.map +0 -1
- package/dist/components/SignInModal.d.ts.map +0 -1
- package/dist/components/StorefrontErrorBoundary.d.ts.map +0 -1
- package/dist/components/StorefrontFooter.d.ts.map +0 -1
- package/dist/components/StorefrontHeader.d.ts.map +0 -1
- package/dist/components/Toaster.d.ts.map +0 -1
- package/dist/components/sections/CategoryShowcase.d.ts +0 -6
- package/dist/components/sections/CategoryShowcase.d.ts.map +0 -1
- package/dist/components/sections/HeroSection.d.ts +0 -9
- package/dist/components/sections/HeroSection.d.ts.map +0 -1
- package/dist/components/sections/MediaCarousel.d.ts +0 -11
- package/dist/components/sections/MediaCarousel.d.ts.map +0 -1
- package/dist/components/sections/MiscSections.d.ts +0 -33
- package/dist/components/sections/MiscSections.d.ts.map +0 -1
- package/dist/components/sections/ProductRail.d.ts +0 -9
- package/dist/components/sections/ProductRail.d.ts.map +0 -1
- package/dist/components/sections/ProductSlider.d.ts +0 -15
- package/dist/components/sections/ProductSlider.d.ts.map +0 -1
- package/dist/config.d.ts +0 -174
- package/dist/config.d.ts.map +0 -1
- package/dist/createStorefrontApp.d.ts +0 -28
- package/dist/createStorefrontApp.d.ts.map +0 -1
- package/dist/define.d.ts.map +0 -1
- package/dist/format.d.ts.map +0 -1
- package/dist/hooks/useCategories.d.ts +0 -6
- package/dist/hooks/useCategories.d.ts.map +0 -1
- package/dist/hooks/useDiscountValidator.d.ts +0 -14
- package/dist/hooks/useDiscountValidator.d.ts.map +0 -1
- package/dist/hooks/useMyOrders.d.ts.map +0 -1
- package/dist/hooks/useProduct.d.ts +0 -7
- package/dist/hooks/useProduct.d.ts.map +0 -1
- package/dist/hooks/useProducts.d.ts.map +0 -1
- package/dist/hooks/useStorefront.d.ts +0 -35
- package/dist/hooks/useStorefront.d.ts.map +0 -1
- package/dist/hooks/useStorefrontHead.d.ts +0 -11
- package/dist/hooks/useStorefrontHead.d.ts.map +0 -1
- package/dist/motion.d.ts.map +0 -1
- package/dist/order-status.d.ts.map +0 -1
- package/dist/pages/CatalogPage.d.ts.map +0 -1
- package/dist/pages/CheckoutPage.d.ts.map +0 -1
- package/dist/pages/HomePage.d.ts +0 -9
- package/dist/pages/HomePage.d.ts.map +0 -1
- package/dist/pages/MyPurchasesPage.d.ts.map +0 -1
- package/dist/pages/NotFoundPage.d.ts.map +0 -1
- package/dist/pages/OrderConfirmationPage.d.ts.map +0 -1
- package/dist/pages/ProductDetailPage.d.ts.map +0 -1
- package/dist/presets.d.ts.map +0 -1
- package/dist/product-options.d.ts +0 -12
- package/dist/product-options.d.ts.map +0 -1
- package/dist/router.d.ts.map +0 -1
- package/dist/scaffold.d.ts.map +0 -1
- package/dist/sections.d.ts.map +0 -1
- package/dist/testids.d.ts.map +0 -1
- package/dist/theme.d.ts.map +0 -1
- package/src/auth.ts +0 -227
- package/src/blocks.tsx +0 -51
- package/src/catalog.ts +0 -3
- package/src/component-contracts.ts +0 -154
- package/src/component-selectors.ts +0 -31
- package/src/components/CartDrawer.tsx +0 -279
- package/src/components/CustomerAccountShell.tsx +0 -102
- package/src/components/DeliveryEstimator.tsx +0 -157
- package/src/components/FiltersPanel.tsx +0 -109
- package/src/components/OrderTrackingTimeline.tsx +0 -135
- package/src/components/Price.tsx +0 -32
- package/src/components/ProductCard.tsx +0 -120
- package/src/components/ProductEnquiryForm.tsx +0 -175
- package/src/components/ProductGallery.tsx +0 -174
- package/src/components/ProductGrid.tsx +0 -43
- package/src/components/ProductOptionSelector.tsx +0 -50
- package/src/components/ProductSpecs.tsx +0 -75
- package/src/components/QuantityInput.tsx +0 -52
- package/src/components/RelatedProducts.tsx +0 -40
- package/src/components/SignInModal.tsx +0 -120
- package/src/components/SmoothImage.tsx +0 -59
- package/src/components/StorefrontErrorBoundary.tsx +0 -51
- package/src/components/StorefrontFooter.tsx +0 -110
- package/src/components/StorefrontHeader.tsx +0 -477
- package/src/components/Toaster.tsx +0 -60
- package/src/components/sections/CategoryShowcase.tsx +0 -80
- package/src/components/sections/HeroSection.tsx +0 -193
- package/src/components/sections/MediaCarousel.tsx +0 -141
- package/src/components/sections/MiscSections.tsx +0 -158
- package/src/components/sections/ProductRail.tsx +0 -81
- package/src/components/sections/ProductSlider.tsx +0 -119
- package/src/config.ts +0 -229
- package/src/createStorefrontApp.tsx +0 -247
- package/src/define.ts +0 -34
- package/src/format.ts +0 -7
- package/src/hooks/index.ts +0 -6
- package/src/hooks/useCategories.ts +0 -26
- package/src/hooks/useDiscountValidator.ts +0 -43
- package/src/hooks/useMyOrders.ts +0 -41
- package/src/hooks/useProduct.ts +0 -36
- package/src/hooks/useProducts.ts +0 -39
- package/src/hooks/useStorefront.ts +0 -58
- package/src/hooks/useStorefrontHead.ts +0 -25
- package/src/index.ts +0 -202
- package/src/motion.tsx +0 -94
- package/src/order-status.ts +0 -33
- package/src/pages/CatalogPage.tsx +0 -118
- package/src/pages/CheckoutPage.tsx +0 -689
- package/src/pages/HomePage.tsx +0 -16
- package/src/pages/MyPurchasesPage.tsx +0 -311
- package/src/pages/NotFoundPage.tsx +0 -25
- package/src/pages/OrderConfirmationPage.tsx +0 -190
- package/src/pages/PolicyPage.tsx +0 -47
- package/src/pages/ProductDetailPage.tsx +0 -264
- package/src/presets.ts +0 -324
- package/src/product-options.ts +0 -63
- package/src/router.ts +0 -49
- package/src/scaffold.tsx +0 -115
- package/src/sections.ts +0 -116
- package/src/shop.ts +0 -4
- package/src/stores/cart.store.ts +0 -185
- package/src/stores/catalog.store.ts +0 -39
- package/src/stores/delivery.store.ts +0 -152
- package/src/stores/session.store.ts +0 -28
- package/src/stores/toast.store.ts +0 -43
- package/src/testids.ts +0 -136
- package/src/theme.ts +0 -194
- package/src/ui.ts +0 -5
- package/src/workflows/checkout.ts +0 -119
- /package/dist/components/{SignInModal.d.ts → account/SignInModal.d.ts} +0 -0
- /package/dist/components/{CartDrawer.d.ts → cart/CartDrawer.d.ts} +0 -0
- /package/dist/components/{QuantityInput.d.ts → cart/QuantityInput.d.ts} +0 -0
- /package/dist/components/{DeliveryEstimator.d.ts → checkout/DeliveryEstimator.d.ts} +0 -0
- /package/dist/components/{ProductGrid.d.ts → collection/ProductGrid.d.ts} +0 -0
- /package/dist/components/{StorefrontErrorBoundary.d.ts → layout/StorefrontErrorBoundary.d.ts} +0 -0
- /package/dist/components/{StorefrontFooter.d.ts → layout/StorefrontFooter.d.ts} +0 -0
- /package/dist/components/{StorefrontHeader.d.ts → layout/StorefrontHeader.d.ts} +0 -0
- /package/dist/components/{Toaster.d.ts → layout/Toaster.d.ts} +0 -0
- /package/dist/components/{OrderTrackingTimeline.d.ts → order/OrderTrackingTimeline.d.ts} +0 -0
- /package/dist/components/{ProductEnquiryForm.d.ts → product/ProductEnquiryForm.d.ts} +0 -0
- /package/dist/components/{ProductSpecs.d.ts → product/ProductSpecs.d.ts} +0 -0
- /package/dist/components/{RelatedProducts.d.ts → product/RelatedProducts.d.ts} +0 -0
- /package/dist/{order-status.d.ts → data/order-status.d.ts} +0 -0
- /package/dist/{component-selectors.d.ts → extend/component-selectors.d.ts} +0 -0
- /package/dist/{format.d.ts → lib/format.d.ts} +0 -0
- /package/dist/{motion.d.ts → lib/motion.d.ts} +0 -0
- /package/dist/{pages → views}/CatalogPage.d.ts +0 -0
- /package/dist/{pages → views}/CheckoutPage.d.ts +0 -0
- /package/dist/{pages → views}/MyPurchasesPage.d.ts +0 -0
- /package/dist/{pages → views}/NotFoundPage.d.ts +0 -0
- /package/dist/{pages → views}/OrderConfirmationPage.d.ts +0 -0
- /package/dist/{pages → views}/PolicyPage.d.ts +0 -0
- /package/dist/{pages → views}/ProductDetailPage.d.ts +0 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BlockNode } from '@fayz-ai/core';
|
|
3
|
+
export interface CollectionHeroProps {
|
|
4
|
+
title: string;
|
|
5
|
+
eyebrow?: string;
|
|
6
|
+
tagline?: string;
|
|
7
|
+
/** Background art. Falls back to a gradient derived from `hue`. */
|
|
8
|
+
image?: string;
|
|
9
|
+
imageAlt?: string;
|
|
10
|
+
hue?: number;
|
|
11
|
+
/** Brand lockup marks shown above the title (store logo + collection logo). */
|
|
12
|
+
logos?: Array<{
|
|
13
|
+
src: string;
|
|
14
|
+
alt: string;
|
|
15
|
+
}>;
|
|
16
|
+
cta?: string;
|
|
17
|
+
href?: string;
|
|
18
|
+
/** Collection tag the CTA filters on. Defaults to the page's own slug. */
|
|
19
|
+
collection?: string;
|
|
20
|
+
align?: 'center' | 'start';
|
|
21
|
+
/** Scrim strength over the art. Default 'dark'. */
|
|
22
|
+
overlay?: 'dark' | 'soft' | 'none';
|
|
23
|
+
height?: 'medium' | 'tall';
|
|
24
|
+
}
|
|
25
|
+
export declare function CollectionHero({ title, eyebrow, tagline, image, imageAlt, hue, logos, cta, href, collection, align, overlay, height, }: CollectionHeroProps): React.JSX.Element;
|
|
26
|
+
export declare const collectionHeroBlockMeta: {
|
|
27
|
+
label: string;
|
|
28
|
+
description: string;
|
|
29
|
+
settings: ({
|
|
30
|
+
id: string;
|
|
31
|
+
type: "text";
|
|
32
|
+
label: string;
|
|
33
|
+
required: true;
|
|
34
|
+
help?: undefined;
|
|
35
|
+
min?: undefined;
|
|
36
|
+
max?: undefined;
|
|
37
|
+
default?: undefined;
|
|
38
|
+
of?: undefined;
|
|
39
|
+
options?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
id: string;
|
|
42
|
+
type: "text";
|
|
43
|
+
label: string;
|
|
44
|
+
help: string;
|
|
45
|
+
required?: undefined;
|
|
46
|
+
min?: undefined;
|
|
47
|
+
max?: undefined;
|
|
48
|
+
default?: undefined;
|
|
49
|
+
of?: undefined;
|
|
50
|
+
options?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
id: string;
|
|
53
|
+
type: "image";
|
|
54
|
+
label: string;
|
|
55
|
+
help: string;
|
|
56
|
+
required?: undefined;
|
|
57
|
+
min?: undefined;
|
|
58
|
+
max?: undefined;
|
|
59
|
+
default?: undefined;
|
|
60
|
+
of?: undefined;
|
|
61
|
+
options?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
id: string;
|
|
64
|
+
type: "number";
|
|
65
|
+
label: string;
|
|
66
|
+
help: string;
|
|
67
|
+
min: number;
|
|
68
|
+
max: number;
|
|
69
|
+
default: number;
|
|
70
|
+
required?: undefined;
|
|
71
|
+
of?: undefined;
|
|
72
|
+
options?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
id: string;
|
|
75
|
+
type: "list";
|
|
76
|
+
label: string;
|
|
77
|
+
help: string;
|
|
78
|
+
of: ({
|
|
79
|
+
id: string;
|
|
80
|
+
type: "image";
|
|
81
|
+
label: string;
|
|
82
|
+
required: true;
|
|
83
|
+
} | {
|
|
84
|
+
id: string;
|
|
85
|
+
type: "text";
|
|
86
|
+
label: string;
|
|
87
|
+
required: true;
|
|
88
|
+
})[];
|
|
89
|
+
required?: undefined;
|
|
90
|
+
min?: undefined;
|
|
91
|
+
max?: undefined;
|
|
92
|
+
default?: undefined;
|
|
93
|
+
options?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
id: string;
|
|
96
|
+
type: "url";
|
|
97
|
+
label: string;
|
|
98
|
+
help: string;
|
|
99
|
+
required?: undefined;
|
|
100
|
+
min?: undefined;
|
|
101
|
+
max?: undefined;
|
|
102
|
+
default?: undefined;
|
|
103
|
+
of?: undefined;
|
|
104
|
+
options?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
id: string;
|
|
107
|
+
type: "select";
|
|
108
|
+
label: string;
|
|
109
|
+
options: {
|
|
110
|
+
value: string;
|
|
111
|
+
label: string;
|
|
112
|
+
}[];
|
|
113
|
+
default: string;
|
|
114
|
+
required?: undefined;
|
|
115
|
+
help?: undefined;
|
|
116
|
+
min?: undefined;
|
|
117
|
+
max?: undefined;
|
|
118
|
+
of?: undefined;
|
|
119
|
+
} | {
|
|
120
|
+
id: string;
|
|
121
|
+
type: "select";
|
|
122
|
+
label: string;
|
|
123
|
+
help: string;
|
|
124
|
+
options: {
|
|
125
|
+
value: string;
|
|
126
|
+
label: string;
|
|
127
|
+
}[];
|
|
128
|
+
default: string;
|
|
129
|
+
required?: undefined;
|
|
130
|
+
min?: undefined;
|
|
131
|
+
max?: undefined;
|
|
132
|
+
of?: undefined;
|
|
133
|
+
})[];
|
|
134
|
+
presets: {
|
|
135
|
+
name: string;
|
|
136
|
+
props: {
|
|
137
|
+
eyebrow: string;
|
|
138
|
+
title: string;
|
|
139
|
+
tagline: string;
|
|
140
|
+
cta: string;
|
|
141
|
+
align: string;
|
|
142
|
+
overlay: string;
|
|
143
|
+
height: string;
|
|
144
|
+
};
|
|
145
|
+
}[];
|
|
146
|
+
enabledOn: string[];
|
|
147
|
+
};
|
|
148
|
+
export interface ProductSpotlightProps {
|
|
149
|
+
title: string;
|
|
150
|
+
eyebrow?: string;
|
|
151
|
+
description?: string;
|
|
152
|
+
/** Feature bullets rendered with a check mark. */
|
|
153
|
+
features?: readonly string[];
|
|
154
|
+
image?: string;
|
|
155
|
+
imageAlt?: string;
|
|
156
|
+
hue?: number;
|
|
157
|
+
/** Which side the art sits on. Alternate these down the page. */
|
|
158
|
+
side?: 'left' | 'right';
|
|
159
|
+
/**
|
|
160
|
+
* The product this spotlights, by URL slug. When set, the block resolves the
|
|
161
|
+
* live product to show its price and link straight to the PDP — so a
|
|
162
|
+
* spotlight can never advertise a price the catalog no longer charges, or
|
|
163
|
+
* point at a product that isn't there.
|
|
164
|
+
*/
|
|
165
|
+
productSlug?: string;
|
|
166
|
+
cta?: string;
|
|
167
|
+
href?: string;
|
|
168
|
+
/** Tint behind the art. Defaults to the page's own surface. */
|
|
169
|
+
background?: string;
|
|
170
|
+
/** The block node, when rendered from a tree — carries instance `data` overrides. */
|
|
171
|
+
node?: BlockNode;
|
|
172
|
+
}
|
|
173
|
+
export declare function ProductSpotlight({ title, eyebrow, description, features, image, imageAlt, hue, side, productSlug, cta, href, background, node, }: ProductSpotlightProps): React.JSX.Element;
|
|
174
|
+
export declare const productSpotlightBlockMeta: {
|
|
175
|
+
label: string;
|
|
176
|
+
description: string;
|
|
177
|
+
settings: ({
|
|
178
|
+
id: string;
|
|
179
|
+
type: "text";
|
|
180
|
+
label: string;
|
|
181
|
+
required: true;
|
|
182
|
+
help?: undefined;
|
|
183
|
+
of?: undefined;
|
|
184
|
+
min?: undefined;
|
|
185
|
+
max?: undefined;
|
|
186
|
+
default?: undefined;
|
|
187
|
+
options?: undefined;
|
|
188
|
+
} | {
|
|
189
|
+
id: string;
|
|
190
|
+
type: "text";
|
|
191
|
+
label: string;
|
|
192
|
+
help: string;
|
|
193
|
+
required?: undefined;
|
|
194
|
+
of?: undefined;
|
|
195
|
+
min?: undefined;
|
|
196
|
+
max?: undefined;
|
|
197
|
+
default?: undefined;
|
|
198
|
+
options?: undefined;
|
|
199
|
+
} | {
|
|
200
|
+
id: string;
|
|
201
|
+
type: "richtext";
|
|
202
|
+
label: string;
|
|
203
|
+
help: string;
|
|
204
|
+
required?: undefined;
|
|
205
|
+
of?: undefined;
|
|
206
|
+
min?: undefined;
|
|
207
|
+
max?: undefined;
|
|
208
|
+
default?: undefined;
|
|
209
|
+
options?: undefined;
|
|
210
|
+
} | {
|
|
211
|
+
id: string;
|
|
212
|
+
type: "list";
|
|
213
|
+
label: string;
|
|
214
|
+
help: string;
|
|
215
|
+
of: {
|
|
216
|
+
id: string;
|
|
217
|
+
type: "text";
|
|
218
|
+
label: string;
|
|
219
|
+
required: true;
|
|
220
|
+
}[];
|
|
221
|
+
required?: undefined;
|
|
222
|
+
min?: undefined;
|
|
223
|
+
max?: undefined;
|
|
224
|
+
default?: undefined;
|
|
225
|
+
options?: undefined;
|
|
226
|
+
} | {
|
|
227
|
+
id: string;
|
|
228
|
+
type: "product";
|
|
229
|
+
label: string;
|
|
230
|
+
help: string;
|
|
231
|
+
required?: undefined;
|
|
232
|
+
of?: undefined;
|
|
233
|
+
min?: undefined;
|
|
234
|
+
max?: undefined;
|
|
235
|
+
default?: undefined;
|
|
236
|
+
options?: undefined;
|
|
237
|
+
} | {
|
|
238
|
+
id: string;
|
|
239
|
+
type: "image";
|
|
240
|
+
label: string;
|
|
241
|
+
help: string;
|
|
242
|
+
required?: undefined;
|
|
243
|
+
of?: undefined;
|
|
244
|
+
min?: undefined;
|
|
245
|
+
max?: undefined;
|
|
246
|
+
default?: undefined;
|
|
247
|
+
options?: undefined;
|
|
248
|
+
} | {
|
|
249
|
+
id: string;
|
|
250
|
+
type: "number";
|
|
251
|
+
label: string;
|
|
252
|
+
help: string;
|
|
253
|
+
min: number;
|
|
254
|
+
max: number;
|
|
255
|
+
default: number;
|
|
256
|
+
required?: undefined;
|
|
257
|
+
of?: undefined;
|
|
258
|
+
options?: undefined;
|
|
259
|
+
} | {
|
|
260
|
+
id: string;
|
|
261
|
+
type: "select";
|
|
262
|
+
label: string;
|
|
263
|
+
help: string;
|
|
264
|
+
options: {
|
|
265
|
+
value: string;
|
|
266
|
+
label: string;
|
|
267
|
+
}[];
|
|
268
|
+
default: string;
|
|
269
|
+
required?: undefined;
|
|
270
|
+
of?: undefined;
|
|
271
|
+
min?: undefined;
|
|
272
|
+
max?: undefined;
|
|
273
|
+
} | {
|
|
274
|
+
id: string;
|
|
275
|
+
type: "url";
|
|
276
|
+
label: string;
|
|
277
|
+
help: string;
|
|
278
|
+
required?: undefined;
|
|
279
|
+
of?: undefined;
|
|
280
|
+
min?: undefined;
|
|
281
|
+
max?: undefined;
|
|
282
|
+
default?: undefined;
|
|
283
|
+
options?: undefined;
|
|
284
|
+
} | {
|
|
285
|
+
id: string;
|
|
286
|
+
type: "color";
|
|
287
|
+
label: string;
|
|
288
|
+
help: string;
|
|
289
|
+
required?: undefined;
|
|
290
|
+
of?: undefined;
|
|
291
|
+
min?: undefined;
|
|
292
|
+
max?: undefined;
|
|
293
|
+
default?: undefined;
|
|
294
|
+
options?: undefined;
|
|
295
|
+
})[];
|
|
296
|
+
presets: {
|
|
297
|
+
name: string;
|
|
298
|
+
props: {
|
|
299
|
+
eyebrow: string;
|
|
300
|
+
title: string;
|
|
301
|
+
description: string;
|
|
302
|
+
side: string;
|
|
303
|
+
};
|
|
304
|
+
}[];
|
|
305
|
+
enabledOn: string[];
|
|
306
|
+
data: {
|
|
307
|
+
product: {
|
|
308
|
+
loader: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
export interface MotifStripProps {
|
|
313
|
+
/** Repeated mark — an emoji, or an image URL when `src` is set. */
|
|
314
|
+
symbol?: string;
|
|
315
|
+
src?: string;
|
|
316
|
+
alt?: string;
|
|
317
|
+
/** How many times the mark repeats across the strip. Default 12. */
|
|
318
|
+
count?: number;
|
|
319
|
+
background?: string;
|
|
320
|
+
height?: 'thin' | 'regular';
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* A decorative band between spotlights. Purely ornamental, so the whole strip
|
|
324
|
+
* is hidden from assistive tech rather than read out as a row of symbols.
|
|
325
|
+
*/
|
|
326
|
+
export declare function MotifStrip({ symbol, src, alt, count, background, height, }: MotifStripProps): React.JSX.Element;
|
|
327
|
+
export declare const motifStripBlockMeta: {
|
|
328
|
+
label: string;
|
|
329
|
+
description: string;
|
|
330
|
+
settings: ({
|
|
331
|
+
id: string;
|
|
332
|
+
type: "text";
|
|
333
|
+
label: string;
|
|
334
|
+
help: string;
|
|
335
|
+
default: string;
|
|
336
|
+
min?: undefined;
|
|
337
|
+
max?: undefined;
|
|
338
|
+
options?: undefined;
|
|
339
|
+
} | {
|
|
340
|
+
id: string;
|
|
341
|
+
type: "image";
|
|
342
|
+
label: string;
|
|
343
|
+
help: string;
|
|
344
|
+
default?: undefined;
|
|
345
|
+
min?: undefined;
|
|
346
|
+
max?: undefined;
|
|
347
|
+
options?: undefined;
|
|
348
|
+
} | {
|
|
349
|
+
id: string;
|
|
350
|
+
type: "text";
|
|
351
|
+
label: string;
|
|
352
|
+
help: string;
|
|
353
|
+
default?: undefined;
|
|
354
|
+
min?: undefined;
|
|
355
|
+
max?: undefined;
|
|
356
|
+
options?: undefined;
|
|
357
|
+
} | {
|
|
358
|
+
id: string;
|
|
359
|
+
type: "number";
|
|
360
|
+
label: string;
|
|
361
|
+
help: string;
|
|
362
|
+
min: number;
|
|
363
|
+
max: number;
|
|
364
|
+
default: number;
|
|
365
|
+
options?: undefined;
|
|
366
|
+
} | {
|
|
367
|
+
id: string;
|
|
368
|
+
type: "color";
|
|
369
|
+
label: string;
|
|
370
|
+
help: string;
|
|
371
|
+
default?: undefined;
|
|
372
|
+
min?: undefined;
|
|
373
|
+
max?: undefined;
|
|
374
|
+
options?: undefined;
|
|
375
|
+
} | {
|
|
376
|
+
id: string;
|
|
377
|
+
type: "select";
|
|
378
|
+
label: string;
|
|
379
|
+
options: {
|
|
380
|
+
value: string;
|
|
381
|
+
label: string;
|
|
382
|
+
}[];
|
|
383
|
+
default: string;
|
|
384
|
+
help?: undefined;
|
|
385
|
+
min?: undefined;
|
|
386
|
+
max?: undefined;
|
|
387
|
+
})[];
|
|
388
|
+
presets: {
|
|
389
|
+
name: string;
|
|
390
|
+
props: {
|
|
391
|
+
symbol: string;
|
|
392
|
+
count: number;
|
|
393
|
+
height: string;
|
|
394
|
+
};
|
|
395
|
+
}[];
|
|
396
|
+
enabledOn: string[];
|
|
397
|
+
};
|
|
398
|
+
export interface CollectionCtaProps {
|
|
399
|
+
title: string;
|
|
400
|
+
subtitle?: string;
|
|
401
|
+
eyebrow?: string;
|
|
402
|
+
cta?: string;
|
|
403
|
+
href?: string;
|
|
404
|
+
/** Collection tag the CTA filters on. Defaults to the page's own slug. */
|
|
405
|
+
collection?: string;
|
|
406
|
+
background?: string;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* The closing band. Defaults to this collection's own catalog filter, which is
|
|
410
|
+
* the point of serving the page from the store: the CTA stays inside the same
|
|
411
|
+
* session and cart instead of handing the shopper off to another site.
|
|
412
|
+
*/
|
|
413
|
+
export declare function CollectionCta({ title, subtitle, eyebrow, cta, href, collection, background, }: CollectionCtaProps): React.JSX.Element;
|
|
414
|
+
export declare const collectionCtaBlockMeta: {
|
|
415
|
+
label: string;
|
|
416
|
+
description: string;
|
|
417
|
+
settings: ({
|
|
418
|
+
id: string;
|
|
419
|
+
type: "text";
|
|
420
|
+
label: string;
|
|
421
|
+
required: true;
|
|
422
|
+
help?: undefined;
|
|
423
|
+
default?: undefined;
|
|
424
|
+
} | {
|
|
425
|
+
id: string;
|
|
426
|
+
type: "text";
|
|
427
|
+
label: string;
|
|
428
|
+
help: string;
|
|
429
|
+
required?: undefined;
|
|
430
|
+
default?: undefined;
|
|
431
|
+
} | {
|
|
432
|
+
id: string;
|
|
433
|
+
type: "text";
|
|
434
|
+
label: string;
|
|
435
|
+
default: string;
|
|
436
|
+
required?: undefined;
|
|
437
|
+
help?: undefined;
|
|
438
|
+
} | {
|
|
439
|
+
id: string;
|
|
440
|
+
type: "url";
|
|
441
|
+
label: string;
|
|
442
|
+
help: string;
|
|
443
|
+
required?: undefined;
|
|
444
|
+
default?: undefined;
|
|
445
|
+
} | {
|
|
446
|
+
id: string;
|
|
447
|
+
type: "color";
|
|
448
|
+
label: string;
|
|
449
|
+
help: string;
|
|
450
|
+
required?: undefined;
|
|
451
|
+
default?: undefined;
|
|
452
|
+
})[];
|
|
453
|
+
presets: {
|
|
454
|
+
name: string;
|
|
455
|
+
props: {
|
|
456
|
+
title: string;
|
|
457
|
+
subtitle: string;
|
|
458
|
+
cta: string;
|
|
459
|
+
};
|
|
460
|
+
}[];
|
|
461
|
+
enabledOn: string[];
|
|
462
|
+
};
|
|
463
|
+
//# sourceMappingURL=CollectionSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionSections.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/CollectionSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,eAAe,CAAA;AA0C5D,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+EAA+E;IAC/E,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CAC3B;AAQD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,OAAO,EACP,OAAO,EACP,KAAK,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export interface StepItem {
|
|
3
|
+
/** Lucide icon name in PascalCase; unknown names render no icon. */
|
|
4
|
+
icon?: string;
|
|
5
|
+
title: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function StepsSection({ title, subtitle, items, }: {
|
|
9
|
+
title?: string;
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
items?: StepItem[];
|
|
12
|
+
}): React.JSX.Element | null;
|
|
13
|
+
export declare const stepsBlockMeta: {
|
|
14
|
+
label: string;
|
|
15
|
+
description: string;
|
|
16
|
+
settings: ({
|
|
17
|
+
id: string;
|
|
18
|
+
type: "text";
|
|
19
|
+
label: string;
|
|
20
|
+
default: string;
|
|
21
|
+
required?: undefined;
|
|
22
|
+
help?: undefined;
|
|
23
|
+
of?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
id: string;
|
|
26
|
+
type: "text";
|
|
27
|
+
label: string;
|
|
28
|
+
default?: undefined;
|
|
29
|
+
required?: undefined;
|
|
30
|
+
help?: undefined;
|
|
31
|
+
of?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
id: string;
|
|
34
|
+
type: "list";
|
|
35
|
+
label: string;
|
|
36
|
+
required: true;
|
|
37
|
+
help: string;
|
|
38
|
+
of: ({
|
|
39
|
+
id: string;
|
|
40
|
+
type: "text";
|
|
41
|
+
label: string;
|
|
42
|
+
help: string;
|
|
43
|
+
required?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
id: string;
|
|
46
|
+
type: "text";
|
|
47
|
+
label: string;
|
|
48
|
+
required: true;
|
|
49
|
+
help?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
id: string;
|
|
52
|
+
type: "text";
|
|
53
|
+
label: string;
|
|
54
|
+
help?: undefined;
|
|
55
|
+
required?: undefined;
|
|
56
|
+
})[];
|
|
57
|
+
default?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
presets: {
|
|
60
|
+
name: string;
|
|
61
|
+
props: {
|
|
62
|
+
title: string;
|
|
63
|
+
items: {
|
|
64
|
+
icon: string;
|
|
65
|
+
title: string;
|
|
66
|
+
text: string;
|
|
67
|
+
}[];
|
|
68
|
+
};
|
|
69
|
+
}[];
|
|
70
|
+
enabledOn: string[];
|
|
71
|
+
};
|
|
72
|
+
export interface CountdownMilestone {
|
|
73
|
+
/** ISO date-time with offset, e.g. '2026-06-11T13:00:00-03:00'. */
|
|
74
|
+
date: string;
|
|
75
|
+
/** Heading shown while this milestone is the next one, e.g. 'A Copa começa em'. */
|
|
76
|
+
label: string;
|
|
77
|
+
}
|
|
78
|
+
/** The milestone the timer should count to: the next future one, else the last. */
|
|
79
|
+
export declare function nextMilestone(milestones: readonly CountdownMilestone[], now: number): CountdownMilestone | undefined;
|
|
80
|
+
export declare function CountdownBand({ eyebrow, milestones, note, }: {
|
|
81
|
+
eyebrow?: string;
|
|
82
|
+
milestones?: CountdownMilestone[];
|
|
83
|
+
note?: string;
|
|
84
|
+
}): React.JSX.Element | null;
|
|
85
|
+
export declare const countdownBlockMeta: {
|
|
86
|
+
label: string;
|
|
87
|
+
description: string;
|
|
88
|
+
settings: ({
|
|
89
|
+
id: string;
|
|
90
|
+
type: "text";
|
|
91
|
+
label: string;
|
|
92
|
+
default: string;
|
|
93
|
+
required?: undefined;
|
|
94
|
+
help?: undefined;
|
|
95
|
+
of?: undefined;
|
|
96
|
+
} | {
|
|
97
|
+
id: string;
|
|
98
|
+
type: "list";
|
|
99
|
+
label: string;
|
|
100
|
+
required: true;
|
|
101
|
+
help: string;
|
|
102
|
+
of: {
|
|
103
|
+
id: string;
|
|
104
|
+
type: "text";
|
|
105
|
+
label: string;
|
|
106
|
+
help: string;
|
|
107
|
+
required: true;
|
|
108
|
+
}[];
|
|
109
|
+
default?: undefined;
|
|
110
|
+
} | {
|
|
111
|
+
id: string;
|
|
112
|
+
type: "text";
|
|
113
|
+
label: string;
|
|
114
|
+
help: string;
|
|
115
|
+
default?: undefined;
|
|
116
|
+
required?: undefined;
|
|
117
|
+
of?: undefined;
|
|
118
|
+
})[];
|
|
119
|
+
presets: {
|
|
120
|
+
name: string;
|
|
121
|
+
props: {
|
|
122
|
+
eyebrow: string;
|
|
123
|
+
milestones: {
|
|
124
|
+
date: string;
|
|
125
|
+
label: string;
|
|
126
|
+
}[];
|
|
127
|
+
note: string;
|
|
128
|
+
};
|
|
129
|
+
}[];
|
|
130
|
+
enabledOn: string[];
|
|
131
|
+
};
|
|
132
|
+
export interface TierItem {
|
|
133
|
+
name: string;
|
|
134
|
+
/** What qualifies a buyer for this tier, e.g. 'Packs e caixas fechadas'. */
|
|
135
|
+
qualifier?: string;
|
|
136
|
+
/** What the tier gets, e.g. '10% OFF com o cupom REVENDA10'. */
|
|
137
|
+
detail?: string;
|
|
138
|
+
highlight?: boolean;
|
|
139
|
+
/** Badge on the highlighted card, e.g. 'Mais popular'. */
|
|
140
|
+
badge?: string;
|
|
141
|
+
}
|
|
142
|
+
export declare function TierCards({ eyebrow, title, subtitle, tiers, ctaLabel, ctaHref, }: {
|
|
143
|
+
eyebrow?: string;
|
|
144
|
+
title?: string;
|
|
145
|
+
subtitle?: string;
|
|
146
|
+
tiers?: TierItem[];
|
|
147
|
+
ctaLabel?: string;
|
|
148
|
+
ctaHref?: string;
|
|
149
|
+
}): React.JSX.Element | null;
|
|
150
|
+
export declare const tiersBlockMeta: {
|
|
151
|
+
label: string;
|
|
152
|
+
description: string;
|
|
153
|
+
settings: ({
|
|
154
|
+
id: string;
|
|
155
|
+
type: "text";
|
|
156
|
+
label: string;
|
|
157
|
+
required?: undefined;
|
|
158
|
+
of?: undefined;
|
|
159
|
+
help?: undefined;
|
|
160
|
+
} | {
|
|
161
|
+
id: string;
|
|
162
|
+
type: "list";
|
|
163
|
+
label: string;
|
|
164
|
+
required: true;
|
|
165
|
+
of: ({
|
|
166
|
+
id: string;
|
|
167
|
+
type: "text";
|
|
168
|
+
label: string;
|
|
169
|
+
required: true;
|
|
170
|
+
help?: undefined;
|
|
171
|
+
default?: undefined;
|
|
172
|
+
} | {
|
|
173
|
+
id: string;
|
|
174
|
+
type: "text";
|
|
175
|
+
label: string;
|
|
176
|
+
help: string;
|
|
177
|
+
required?: undefined;
|
|
178
|
+
default?: undefined;
|
|
179
|
+
} | {
|
|
180
|
+
id: string;
|
|
181
|
+
type: "boolean";
|
|
182
|
+
label: string;
|
|
183
|
+
default: boolean;
|
|
184
|
+
required?: undefined;
|
|
185
|
+
help?: undefined;
|
|
186
|
+
})[];
|
|
187
|
+
help?: undefined;
|
|
188
|
+
} | {
|
|
189
|
+
id: string;
|
|
190
|
+
type: "url";
|
|
191
|
+
label: string;
|
|
192
|
+
help: string;
|
|
193
|
+
required?: undefined;
|
|
194
|
+
of?: undefined;
|
|
195
|
+
})[];
|
|
196
|
+
presets: {
|
|
197
|
+
name: string;
|
|
198
|
+
props: {
|
|
199
|
+
eyebrow: string;
|
|
200
|
+
title: string;
|
|
201
|
+
subtitle: string;
|
|
202
|
+
tiers: ({
|
|
203
|
+
name: string;
|
|
204
|
+
qualifier: string;
|
|
205
|
+
detail: string;
|
|
206
|
+
highlight?: undefined;
|
|
207
|
+
badge?: undefined;
|
|
208
|
+
} | {
|
|
209
|
+
name: string;
|
|
210
|
+
qualifier: string;
|
|
211
|
+
detail: string;
|
|
212
|
+
highlight: boolean;
|
|
213
|
+
badge: string;
|
|
214
|
+
})[];
|
|
215
|
+
ctaLabel: string;
|
|
216
|
+
ctaHref: string;
|
|
217
|
+
};
|
|
218
|
+
}[];
|
|
219
|
+
enabledOn: string[];
|
|
220
|
+
};
|
|
221
|
+
//# sourceMappingURL=ConversionSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversionSections.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/ConversionSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAoBlD,MAAM,WAAW,QAAQ;IACvB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,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