create-tanqory-theme 0.0.0-stage → 0.2.2
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/LICENSE +21 -0
- package/README.md +55 -2
- package/bin/create-tanqory-theme.mjs +13 -0
- package/lib/agents.mjs +118 -0
- package/lib/create.mjs +245 -0
- package/package.json +39 -4
- package/templates/blank/README.md +13 -0
- package/templates/blank/config/settings.json +3 -0
- package/templates/blank/locales/en.json +22 -0
- package/templates/blank/locales/th.json +22 -0
- package/templates/blank/package.json +34 -0
- package/templates/blank/regions/footer.json +35 -0
- package/templates/blank/regions/header.json +13 -0
- package/templates/blank/scripts/build.mjs +193 -0
- package/templates/blank/scripts/probe.ts +4 -0
- package/templates/blank/src/bundle.ts +15 -0
- package/templates/blank/src/components/parts.tsx +32 -0
- package/templates/blank/src/entry.client.tsx +6 -0
- package/templates/blank/src/entry.server.tsx +13 -0
- package/templates/blank/src/sections/chrome.tsx +132 -0
- package/templates/blank/src/sections/commerce.tsx +242 -0
- package/templates/blank/src/sections/content.tsx +111 -0
- package/templates/blank/src/sections/editorial.tsx +107 -0
- package/templates/blank/src/settings.ts +15 -0
- package/templates/blank/src/styles/theme.css +195 -0
- package/templates/blank/src/templates.ts +14 -0
- package/templates/blank/src/theme.tsx +76 -0
- package/templates/blank/template.json +24 -0
- package/templates/blank/templates/404.json +14 -0
- package/templates/blank/templates/account.json +14 -0
- package/templates/blank/templates/article.json +14 -0
- package/templates/blank/templates/blog.json +14 -0
- package/templates/blank/templates/cart.json +14 -0
- package/templates/blank/templates/collection.json +14 -0
- package/templates/blank/templates/index.json +36 -0
- package/templates/blank/templates/page.contact.json +18 -0
- package/templates/blank/templates/page.json +14 -0
- package/templates/blank/templates/product.json +18 -0
- package/templates/blank/templates/search.json +14 -0
- package/templates/blank/tests/theme.test.ts +49 -0
- package/templates/blank/tsconfig.json +17 -0
- package/templates/blank/vite.client.config.ts +17 -0
- package/templates/blank/vite.probe.config.ts +16 -0
- package/templates/blank/vite.server.config.ts +32 -0
- package/templates/blank/vitest.config.ts +9 -0
- package/templates/common/.claude/settings.json +8 -0
- package/templates/common/.codex/config.toml +4 -0
- package/templates/common/.gemini/settings.json +12 -0
- package/templates/common/.github/workflows/theme-check.yml +44 -0
- package/templates/common/.mcp.json +12 -0
- package/templates/common/.vscode/mcp.json +9 -0
- package/templates/common/_gitignore +9 -0
- package/templates/common/scripts/check.mjs +44 -0
- package/templates/common/scripts/dev.mjs +30 -0
- package/templates/common/tanqory.config.json +6 -0
- package/templates/nova/.gitattributes +3 -0
- package/templates/nova/.tanqory/contracts/LOCK.json +66 -0
- package/templates/nova/.tanqory/contracts/nova-01.json +1092 -0
- package/templates/nova/.tanqory/contracts/nova-12A.json +2674 -0
- package/templates/nova/.tanqory/contracts/nova-12B.json +2285 -0
- package/templates/nova/.tanqory/contracts/nova-12C.json +2848 -0
- package/templates/nova/.tanqory/contracts/nova-12D.json +3039 -0
- package/templates/nova/.tanqory/contracts/nova-12E.json +1473 -0
- package/templates/nova/.tanqory/contracts/nova-12F.json +1670 -0
- package/templates/nova/.tanqory/contracts/nova-12G.json +1661 -0
- package/templates/nova/.tanqory/contracts/nova-13.json +301 -0
- package/templates/nova/.tanqory/contracts/nova-14.json +172 -0
- package/templates/nova/.tanqory/legacy-settings.json +1121 -0
- package/templates/nova/README.md +150 -0
- package/templates/nova/_gitignore +28 -0
- package/templates/nova/assets/ai-tokens.css +6 -0
- package/templates/nova/assets/starter/starter-art-1200x800-0b773ac4.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1200x900-59600290.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1200x900-c549d496.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1600x900-8f979fcb.svg +1 -0
- package/templates/nova/assets/starter/starter-art-2100x900-cbb71bfd.svg +1 -0
- package/templates/nova/config/legacy-settings.json +438 -0
- package/templates/nova/config/promotion-popup.schema.ts +29 -0
- package/templates/nova/config/settings.json +23 -0
- package/templates/nova/config/settings.schema.ts +231 -0
- package/templates/nova/entry.abi.tsx +27 -0
- package/templates/nova/groups/footer.json +39 -0
- package/templates/nova/groups/header.json +11 -0
- package/templates/nova/lib/abi/abi.css +41 -0
- package/templates/nova/lib/bundle-core.ts +35 -0
- package/templates/nova/lib/bundle.client.ts +15 -0
- package/templates/nova/lib/bundle.ts +15 -0
- package/templates/nova/lib/legacy-settings.ts +104 -0
- package/templates/nova/locales/ar.json +590 -0
- package/templates/nova/locales/en.json +590 -0
- package/templates/nova/locales/th.json +590 -0
- package/templates/nova/main.abi.tsx +12 -0
- package/templates/nova/package.json +44 -0
- package/templates/nova/scripts/abi/build.mjs +145 -0
- package/templates/nova/scripts/abi/check-content.mjs +99 -0
- package/templates/nova/scripts/abi/jcs.mjs +27 -0
- package/templates/nova/scripts/abi/local-host.mjs +294 -0
- package/templates/nova/scripts/abi/manifest.mjs +392 -0
- package/templates/nova/scripts/abi/starter-assets.mjs +32 -0
- package/templates/nova/scripts/compiler/checks/check-a11y.mjs +88 -0
- package/templates/nova/scripts/compiler/checks/check-layout-sanity.mjs +169 -0
- package/templates/nova/scripts/compiler/checks/check-page-headings.mjs +67 -0
- package/templates/nova/scripts/compiler/checks/check-product-jsonld.mjs +80 -0
- package/templates/nova/scripts/compiler/checks/theme-spec/check.mjs +88 -0
- package/templates/nova/scripts/compiler/contracts/extract.mjs +188 -0
- package/templates/nova/scripts/compiler/contracts/index.ts +125 -0
- package/templates/nova/scripts/compiler/contracts/validate.ts +347 -0
- package/templates/nova/scripts/compiler/manifest/gen-manifest.mjs +156 -0
- package/templates/nova/scripts/compiler/manifest/manifest-entry.ts +386 -0
- package/templates/nova/scripts/compiler/manifest/manifest-sections.ts +247 -0
- package/templates/nova/scripts/compiler/migrate/migrate-content.mjs +171 -0
- package/templates/nova/scripts/compiler/migrate/migrate-groups.mjs +159 -0
- package/templates/nova/scripts/parity/case-shim.ts +14 -0
- package/templates/nova/scripts/parity/emit.ts +206 -0
- package/templates/nova/scripts/parity/index.html +12 -0
- package/templates/nova/scripts/parity/main.tsx +23 -0
- package/templates/nova/scripts/parity/pages.tsx +123 -0
- package/templates/nova/scripts/parity/vite.config.ts +29 -0
- package/templates/nova/src/components/base/Accordion.css +20 -0
- package/templates/nova/src/components/base/Accordion.tsx +50 -0
- package/templates/nova/src/components/base/Badge.css +17 -0
- package/templates/nova/src/components/base/Badge.tsx +26 -0
- package/templates/nova/src/components/base/Button.css +73 -0
- package/templates/nova/src/components/base/Button.tsx +64 -0
- package/templates/nova/src/components/base/Checkbox.tsx +18 -0
- package/templates/nova/src/components/base/Chip.css +20 -0
- package/templates/nova/src/components/base/Chip.tsx +33 -0
- package/templates/nova/src/components/base/Divider.css +6 -0
- package/templates/nova/src/components/base/Divider.tsx +28 -0
- package/templates/nova/src/components/base/IconButton.css +34 -0
- package/templates/nova/src/components/base/IconButton.tsx +41 -0
- package/templates/nova/src/components/base/Input.css +21 -0
- package/templates/nova/src/components/base/Input.tsx +24 -0
- package/templates/nova/src/components/base/Link.css +15 -0
- package/templates/nova/src/components/base/Link.tsx +23 -0
- package/templates/nova/src/components/base/Radio.tsx +13 -0
- package/templates/nova/src/components/base/Select.css +18 -0
- package/templates/nova/src/components/base/Select.tsx +34 -0
- package/templates/nova/src/components/base/Skeleton.css +17 -0
- package/templates/nova/src/components/base/Skeleton.tsx +23 -0
- package/templates/nova/src/components/base/Spinner.css +13 -0
- package/templates/nova/src/components/base/Spinner.tsx +8 -0
- package/templates/nova/src/components/base/Switch.tsx +16 -0
- package/templates/nova/src/components/base/Tabs.css +24 -0
- package/templates/nova/src/components/base/Tabs.tsx +61 -0
- package/templates/nova/src/components/base/Textarea.css +1 -0
- package/templates/nova/src/components/base/Textarea.tsx +8 -0
- package/templates/nova/src/components/base/choice-props.ts +9 -0
- package/templates/nova/src/components/base/choice.css +69 -0
- package/templates/nova/src/components/commerce/AddToCart.css +4 -0
- package/templates/nova/src/components/commerce/AddToCart.tsx +77 -0
- package/templates/nova/src/components/commerce/CartLine.css +26 -0
- package/templates/nova/src/components/commerce/CartLine.tsx +82 -0
- package/templates/nova/src/components/commerce/CartSummary.css +23 -0
- package/templates/nova/src/components/commerce/CartSummary.tsx +120 -0
- package/templates/nova/src/components/commerce/CollectionCard.css +66 -0
- package/templates/nova/src/components/commerce/CollectionCard.tsx +57 -0
- package/templates/nova/src/components/commerce/ComparisonTable.css +33 -0
- package/templates/nova/src/components/commerce/ComparisonTable.tsx +113 -0
- package/templates/nova/src/components/commerce/EarnHint.css +3 -0
- package/templates/nova/src/components/commerce/EarnHint.tsx +31 -0
- package/templates/nova/src/components/commerce/Hotspot.css +16 -0
- package/templates/nova/src/components/commerce/Hotspot.tsx +64 -0
- package/templates/nova/src/components/commerce/ListingParts.css +79 -0
- package/templates/nova/src/components/commerce/ListingParts.tsx +211 -0
- package/templates/nova/src/components/commerce/LookItem.css +19 -0
- package/templates/nova/src/components/commerce/LookItem.tsx +41 -0
- package/templates/nova/src/components/commerce/MiniCartLine.css +20 -0
- package/templates/nova/src/components/commerce/MiniCartLine.tsx +93 -0
- package/templates/nova/src/components/commerce/PaymentMark.css +2 -0
- package/templates/nova/src/components/commerce/PaymentMark.tsx +55 -0
- package/templates/nova/src/components/commerce/Price.css +27 -0
- package/templates/nova/src/components/commerce/Price.tsx +55 -0
- package/templates/nova/src/components/commerce/ProductCard.css +66 -0
- package/templates/nova/src/components/commerce/ProductCard.tsx +117 -0
- package/templates/nova/src/components/commerce/ProductGallery.css +72 -0
- package/templates/nova/src/components/commerce/ProductGallery.tsx +98 -0
- package/templates/nova/src/components/commerce/QuantitySelector.css +23 -0
- package/templates/nova/src/components/commerce/QuantitySelector.tsx +45 -0
- package/templates/nova/src/components/commerce/Reviews.css +34 -0
- package/templates/nova/src/components/commerce/Reviews.tsx +112 -0
- package/templates/nova/src/components/commerce/Stars.css +7 -0
- package/templates/nova/src/components/commerce/Stars.tsx +38 -0
- package/templates/nova/src/components/commerce/VariantPicker.css +31 -0
- package/templates/nova/src/components/commerce/VariantPicker.tsx +122 -0
- package/templates/nova/src/components/commerce/blocks/Badge.css +6 -0
- package/templates/nova/src/components/commerce/blocks/Badge.tsx +33 -0
- package/templates/nova/src/components/commerce/blocks/PaymentIcons.tsx +43 -0
- package/templates/nova/src/components/commerce/blocks/Swatches.tsx +17 -0
- package/templates/nova/src/components/commerce/blocks/payment.css +2 -0
- package/templates/nova/src/components/commerce/cart-limit.ts +11 -0
- package/templates/nova/src/components/commerce/money.ts +34 -0
- package/templates/nova/src/components/commerce/swatch.ts +54 -0
- package/templates/nova/src/components/content/ArticleCard.css +22 -0
- package/templates/nova/src/components/content/ArticleCard.tsx +53 -0
- package/templates/nova/src/components/content/BeforeAfterSlider.css +38 -0
- package/templates/nova/src/components/content/BeforeAfterSlider.tsx +87 -0
- package/templates/nova/src/components/content/CardRow.css +80 -0
- package/templates/nova/src/components/content/CardRow.tsx +140 -0
- package/templates/nova/src/components/content/CarouselControls.css +61 -0
- package/templates/nova/src/components/content/CarouselControls.tsx +90 -0
- package/templates/nova/src/components/content/ContentsNav.css +16 -0
- package/templates/nova/src/components/content/ContentsNav.tsx +55 -0
- package/templates/nova/src/components/content/Countdown.css +24 -0
- package/templates/nova/src/components/content/Countdown.tsx +115 -0
- package/templates/nova/src/components/content/HeroCopy.css +92 -0
- package/templates/nova/src/components/content/HeroCopy.tsx +148 -0
- package/templates/nova/src/components/content/HeroFrame.css +75 -0
- package/templates/nova/src/components/content/HeroFrame.tsx +49 -0
- package/templates/nova/src/components/content/HeroMedia.css +40 -0
- package/templates/nova/src/components/content/HeroMedia.tsx +170 -0
- package/templates/nova/src/components/content/LongForm.css +40 -0
- package/templates/nova/src/components/content/LongForm.tsx +56 -0
- package/templates/nova/src/components/content/MediaFrame.css +5 -0
- package/templates/nova/src/components/content/MediaFrame.tsx +52 -0
- package/templates/nova/src/components/content/RichText.tsx +30 -0
- package/templates/nova/src/components/content/SectionHead.css +8 -0
- package/templates/nova/src/components/content/SectionHead.tsx +34 -0
- package/templates/nova/src/components/content/ShareButtons.css +2 -0
- package/templates/nova/src/components/content/ShareButtons.tsx +40 -0
- package/templates/nova/src/components/content/StoreCard.css +14 -0
- package/templates/nova/src/components/content/StoreCard.tsx +60 -0
- package/templates/nova/src/components/content/TestimonialCard.css +36 -0
- package/templates/nova/src/components/content/TestimonialCard.tsx +102 -0
- package/templates/nova/src/components/content/UgcTile.css +8 -0
- package/templates/nova/src/components/content/UgcTile.tsx +33 -0
- package/templates/nova/src/components/content/blocks/Button.tsx +36 -0
- package/templates/nova/src/components/content/blocks/Column.tsx +30 -0
- package/templates/nova/src/components/content/blocks/Heading.tsx +31 -0
- package/templates/nova/src/components/content/blocks/Icon.tsx +25 -0
- package/templates/nova/src/components/content/blocks/Image.tsx +42 -0
- package/templates/nova/src/components/content/blocks/Text.tsx +26 -0
- package/templates/nova/src/components/content/blocks/Video.tsx +44 -0
- package/templates/nova/src/components/content/blocks/content.css +25 -0
- package/templates/nova/src/components/content/blocks/shared.ts +5 -0
- package/templates/nova/src/components/forms/ContactForm.css +19 -0
- package/templates/nova/src/components/forms/ContactForm.tsx +139 -0
- package/templates/nova/src/components/forms/FormField.css +15 -0
- package/templates/nova/src/components/forms/FormField.tsx +77 -0
- package/templates/nova/src/components/forms/GatewayFields.tsx +79 -0
- package/templates/nova/src/components/forms/NewsletterForm.css +9 -0
- package/templates/nova/src/components/forms/NewsletterForm.tsx +141 -0
- package/templates/nova/src/components/forms/SearchField.css +7 -0
- package/templates/nova/src/components/forms/SearchField.tsx +68 -0
- package/templates/nova/src/components/forms/blocks/Newsletter.css +5 -0
- package/templates/nova/src/components/forms/blocks/Newsletter.tsx +71 -0
- package/templates/nova/src/components/forms/validate.ts +4 -0
- package/templates/nova/src/components/listing/ProductListing.tsx +200 -0
- package/templates/nova/src/components/navigation/BrandLogo.tsx +35 -0
- package/templates/nova/src/components/navigation/Breadcrumb.css +16 -0
- package/templates/nova/src/components/navigation/Breadcrumb.tsx +59 -0
- package/templates/nova/src/components/navigation/LineAddFriend.css +5 -0
- package/templates/nova/src/components/navigation/LineAddFriend.tsx +42 -0
- package/templates/nova/src/components/navigation/LocaleSelector.css +33 -0
- package/templates/nova/src/components/navigation/LocaleSelector.tsx +64 -0
- package/templates/nova/src/components/navigation/Menu.tsx +26 -0
- package/templates/nova/src/components/navigation/Pagination.css +24 -0
- package/templates/nova/src/components/navigation/Pagination.tsx +74 -0
- package/templates/nova/src/components/navigation/RecoveryLinks.css +8 -0
- package/templates/nova/src/components/navigation/RecoveryLinks.tsx +23 -0
- package/templates/nova/src/components/navigation/SocialLinks.css +5 -0
- package/templates/nova/src/components/navigation/SocialLinks.tsx +51 -0
- package/templates/nova/src/components/navigation/blocks/SocialLinks.tsx +23 -0
- package/templates/nova/src/components/overlays/AccountMenu.css +11 -0
- package/templates/nova/src/components/overlays/AccountMenu.tsx +91 -0
- package/templates/nova/src/components/overlays/CartDrawer.css +17 -0
- package/templates/nova/src/components/overlays/CartDrawer.tsx +118 -0
- package/templates/nova/src/components/overlays/ConfirmationDialog.tsx +49 -0
- package/templates/nova/src/components/overlays/CookieConsent.css +56 -0
- package/templates/nova/src/components/overlays/CookieConsent.tsx +170 -0
- package/templates/nova/src/components/overlays/Drawer.css +38 -0
- package/templates/nova/src/components/overlays/Drawer.tsx +66 -0
- package/templates/nova/src/components/overlays/FriendOfferPanel.tsx +79 -0
- package/templates/nova/src/components/overlays/MarketSelector.css +111 -0
- package/templates/nova/src/components/overlays/MarketSelector.tsx +450 -0
- package/templates/nova/src/components/overlays/Menu.css +9 -0
- package/templates/nova/src/components/overlays/Menu.tsx +124 -0
- package/templates/nova/src/components/overlays/MobileNavDrawer.css +28 -0
- package/templates/nova/src/components/overlays/MobileNavDrawer.tsx +166 -0
- package/templates/nova/src/components/overlays/Modal.css +52 -0
- package/templates/nova/src/components/overlays/Modal.tsx +88 -0
- package/templates/nova/src/components/overlays/Popover.css +4 -0
- package/templates/nova/src/components/overlays/Popover.tsx +115 -0
- package/templates/nova/src/components/overlays/ProductLightbox.css +20 -0
- package/templates/nova/src/components/overlays/ProductLightbox.tsx +70 -0
- package/templates/nova/src/components/overlays/PromoPopup.css +32 -0
- package/templates/nova/src/components/overlays/PromoPopup.tsx +198 -0
- package/templates/nova/src/components/overlays/QuickView.css +31 -0
- package/templates/nova/src/components/overlays/QuickView.tsx +127 -0
- package/templates/nova/src/components/overlays/ReferralPanel.css +16 -0
- package/templates/nova/src/components/overlays/ReferralPanel.tsx +138 -0
- package/templates/nova/src/components/overlays/RewardsLauncher.css +22 -0
- package/templates/nova/src/components/overlays/RewardsLauncher.tsx +270 -0
- package/templates/nova/src/components/overlays/SearchModal.css +48 -0
- package/templates/nova/src/components/overlays/SearchModal.tsx +302 -0
- package/templates/nova/src/components/overlays/Sheet.css +16 -0
- package/templates/nova/src/components/overlays/Sheet.tsx +48 -0
- package/templates/nova/src/components/overlays/SizeGuide.css +8 -0
- package/templates/nova/src/components/overlays/SizeGuide.tsx +74 -0
- package/templates/nova/src/components/overlays/Toast.css +20 -0
- package/templates/nova/src/components/overlays/Toast.tsx +164 -0
- package/templates/nova/src/components/overlays/Tooltip.css +6 -0
- package/templates/nova/src/components/overlays/Tooltip.tsx +59 -0
- package/templates/nova/src/components/overlays/use-dialog.ts +74 -0
- package/templates/nova/src/components/section/shared.css +42 -0
- package/templates/nova/src/components/section/shared.ts +120 -0
- package/templates/nova/src/components/section/shell.tsx +29 -0
- package/templates/nova/src/components/states/Alert.css +10 -0
- package/templates/nova/src/components/states/Alert.tsx +50 -0
- package/templates/nova/src/components/states/EditorFrame.css +31 -0
- package/templates/nova/src/components/states/EditorFrame.tsx +43 -0
- package/templates/nova/src/components/states/MediaState.css +1 -0
- package/templates/nova/src/components/states/MediaState.tsx +49 -0
- package/templates/nova/src/components/states/OfflineNotice.css +4 -0
- package/templates/nova/src/components/states/OfflineNotice.tsx +24 -0
- package/templates/nova/src/components/states/SkeletonLayout.css +22 -0
- package/templates/nova/src/components/states/SkeletonLayout.tsx +104 -0
- package/templates/nova/src/components/states/StateBlock.css +22 -0
- package/templates/nova/src/components/states/StateBlock.tsx +39 -0
- package/templates/nova/src/components/states/media/MediaError.css +6 -0
- package/templates/nova/src/components/states/media/MediaError.tsx +49 -0
- package/templates/nova/src/components/states/media/MediaPlaceholder.css +24 -0
- package/templates/nova/src/components/states/media/MediaPlaceholder.tsx +101 -0
- package/templates/nova/src/components/states/media/placeholder-art.ts +142 -0
- package/templates/nova/src/layouts/Main.tsx +80 -0
- package/templates/nova/src/sections/Account/Account.tsx +109 -0
- package/templates/nova/src/sections/Account/index.ts +22 -0
- package/templates/nova/src/sections/Account/presets.ts +6 -0
- package/templates/nova/src/sections/Account/schema.ts +29 -0
- package/templates/nova/src/sections/AnnouncementBar/AnnouncementBar.css +37 -0
- package/templates/nova/src/sections/AnnouncementBar/AnnouncementBar.tsx +151 -0
- package/templates/nova/src/sections/AnnouncementBar/index.ts +20 -0
- package/templates/nova/src/sections/AnnouncementBar/presets.ts +10 -0
- package/templates/nova/src/sections/AnnouncementBar/schema.ts +26 -0
- package/templates/nova/src/sections/ArticleBody/ArticleBody.tsx +129 -0
- package/templates/nova/src/sections/ArticleBody/index.ts +21 -0
- package/templates/nova/src/sections/ArticleBody/presets.ts +10 -0
- package/templates/nova/src/sections/ArticleBody/schema.ts +40 -0
- package/templates/nova/src/sections/BeforeAfter/BeforeAfter.tsx +47 -0
- package/templates/nova/src/sections/BeforeAfter/blocks/Comparison.tsx +20 -0
- package/templates/nova/src/sections/BeforeAfter/index.ts +28 -0
- package/templates/nova/src/sections/BeforeAfter/presets.ts +10 -0
- package/templates/nova/src/sections/BeforeAfter/schema.ts +34 -0
- package/templates/nova/src/sections/BlogPosts/BlogPosts.tsx +106 -0
- package/templates/nova/src/sections/BlogPosts/index.ts +30 -0
- package/templates/nova/src/sections/BlogPosts/presets.ts +10 -0
- package/templates/nova/src/sections/BlogPosts/schema.ts +42 -0
- package/templates/nova/src/sections/Breadcrumbs/Breadcrumbs.css +10 -0
- package/templates/nova/src/sections/Breadcrumbs/Breadcrumbs.tsx +41 -0
- package/templates/nova/src/sections/Breadcrumbs/index.ts +20 -0
- package/templates/nova/src/sections/Breadcrumbs/presets.ts +6 -0
- package/templates/nova/src/sections/Breadcrumbs/schema.ts +24 -0
- package/templates/nova/src/sections/CartItems/CartItems.tsx +170 -0
- package/templates/nova/src/sections/CartItems/blocks/CartBadge.tsx +14 -0
- package/templates/nova/src/sections/CartItems/index.ts +37 -0
- package/templates/nova/src/sections/CartItems/presets.ts +8 -0
- package/templates/nova/src/sections/CartItems/schema.ts +34 -0
- package/templates/nova/src/sections/CollectionBanner/CollectionBanner.tsx +120 -0
- package/templates/nova/src/sections/CollectionBanner/index.ts +25 -0
- package/templates/nova/src/sections/CollectionBanner/presets.ts +10 -0
- package/templates/nova/src/sections/CollectionBanner/schema.ts +37 -0
- package/templates/nova/src/sections/CollectionLinks/CollectionLinks.tsx +47 -0
- package/templates/nova/src/sections/CollectionLinks/index.ts +20 -0
- package/templates/nova/src/sections/CollectionLinks/presets.ts +8 -0
- package/templates/nova/src/sections/CollectionLinks/schema.ts +33 -0
- package/templates/nova/src/sections/CollectionList/CollectionList.tsx +89 -0
- package/templates/nova/src/sections/CollectionList/blocks/CollectionItem.tsx +25 -0
- package/templates/nova/src/sections/CollectionList/index.ts +33 -0
- package/templates/nova/src/sections/CollectionList/presets.ts +10 -0
- package/templates/nova/src/sections/CollectionList/schema.ts +41 -0
- package/templates/nova/src/sections/ComparisonTable/ComparisonTable.tsx +52 -0
- package/templates/nova/src/sections/ComparisonTable/blocks/CompareItem.tsx +26 -0
- package/templates/nova/src/sections/ComparisonTable/index.ts +31 -0
- package/templates/nova/src/sections/ComparisonTable/presets.ts +8 -0
- package/templates/nova/src/sections/ComparisonTable/schema.ts +31 -0
- package/templates/nova/src/sections/ContactForm/ContactForm.tsx +83 -0
- package/templates/nova/src/sections/ContactForm/blocks/ContactDetail.tsx +13 -0
- package/templates/nova/src/sections/ContactForm/index.ts +29 -0
- package/templates/nova/src/sections/ContactForm/presets.ts +8 -0
- package/templates/nova/src/sections/ContactForm/schema.ts +34 -0
- package/templates/nova/src/sections/Divider/Divider.css +17 -0
- package/templates/nova/src/sections/Divider/Divider.tsx +21 -0
- package/templates/nova/src/sections/Divider/index.ts +20 -0
- package/templates/nova/src/sections/Divider/presets.ts +10 -0
- package/templates/nova/src/sections/Divider/schema.ts +24 -0
- package/templates/nova/src/sections/Faq/Faq.tsx +51 -0
- package/templates/nova/src/sections/Faq/blocks/FaqItem.tsx +13 -0
- package/templates/nova/src/sections/Faq/index.ts +28 -0
- package/templates/nova/src/sections/Faq/presets.ts +8 -0
- package/templates/nova/src/sections/Faq/schema.ts +32 -0
- package/templates/nova/src/sections/FeatureGridBlocks/FeatureGridBlocks.tsx +90 -0
- package/templates/nova/src/sections/FeatureGridBlocks/index.ts +35 -0
- package/templates/nova/src/sections/FeatureGridBlocks/presets.ts +8 -0
- package/templates/nova/src/sections/FeatureGridBlocks/schema.ts +35 -0
- package/templates/nova/src/sections/FeatureHighlights/FeatureHighlights.tsx +56 -0
- package/templates/nova/src/sections/FeatureHighlights/index.ts +20 -0
- package/templates/nova/src/sections/FeatureHighlights/presets.ts +6 -0
- package/templates/nova/src/sections/FeatureHighlights/schema.ts +27 -0
- package/templates/nova/src/sections/FeaturedCollection/FeaturedCollection.tsx +67 -0
- package/templates/nova/src/sections/FeaturedCollection/index.ts +21 -0
- package/templates/nova/src/sections/FeaturedCollection/presets.ts +10 -0
- package/templates/nova/src/sections/FeaturedCollection/schema.ts +39 -0
- package/templates/nova/src/sections/FeaturedProduct/FeaturedProduct.tsx +107 -0
- package/templates/nova/src/sections/FeaturedProduct/index.ts +23 -0
- package/templates/nova/src/sections/FeaturedProduct/presets.ts +8 -0
- package/templates/nova/src/sections/FeaturedProduct/schema.ts +35 -0
- package/templates/nova/src/sections/Footer/Footer.css +81 -0
- package/templates/nova/src/sections/Footer/Footer.tsx +256 -0
- package/templates/nova/src/sections/Footer/blocks/FooterBrand.tsx +40 -0
- package/templates/nova/src/sections/Footer/blocks/FooterLine.tsx +11 -0
- package/templates/nova/src/sections/Footer/blocks/FooterMenu.tsx +14 -0
- package/templates/nova/src/sections/Footer/blocks/FooterText.tsx +8 -0
- package/templates/nova/src/sections/Footer/blocks/footer.css +7 -0
- package/templates/nova/src/sections/Footer/index.ts +38 -0
- package/templates/nova/src/sections/Footer/presets.ts +10 -0
- package/templates/nova/src/sections/Footer/schema.ts +27 -0
- package/templates/nova/src/sections/Group/Group.css +59 -0
- package/templates/nova/src/sections/Group/Group.tsx +167 -0
- package/templates/nova/src/sections/Group/blocks/Accordion.tsx +26 -0
- package/templates/nova/src/sections/Group/blocks/JumboText.tsx +20 -0
- package/templates/nova/src/sections/Group/blocks/Spacer.tsx +16 -0
- package/templates/nova/src/sections/Group/index.ts +36 -0
- package/templates/nova/src/sections/Group/presets.ts +12 -0
- package/templates/nova/src/sections/Group/schema.ts +35 -0
- package/templates/nova/src/sections/Header/Header.css +185 -0
- package/templates/nova/src/sections/Header/Header.tsx +478 -0
- package/templates/nova/src/sections/Header/index.ts +32 -0
- package/templates/nova/src/sections/Header/presets.ts +10 -0
- package/templates/nova/src/sections/Header/schema.ts +32 -0
- package/templates/nova/src/sections/Hero/Hero.tsx +128 -0
- package/templates/nova/src/sections/Hero/index.ts +24 -0
- package/templates/nova/src/sections/Hero/presets.ts +16 -0
- package/templates/nova/src/sections/Hero/schema.ts +56 -0
- package/templates/nova/src/sections/ImageGallery/ImageGallery.tsx +86 -0
- package/templates/nova/src/sections/ImageGallery/index.ts +28 -0
- package/templates/nova/src/sections/ImageGallery/presets.ts +10 -0
- package/templates/nova/src/sections/ImageGallery/schema.ts +34 -0
- package/templates/nova/src/sections/ImageWithText/ImageWithText.tsx +62 -0
- package/templates/nova/src/sections/ImageWithText/index.ts +23 -0
- package/templates/nova/src/sections/ImageWithText/presets.ts +12 -0
- package/templates/nova/src/sections/ImageWithText/schema.ts +45 -0
- package/templates/nova/src/sections/LineAddFriend/LineAddFriend.tsx +25 -0
- package/templates/nova/src/sections/LineAddFriend/index.ts +20 -0
- package/templates/nova/src/sections/LineAddFriend/presets.ts +3 -0
- package/templates/nova/src/sections/LineAddFriend/schema.ts +25 -0
- package/templates/nova/src/sections/LogoList/LogoList.tsx +40 -0
- package/templates/nova/src/sections/LogoList/blocks/Logo.tsx +18 -0
- package/templates/nova/src/sections/LogoList/index.ts +29 -0
- package/templates/nova/src/sections/LogoList/presets.ts +8 -0
- package/templates/nova/src/sections/LogoList/schema.ts +29 -0
- package/templates/nova/src/sections/MainCollection/MainCollection.tsx +51 -0
- package/templates/nova/src/sections/MainCollection/index.ts +26 -0
- package/templates/nova/src/sections/MainCollection/presets.ts +10 -0
- package/templates/nova/src/sections/MainCollection/schema.ts +29 -0
- package/templates/nova/src/sections/Marquee/Marquee.tsx +114 -0
- package/templates/nova/src/sections/Marquee/index.ts +20 -0
- package/templates/nova/src/sections/Marquee/presets.ts +10 -0
- package/templates/nova/src/sections/Marquee/schema.ts +23 -0
- package/templates/nova/src/sections/Multicolumn/Multicolumn.tsx +56 -0
- package/templates/nova/src/sections/Multicolumn/index.ts +25 -0
- package/templates/nova/src/sections/Multicolumn/presets.ts +8 -0
- package/templates/nova/src/sections/Multicolumn/schema.ts +34 -0
- package/templates/nova/src/sections/Newsletter/Newsletter.tsx +64 -0
- package/templates/nova/src/sections/Newsletter/index.ts +20 -0
- package/templates/nova/src/sections/Newsletter/presets.ts +10 -0
- package/templates/nova/src/sections/Newsletter/schema.ts +36 -0
- package/templates/nova/src/sections/NotFound/NotFound.tsx +41 -0
- package/templates/nova/src/sections/NotFound/index.ts +20 -0
- package/templates/nova/src/sections/NotFound/presets.ts +6 -0
- package/templates/nova/src/sections/NotFound/schema.ts +30 -0
- package/templates/nova/src/sections/PageBody/PageBody.tsx +35 -0
- package/templates/nova/src/sections/PageBody/index.ts +21 -0
- package/templates/nova/src/sections/PageBody/presets.ts +6 -0
- package/templates/nova/src/sections/PageBody/schema.ts +29 -0
- package/templates/nova/src/sections/PolicyPage/PolicyPage.tsx +62 -0
- package/templates/nova/src/sections/PolicyPage/index.ts +23 -0
- package/templates/nova/src/sections/PolicyPage/presets.ts +6 -0
- package/templates/nova/src/sections/PolicyPage/schema.ts +27 -0
- package/templates/nova/src/sections/ProductDetails/ProductDetails.tsx +269 -0
- package/templates/nova/src/sections/ProductDetails/blocks/AddToCartBlock.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductDescription.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductInventory.tsx +38 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductPrice.tsx +19 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductSku.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductTitle.tsx +17 -0
- package/templates/nova/src/sections/ProductDetails/blocks/Quantity.tsx +14 -0
- package/templates/nova/src/sections/ProductDetails/blocks/Tab.tsx +23 -0
- package/templates/nova/src/sections/ProductDetails/blocks/VariantPickerBlock.tsx +44 -0
- package/templates/nova/src/sections/ProductDetails/blocks/commerce-blocks.css +13 -0
- package/templates/nova/src/sections/ProductDetails/index.ts +44 -0
- package/templates/nova/src/sections/ProductDetails/presets.ts +10 -0
- package/templates/nova/src/sections/ProductDetails/schema.ts +44 -0
- package/templates/nova/src/sections/ProductGrid/ProductGrid.tsx +38 -0
- package/templates/nova/src/sections/ProductGrid/index.ts +25 -0
- package/templates/nova/src/sections/ProductGrid/presets.ts +6 -0
- package/templates/nova/src/sections/ProductGrid/schema.ts +37 -0
- package/templates/nova/src/sections/ProductRecommendations/ProductRecommendations.tsx +45 -0
- package/templates/nova/src/sections/ProductRecommendations/index.ts +20 -0
- package/templates/nova/src/sections/ProductRecommendations/presets.ts +8 -0
- package/templates/nova/src/sections/ProductRecommendations/schema.ts +28 -0
- package/templates/nova/src/sections/ProductReviews/ProductReviews.tsx +136 -0
- package/templates/nova/src/sections/ProductReviews/index.ts +22 -0
- package/templates/nova/src/sections/ProductReviews/presets.ts +6 -0
- package/templates/nova/src/sections/ProductReviews/schema.ts +31 -0
- package/templates/nova/src/sections/PromoBanner/PromoBanner.tsx +78 -0
- package/templates/nova/src/sections/PromoBanner/index.ts +20 -0
- package/templates/nova/src/sections/PromoBanner/presets.ts +10 -0
- package/templates/nova/src/sections/PromoBanner/schema.ts +38 -0
- package/templates/nova/src/sections/RecentlyViewed/RecentlyViewed.tsx +53 -0
- package/templates/nova/src/sections/RecentlyViewed/index.ts +20 -0
- package/templates/nova/src/sections/RecentlyViewed/presets.ts +6 -0
- package/templates/nova/src/sections/RecentlyViewed/schema.ts +26 -0
- package/templates/nova/src/sections/RichText/RichText.tsx +38 -0
- package/templates/nova/src/sections/RichText/index.ts +20 -0
- package/templates/nova/src/sections/RichText/presets.ts +10 -0
- package/templates/nova/src/sections/RichText/schema.ts +37 -0
- package/templates/nova/src/sections/SearchResults/SearchResults.tsx +112 -0
- package/templates/nova/src/sections/SearchResults/index.ts +26 -0
- package/templates/nova/src/sections/SearchResults/presets.ts +8 -0
- package/templates/nova/src/sections/SearchResults/schema.ts +30 -0
- package/templates/nova/src/sections/ShopTheLook/ShopTheLook.tsx +112 -0
- package/templates/nova/src/sections/ShopTheLook/blocks/Hotspot.tsx +22 -0
- package/templates/nova/src/sections/ShopTheLook/index.ts +33 -0
- package/templates/nova/src/sections/ShopTheLook/presets.ts +8 -0
- package/templates/nova/src/sections/ShopTheLook/schema.ts +31 -0
- package/templates/nova/src/sections/Slideshow/Slideshow.tsx +199 -0
- package/templates/nova/src/sections/Slideshow/blocks/Slide.tsx +93 -0
- package/templates/nova/src/sections/Slideshow/index.ts +30 -0
- package/templates/nova/src/sections/Slideshow/presets.ts +10 -0
- package/templates/nova/src/sections/Slideshow/schema.ts +36 -0
- package/templates/nova/src/sections/StoreLocator/StoreLocator.tsx +66 -0
- package/templates/nova/src/sections/StoreLocator/index.ts +20 -0
- package/templates/nova/src/sections/StoreLocator/presets.ts +6 -0
- package/templates/nova/src/sections/StoreLocator/schema.ts +34 -0
- package/templates/nova/src/sections/TeamFounders/TeamFounders.tsx +74 -0
- package/templates/nova/src/sections/TeamFounders/blocks/Person.tsx +28 -0
- package/templates/nova/src/sections/TeamFounders/index.ts +28 -0
- package/templates/nova/src/sections/TeamFounders/presets.ts +10 -0
- package/templates/nova/src/sections/TeamFounders/schema.ts +36 -0
- package/templates/nova/src/sections/Testimonials/Testimonials.tsx +83 -0
- package/templates/nova/src/sections/Testimonials/blocks/Testimonial.tsx +30 -0
- package/templates/nova/src/sections/Testimonials/index.ts +29 -0
- package/templates/nova/src/sections/Testimonials/presets.ts +10 -0
- package/templates/nova/src/sections/Testimonials/schema.ts +35 -0
- package/templates/nova/src/sections/Timeline/Timeline.tsx +43 -0
- package/templates/nova/src/sections/Timeline/blocks/Step.tsx +19 -0
- package/templates/nova/src/sections/Timeline/index.ts +28 -0
- package/templates/nova/src/sections/Timeline/presets.ts +8 -0
- package/templates/nova/src/sections/Timeline/schema.ts +31 -0
- package/templates/nova/src/sections/TrustBadges/TrustBadges.tsx +42 -0
- package/templates/nova/src/sections/TrustBadges/index.ts +29 -0
- package/templates/nova/src/sections/TrustBadges/presets.ts +8 -0
- package/templates/nova/src/sections/TrustBadges/schema.ts +29 -0
- package/templates/nova/src/sections/UgcGallery/UgcGallery.tsx +58 -0
- package/templates/nova/src/sections/UgcGallery/blocks/UgcImage.tsx +27 -0
- package/templates/nova/src/sections/UgcGallery/index.ts +31 -0
- package/templates/nova/src/sections/UgcGallery/presets.ts +8 -0
- package/templates/nova/src/sections/UgcGallery/schema.ts +35 -0
- package/templates/nova/src/sections/VideoHero/VideoHero.tsx +75 -0
- package/templates/nova/src/sections/VideoHero/index.ts +22 -0
- package/templates/nova/src/sections/VideoHero/presets.ts +8 -0
- package/templates/nova/src/sections/VideoHero/schema.ts +43 -0
- package/templates/nova/src/sections/data.ts +115 -0
- package/templates/nova/src/sections/shipped-copy.ts +25 -0
- package/templates/nova/src/sections/starter.ts +49 -0
- package/templates/nova/src/styles/Container.css +6 -0
- package/templates/nova/src/styles/Container.tsx +13 -0
- package/templates/nova/src/styles/Icon.css +2 -0
- package/templates/nova/src/styles/Icon.tsx +101 -0
- package/templates/nova/src/styles/NovaProvider.tsx +91 -0
- package/templates/nova/src/styles/base.css +142 -0
- package/templates/nova/src/styles/blocks.css +6 -0
- package/templates/nova/src/styles/fonts/OFL.txt +93 -0
- package/templates/nova/src/styles/fonts/geist-cyrillic-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-cyrillic.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-latin-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-latin.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-cyrillic-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-cyrillic.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-latin-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-latin.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-vietnamese.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-vietnamese.woff2 +0 -0
- package/templates/nova/src/styles/fonts.css +95 -0
- package/templates/nova/src/styles/global-settings.css +88 -0
- package/templates/nova/src/styles/index.css +6 -0
- package/templates/nova/src/styles/motion.ts +53 -0
- package/templates/nova/src/styles/scroll.ts +24 -0
- package/templates/nova/src/styles/sections/commerce.css +147 -0
- package/templates/nova/src/styles/sections/content.css +304 -0
- package/templates/nova/src/styles/sections/editorial.css +131 -0
- package/templates/nova/src/styles/sections/promotion.css +336 -0
- package/templates/nova/src/styles/sections/trust.css +117 -0
- package/templates/nova/src/styles/sections/utility.css +190 -0
- package/templates/nova/src/styles/strings.ts +492 -0
- package/templates/nova/src/styles/text.ts +4 -0
- package/templates/nova/src/styles/theme.ts +171 -0
- package/templates/nova/src/styles/tokens.css +600 -0
- package/templates/nova/src/styles/viewport.ts +23 -0
- package/templates/nova/template.json +94 -0
- package/templates/nova/templates/404.json +30 -0
- package/templates/nova/templates/account.json +15 -0
- package/templates/nova/templates/article.json +41 -0
- package/templates/nova/templates/article.longform.json +17 -0
- package/templates/nova/templates/blog.featured.json +22 -0
- package/templates/nova/templates/blog.json +29 -0
- package/templates/nova/templates/cart.json +67 -0
- package/templates/nova/templates/collection.featured.json +43 -0
- package/templates/nova/templates/collection.json +30 -0
- package/templates/nova/templates/contact.json +65 -0
- package/templates/nova/templates/index.json +167 -0
- package/templates/nova/templates/list-collections.json +19 -0
- package/templates/nova/templates/page.about.json +134 -0
- package/templates/nova/templates/page.contact.json +27 -0
- package/templates/nova/templates/page.json +27 -0
- package/templates/nova/templates/policy.json +23 -0
- package/templates/nova/templates/product.bundle.json +145 -0
- package/templates/nova/templates/product.json +119 -0
- package/templates/nova/templates/search.json +17 -0
- package/templates/nova/tests/abi-ai-contract.test.ts +99 -0
- package/templates/nova/tests/abi-forms.test.tsx +269 -0
- package/templates/nova/tests/abi-inventory.test.tsx +197 -0
- package/templates/nova/tests/abi-legacy-settings.test.tsx +105 -0
- package/templates/nova/tests/abi-opt-in.test.tsx +100 -0
- package/templates/nova/tests/abi-parity.test.tsx +95 -0
- package/templates/nova/tests/abi-r5-store-settings.test.tsx +337 -0
- package/templates/nova/tests/abi-render.test.tsx +178 -0
- package/templates/nova/tests/abi-shop-links.test.tsx +141 -0
- package/templates/nova/tests/abi-storefront-basics.test.tsx +233 -0
- package/templates/nova/tests/abi-variant-url.test.tsx +73 -0
- package/templates/nova/tests/add-refused-no-success.test.tsx +193 -0
- package/templates/nova/tests/architecture.test.ts +63 -0
- package/templates/nova/tests/architecture.ts +160 -0
- package/templates/nova/tests/audit-guards.test.ts +31 -0
- package/templates/nova/tests/bundle-split.test.ts +29 -0
- package/templates/nova/tests/cart-limit-message.test.tsx +212 -0
- package/templates/nova/tests/cart-link-message.test.tsx +98 -0
- package/templates/nova/tests/cases/components/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/components/base/Accordion.cases.tsx +40 -0
- package/templates/nova/tests/cases/components/base/Badge.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/base/Button.cases.tsx +73 -0
- package/templates/nova/tests/cases/components/base/Checkbox.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Chip.cases.tsx +37 -0
- package/templates/nova/tests/cases/components/base/Divider.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/IconButton.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/base/Input.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/base/Link.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Radio.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Select.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/Skeleton.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/base/Spinner.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/base/Switch.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/Tabs.cases.tsx +39 -0
- package/templates/nova/tests/cases/components/base/Textarea.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/AddToCart.cases.tsx +36 -0
- package/templates/nova/tests/cases/components/commerce/CartLine.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/commerce/CartSummary.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/CollectionCard.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/ComparisonTable.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/Hotspot.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/commerce/LookItem.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/PaymentMark.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/Price.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/commerce/ProductCard.cases.tsx +67 -0
- package/templates/nova/tests/cases/components/commerce/ProductGallery.cases.tsx +39 -0
- package/templates/nova/tests/cases/components/commerce/QuantitySelector.cases.tsx +31 -0
- package/templates/nova/tests/cases/components/commerce/Reviews.cases.tsx +35 -0
- package/templates/nova/tests/cases/components/commerce/Stars.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/VariantPicker.cases.tsx +38 -0
- package/templates/nova/tests/cases/components/commerce/blocks/Badge.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/blocks/PaymentIcons.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/blocks/Swatches.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/ArticleCard.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/BeforeAfterSlider.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/CardRow.cases.tsx +23 -0
- package/templates/nova/tests/cases/components/content/CarouselControls.cases.tsx +48 -0
- package/templates/nova/tests/cases/components/content/ContentsNav.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/Countdown.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/content/HeroCopy.cases.tsx +42 -0
- package/templates/nova/tests/cases/components/content/HeroFrame.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/HeroMedia.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/LongForm.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/MediaFrame.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/content/RichText.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/SectionHead.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/ShareButtons.cases.tsx +24 -0
- package/templates/nova/tests/cases/components/content/StoreCard.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/TestimonialCard.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/UgcTile.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Button.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/content/blocks/Column.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/blocks/Heading.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Icon.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/blocks/Image.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/blocks/Text.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Video.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/forms/ContactForm.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/forms/FormField.cases.tsx +61 -0
- package/templates/nova/tests/cases/components/forms/NewsletterForm.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/forms/SearchField.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/forms/blocks/Newsletter.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/navigation/BrandLogo.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/navigation/Breadcrumb.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/navigation/LocaleSelector.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/navigation/Menu.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/navigation/Pagination.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/navigation/RecoveryLinks.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/navigation/SocialLinks.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/navigation/blocks/SocialLinks.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/overlays/AccountMenu.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/overlays/CartDrawer.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/overlays/ConfirmationDialog.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/overlays/CookieConsent.cases.tsx +23 -0
- package/templates/nova/tests/cases/components/overlays/CookiePreferences.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/overlays/Drawer.cases.tsx +52 -0
- package/templates/nova/tests/cases/components/overlays/MarketSelector.cases.tsx +82 -0
- package/templates/nova/tests/cases/components/overlays/Menu.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/overlays/MobileNavDrawer.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/overlays/Modal.cases.tsx +71 -0
- package/templates/nova/tests/cases/components/overlays/Popover.cases.tsx +50 -0
- package/templates/nova/tests/cases/components/overlays/PromoPopup.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/overlays/QuickView.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/overlays/SearchModal.cases.tsx +60 -0
- package/templates/nova/tests/cases/components/overlays/Sheet.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/overlays/SizeGuide.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/overlays/Toast.cases.tsx +48 -0
- package/templates/nova/tests/cases/components/overlays/Tooltip.cases.tsx +33 -0
- package/templates/nova/tests/cases/components/states/Alert.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/states/EditorFrame.cases.tsx +36 -0
- package/templates/nova/tests/cases/components/states/Empty.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/states/Error.cases.tsx +38 -0
- package/templates/nova/tests/cases/components/states/Loading.cases.tsx +15 -0
- package/templates/nova/tests/cases/components/states/MediaState.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/states/SkeletonLayout.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/states/Unavailable.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/states/media/MediaError.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/states/media/MediaPlaceholder.cases.tsx +87 -0
- package/templates/nova/tests/cases/sections/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/sections/commerce/collection-list/CollectionList.cases.tsx +46 -0
- package/templates/nova/tests/cases/sections/commerce/collection-list/blocks/CollectionItem.cases.tsx +18 -0
- package/templates/nova/tests/cases/sections/commerce/featured-collection/FeaturedCollection.cases.tsx +46 -0
- package/templates/nova/tests/cases/sections/commerce/featured-product/FeaturedProduct.cases.tsx +40 -0
- package/templates/nova/tests/cases/sections/commerce/main-collection/MainCollection.cases.tsx +81 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/ProductDetails.cases.tsx +110 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/AddToCartBlock.cases.tsx +21 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductDescription.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductInventory.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductPrice.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductSku.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductTitle.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/Quantity.cases.tsx +20 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/Tab.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/VariantPickerBlock.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/commerce/product-grid/ProductGrid.cases.tsx +48 -0
- package/templates/nova/tests/cases/sections/commerce/product-recommendations/ProductRecommendations.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/commerce/recently-viewed/RecentlyViewed.cases.tsx +36 -0
- package/templates/nova/tests/cases/sections/content/article-body/ArticleBody.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/content/before-after/BeforeAfter.cases.tsx +40 -0
- package/templates/nova/tests/cases/sections/content/before-after/blocks/Comparison.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/content/blog-posts/BlogPosts.cases.tsx +47 -0
- package/templates/nova/tests/cases/sections/content/collection-links/CollectionLinks.cases.tsx +36 -0
- package/templates/nova/tests/cases/sections/content/faq/Faq.cases.tsx +38 -0
- package/templates/nova/tests/cases/sections/content/faq/blocks/FaqItem.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/content/feature-grid-blocks/FeatureGridBlocks.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/feature-highlights/FeatureHighlights.cases.tsx +26 -0
- package/templates/nova/tests/cases/sections/content/image-gallery/ImageGallery.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/image-with-text/ImageWithText.cases.tsx +35 -0
- package/templates/nova/tests/cases/sections/content/multicolumn/Multicolumn.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/content/page-body/PageBody.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/rich-text/RichTextSection.cases.tsx +33 -0
- package/templates/nova/tests/cases/sections/content/team-founders/TeamFounders.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/team-founders/blocks/Person.cases.tsx +18 -0
- package/templates/nova/tests/cases/sections/content/timeline/Timeline.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/content/timeline/blocks/Step.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/announcement-bar/AnnouncementBar.cases.tsx +119 -0
- package/templates/nova/tests/cases/sections/layout/breadcrumbs/Breadcrumbs.cases.tsx +73 -0
- package/templates/nova/tests/cases/sections/layout/divider/Divider.cases.tsx +81 -0
- package/templates/nova/tests/cases/sections/layout/footer/Footer.cases.tsx +116 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterBrand.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterMenu.cases.tsx +22 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterText.cases.tsx +20 -0
- package/templates/nova/tests/cases/sections/layout/group/Group.cases.tsx +185 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/Accordion.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/JumboText.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/Spacer.cases.tsx +33 -0
- package/templates/nova/tests/cases/sections/layout/header/Header.cases.tsx +277 -0
- package/templates/nova/tests/cases/sections/marketing/collection-banner/CollectionBanner.cases.tsx +62 -0
- package/templates/nova/tests/cases/sections/marketing/hero/Hero.cases.tsx +138 -0
- package/templates/nova/tests/cases/sections/marketing/marquee/Marquee.cases.tsx +63 -0
- package/templates/nova/tests/cases/sections/marketing/promo-banner/PromoBanner.cases.tsx +87 -0
- package/templates/nova/tests/cases/sections/marketing/slideshow/Slideshow.cases.tsx +113 -0
- package/templates/nova/tests/cases/sections/marketing/slideshow/blocks/Slide.cases.tsx +26 -0
- package/templates/nova/tests/cases/sections/marketing/video-hero/VideoHero.cases.tsx +72 -0
- package/templates/nova/tests/cases/sections/trust/comparison-table/ComparisonTableSection.cases.tsx +42 -0
- package/templates/nova/tests/cases/sections/trust/comparison-table/blocks/CompareItem.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/logo-list/LogoList.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/trust/logo-list/blocks/Logo.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/product-reviews/ProductReviews.cases.tsx +51 -0
- package/templates/nova/tests/cases/sections/trust/shop-the-look/ShopTheLook.cases.tsx +51 -0
- package/templates/nova/tests/cases/sections/trust/shop-the-look/blocks/Hotspot.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/testimonials/Testimonials.cases.tsx +61 -0
- package/templates/nova/tests/cases/sections/trust/testimonials/blocks/Testimonial.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/trust-badges/TrustBadges.cases.tsx +30 -0
- package/templates/nova/tests/cases/sections/trust/ugc-gallery/UgcGallery.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/trust/ugc-gallery/blocks/UgcImage.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/utility/account/Account.cases.tsx +44 -0
- package/templates/nova/tests/cases/sections/utility/cart-items/CartItems.cases.tsx +43 -0
- package/templates/nova/tests/cases/sections/utility/cart-items/blocks/CartBadge.cases.tsx +16 -0
- package/templates/nova/tests/cases/sections/utility/contact-form/ContactFormSection.cases.tsx +52 -0
- package/templates/nova/tests/cases/sections/utility/contact-form/blocks/ContactDetail.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/utility/newsletter/NewsletterSection.cases.tsx +109 -0
- package/templates/nova/tests/cases/sections/utility/not-found/NotFound.cases.tsx +28 -0
- package/templates/nova/tests/cases/sections/utility/policy-page/PolicyPage.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/utility/search-results/SearchResultsSection.cases.tsx +39 -0
- package/templates/nova/tests/cases/sections/utility/store-locator/StoreLocator.cases.tsx +40 -0
- package/templates/nova/tests/cases/styles/Borders.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Breakpoints.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Colors.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Elevation.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Icon.cases.tsx +23 -0
- package/templates/nova/tests/cases/styles/Layout.cases.tsx +8 -0
- package/templates/nova/tests/cases/styles/Motion.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/styles/Radius.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/SharedThemeSettings.cases.tsx +19 -0
- package/templates/nova/tests/cases/styles/Spacing.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Typography.cases.tsx +10 -0
- package/templates/nova/tests/cases.test.tsx +38 -0
- package/templates/nova/tests/components/PromoPopup.test.ts +21 -0
- package/templates/nova/tests/components/RichText.test.tsx +65 -0
- package/templates/nova/tests/components/formatDate.test.ts +10 -0
- package/templates/nova/tests/contract-locks.test.ts +23 -0
- package/templates/nova/tests/contracts.test.ts +153 -0
- package/templates/nova/tests/cookie-consent-privacy.test.tsx +128 -0
- package/templates/nova/tests/empty-store.test.tsx +81 -0
- package/templates/nova/tests/fixtures/commerce.ts +128 -0
- package/templates/nova/tests/fixtures/content.ts +58 -0
- package/templates/nova/tests/fixtures/index.ts +8 -0
- package/templates/nova/tests/fixtures/merch.ts +161 -0
- package/templates/nova/tests/fixtures/navigation.ts +125 -0
- package/templates/nova/tests/fixtures/promotion.ts +43 -0
- package/templates/nova/tests/fixtures/sample-store.json +1674 -0
- package/templates/nova/tests/fixtures/shop.ts +88 -0
- package/templates/nova/tests/fixtures/stress.ts +21 -0
- package/templates/nova/tests/inert.test.tsx +285 -0
- package/templates/nova/tests/line-add-friend.test.tsx +108 -0
- package/templates/nova/tests/localized-copy.test.ts +330 -0
- package/templates/nova/tests/product-template-blocks.test.ts +28 -0
- package/templates/nova/tests/rewards-launcher.test.tsx +401 -0
- package/templates/nova/tests/schema.test.ts +65 -0
- package/templates/nova/tests/schema.typetest.ts +7 -0
- package/templates/nova/tests/section-groups.test.ts +189 -0
- package/templates/nova/tests/sections/Group.test.tsx +37 -0
- package/templates/nova/tests/setup.ts +30 -0
- package/templates/nova/tests/starter.test.ts +56 -0
- package/templates/nova/tests/storefront-click-path.test.tsx +157 -0
- package/templates/nova/tests/styles/button-brand.test.ts +24 -0
- package/templates/nova/tests/styles/theme.test.ts +43 -0
- package/templates/nova/tests/styles/tokens.test.ts +35 -0
- package/templates/nova/tests/support/abi-ctx.ts +136 -0
- package/templates/nova/tests/support/block-stories.tsx +13 -0
- package/templates/nova/tests/support/case.tsx +102 -0
- package/templates/nova/tests/support/contracts.ts +30 -0
- package/templates/nova/tests/support/foundation-pages.tsx +260 -0
- package/templates/nova/tests/support/ia-pages.tsx +154 -0
- package/templates/nova/tests/support/listing-demo.tsx +29 -0
- package/templates/nova/tests/support/presets.ts +14 -0
- package/templates/nova/tests/support/sections.ts +36 -0
- package/templates/nova/tests/support/story-content.ts +321 -0
- package/templates/nova/tests/support/story-helpers.tsx +37 -0
- package/templates/nova/tests/support/with-nova.tsx +26 -0
- package/templates/nova/tests/theme-config.test.ts +82 -0
- package/templates/nova/tests/theme-integrity.test.ts +315 -0
- package/templates/nova/theme.config.ts +134 -0
- package/templates/nova/theme.manifest.json +17495 -0
- package/templates/nova/tsconfig.json +19 -0
- package/templates/nova/vite.abi-ssr.config.ts +37 -0
- package/templates/nova/vite.abi.config.ts +26 -0
- package/templates/nova/vitest.config.ts +20 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# __THEME_TITLE__: a Tanqory theme forked from Nova V3
|
|
2
|
+
|
|
3
|
+
A Tanqory storefront theme. **Content = a JSON tree** the visual editor edits;
|
|
4
|
+
**the UI = presentational React** that renders it. Everything in this folder is
|
|
5
|
+
something a theme developer edits. The platform code (theme SDK, runtime, ABI data plan, cart,
|
|
6
|
+
live edit, the render/hydrate entries) is the `@tanqory/theme-kit` package, not here.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm run build # dist/abi: manifest, browser bundle, single-file server entry, defaults, locales
|
|
10
|
+
npm test # vitest: render cases, contracts, ABI render and hydration
|
|
11
|
+
npm run check # the platform's checks on dist/abi: security, storefront, budgets (reports/)
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Coding agents: read `AGENTS.md` (the same text as `CLAUDE.md`). Node >= 22.6.
|
|
15
|
+
|
|
16
|
+
## Structure — what to edit
|
|
17
|
+
|
|
18
|
+
✏️ edit freely · ⚠️ edit with care (persisted ids / contracts) · 🔒 generated — never by hand
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
theme.config.ts ⚠️ the theme: its sections (picker order), Provider, Layout, labels
|
|
22
|
+
src/
|
|
23
|
+
styles/ ✏️ tokens.css, base.css, NovaProvider, theme-setting → token mapping, strings
|
|
24
|
+
components/ ✏️ reusable parts, props only (base, commerce, content, forms, navigation,
|
|
25
|
+
overlays, states, listing, section = shared section settings)
|
|
26
|
+
sections/<Name>/ ✏️ one folder per section:
|
|
27
|
+
<Name>.tsx <Name>.css the component (+ its styles when it has its own)
|
|
28
|
+
schema.ts ⚠️ its settings — ids and values are persisted, never rename
|
|
29
|
+
presets.ts ✏️ what "Add section" offers
|
|
30
|
+
index.ts ✏️ defineSection: id, category, zone, the block schemas it accepts (`blocks`),
|
|
31
|
+
and data(node, store) → props
|
|
32
|
+
blocks/ ✏️ blocks only this section accepts
|
|
33
|
+
sections/data.ts ✏️ Nova's presentation mapping the data bindings share (which blocks, in what
|
|
34
|
+
shape; header over a media hero; what "add" means). Looking a handle up in
|
|
35
|
+
the store (imageFor, menuFor, collectionFor …) is @tanqory/theme-kit's
|
|
36
|
+
layouts/Main.tsx ✏️ the page layout + page overlays (cart drawer, search, consent, toasts)
|
|
37
|
+
entry.abi.tsx ⚠️ the ABI server entry: `createRender` (@tanqory/theme-kit/server) + Nova's hooks
|
|
38
|
+
main.abi.tsx ⚠️ the browser entry: `hydrate` (@tanqory/theme-kit/client)
|
|
39
|
+
lib/bundle.ts ⚠️ the theme bundle the kit is handed (definition, templates, groups, locales, settings)
|
|
40
|
+
lib/legacy-settings.ts ⚠️ Nova v1/v2 settings still honoured (menus, brand colour) — passed to the kit as hooks
|
|
41
|
+
lib/abi/abi.css ✏️ editor-canvas affordances (hover/selection outlines)
|
|
42
|
+
templates/ groups/ ✏️ starter page layouts + shared header/footer (JSON; paths are fixed)
|
|
43
|
+
config/settings.schema.ts ⚠️ the theme settings the editor offers
|
|
44
|
+
config/settings.json ✏️ their starter values
|
|
45
|
+
config/promotion-popup.schema.ts ⚠️ the promotion popup's theme settings (contract 13)
|
|
46
|
+
locales/{en,th,ar}.json ✏️ interface strings
|
|
47
|
+
assets/ ✏️ static assets · ai-tokens.css 🔒 is written by the platform's AI
|
|
48
|
+
tests/ ✏️ theme tests (render cases + axe, inert settings, contracts, integrity)
|
|
49
|
+
.tanqory/contracts/ 🔒 compiler-managed contract locks (approved ids/labels/presets) + LOCK.json;
|
|
50
|
+
never edit — re-lock with `tanqory-theme contracts --design <dir> --write`
|
|
51
|
+
.tanqory/legacy-settings.json
|
|
52
|
+
⚠️ removed settings stores still carry (append-only)
|
|
53
|
+
.tanqory/*.ts 🔒 generated entries (gitignored)
|
|
54
|
+
theme.manifest.json 🔒 generated by `npm run manifest` — the editor, studio-api and the AI read it
|
|
55
|
+
index.html · entry-server.tsx · preview-render.tsx
|
|
56
|
+
🔒 generated compatibility files the storefront image builds from the root
|
|
57
|
+
vite.config.ts 🔒 one line: the build is @tanqory/theme-compiler's
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Where do I edit…?
|
|
61
|
+
|
|
62
|
+
| Want to | Go to |
|
|
63
|
+
| --- | --- |
|
|
64
|
+
| change how a section looks | `src/sections/<Name>/<Name>.tsx` (+ `.css`) |
|
|
65
|
+
| a section's settings | `src/sections/<Name>/schema.ts` — ids are frozen by `.tanqory/contracts/` (compiler-managed; never edit) |
|
|
66
|
+
| a section's blocks | list the name in `schema.ts` `blocks` and the schema in `index.ts` `blocks` — there is no other block list |
|
|
67
|
+
| how saved settings / store data become props, or what a button does | `src/sections/<Name>/index.ts` (`data`, using `useThemeActions` actions) |
|
|
68
|
+
| add a section | a new `src/sections/<Name>/` folder + one line in `theme.config.ts` |
|
|
69
|
+
| a reusable piece (price, card, drawer…) | `src/components/` |
|
|
70
|
+
| tokens / styling | `src/styles/` |
|
|
71
|
+
| arrange a page | `templates/*.json` · `groups/*.json` |
|
|
72
|
+
| site-wide theme settings | `config/settings.json` (schema in `config/settings.schema.ts`) |
|
|
73
|
+
| interface words | `locales/*.json` |
|
|
74
|
+
|
|
75
|
+
## How it works
|
|
76
|
+
|
|
77
|
+
- `theme.config.ts` is the theme's single declaration (`defineTheme` from
|
|
78
|
+
`@tanqory/theme-sdk`). The compiler reads it to build the editor catalog
|
|
79
|
+
(`theme.manifest.json`); the runtime reads it to render pages.
|
|
80
|
+
- A saved page is a JSON tree. The runtime resolves it (template + shared
|
|
81
|
+
groups) and renders each node through its section's `data()` binding and
|
|
82
|
+
component. Components never fetch; actions (add to cart, search…) arrive as
|
|
83
|
+
props from the binding.
|
|
84
|
+
|
|
85
|
+
## Catalog
|
|
86
|
+
|
|
87
|
+
Everything this theme contains is described, machine-readably, in
|
|
88
|
+
[`theme.manifest.json`](./theme.manifest.json) — every section (with its editor
|
|
89
|
+
attributes), every template, and the theme settings. The editor inserter, the AI
|
|
90
|
+
generator, and the dashboard↔storefront conformance test all read it, so it is
|
|
91
|
+
the one place that can never disagree with the code.
|
|
92
|
+
|
|
93
|
+
The list below is generated from that manifest — **do not edit by hand**; run
|
|
94
|
+
`npm run manifest` (it also refreshes this block).
|
|
95
|
+
|
|
96
|
+
<!-- BEGIN GENERATED CATALOG -->
|
|
97
|
+
**50 sections (3 in the header / footer zones) · 39 block types · 19 templates · 68 settings**
|
|
98
|
+
|
|
99
|
+
### Sections by category
|
|
100
|
+
- **commerce** (14): account, cart-items, collection-banner, collection-list, featured-collection, featured-product, main-collection, policy-page, product-details, product-grid, recently-viewed, search-results, store-locator, trust-badges
|
|
101
|
+
- **content** (15): article-body, before-after, blog-posts, collection-links, faq, feature-grid-blocks, feature-highlights, image-gallery, image-with-text, marquee, multicolumn, page-body, rich-text, team-founders, timeline
|
|
102
|
+
- **forms** (1): contact-form
|
|
103
|
+
- **layout** (9): announcement-bar, breadcrumbs, divider, footer, group, header, hero, slideshow, video-hero
|
|
104
|
+
- **marketing** (4): line-add-friend, newsletter, promo-banner, testimonials
|
|
105
|
+
- **product** (1): product-recommendations
|
|
106
|
+
- **social-proof** (1): logo-list
|
|
107
|
+
- **system** (1): not-found
|
|
108
|
+
- **trust** (4): comparison-table, product-reviews, shop-the-look, ugc-gallery
|
|
109
|
+
|
|
110
|
+
### Blocks (39 types, nested inside sections)
|
|
111
|
+
- accordion, add-to-cart, badge, button, collection-item, column, compare-item, comparison, contact-detail, faq-item, footer-brand, footer-line, footer-menu, footer-text, heading, hotspot, icon, image, jumbo-text, logo, newsletter-signup, payment-icons, person, product-description, product-inventory, product-price, product-sku, product-title, quantity, slide, social-links, spacer, step, swatches, tab, testimonial, text, variant-picker, video
|
|
112
|
+
|
|
113
|
+
### Shared groups
|
|
114
|
+
- **footer** (footer): footer — used by 19 template(s)
|
|
115
|
+
- **header** (header): header — used by 18 template(s)
|
|
116
|
+
|
|
117
|
+
### Templates
|
|
118
|
+
| template | header | footer | sections |
|
|
119
|
+
| --- | --- | --- | --- |
|
|
120
|
+
| `404` | ↗ header | ↗ footer | featured-collection, not-found |
|
|
121
|
+
| `account` | ↗ header | ↗ footer | account |
|
|
122
|
+
| `article` | ↗ header | ↗ footer | article-body, breadcrumbs, product-grid |
|
|
123
|
+
| `article.longform` | ↗ header | ↗ footer | article-body |
|
|
124
|
+
| `blog` | ↗ header | ↗ footer | blog-posts, newsletter |
|
|
125
|
+
| `blog.featured` | ↗ header | ↗ footer | blog-posts |
|
|
126
|
+
| `cart` | ↗ header | ↗ footer | cart-items, featured-collection, trust-badges |
|
|
127
|
+
| `collection` | ↗ header | ↗ footer | breadcrumbs, main-collection |
|
|
128
|
+
| `collection.featured` | ↗ header | ↗ footer | collection-banner, main-collection, rich-text |
|
|
129
|
+
| `contact` | ↗ header | ↗ footer | contact-form, faq, rich-text, store-locator |
|
|
130
|
+
| `index` | override | ↗ footer | collection-list, feature-highlights, featured-collection, hero, image-with-text, testimonials |
|
|
131
|
+
| `list-collections` | ↗ header | ↗ footer | collection-list |
|
|
132
|
+
| `page` | ↗ header | ↗ footer | breadcrumbs, page-body |
|
|
133
|
+
| `page.about` | ↗ header | ↗ footer | hero, image-with-text, logo-list, rich-text, timeline |
|
|
134
|
+
| `page.contact` | ↗ header | ↗ footer | contact-form, page-body |
|
|
135
|
+
| `policy` | ↗ header | ↗ footer | breadcrumbs, policy-page |
|
|
136
|
+
| `product` | ↗ header | ↗ footer | breadcrumbs, product-details, product-recommendations, trust-badges |
|
|
137
|
+
| `product.bundle` | ↗ header | ↗ footer | multicolumn, product-details, product-recommendations, trust-badges |
|
|
138
|
+
| `search` | ↗ header | ↗ footer | search-results |
|
|
139
|
+
|
|
140
|
+
### Theme settings
|
|
141
|
+
- **Brand**: logo, shopName, locale
|
|
142
|
+
- **Colour**: colorPrimary, colorScheme
|
|
143
|
+
- **Typography**: typeScale, headingWeight, buttonTextStyle
|
|
144
|
+
- **Layout**: pageWidth, sectionSpacing
|
|
145
|
+
- **Components**: buttonRadius, buttonBorder, inputRadius, cardRadius, badgeStyle, badgeShape, iconStyle, motion
|
|
146
|
+
- **Header**: enableSpaNavigation
|
|
147
|
+
- **Search**: enableSearchModal
|
|
148
|
+
- **Cart**: enableCartDrawer
|
|
149
|
+
- **Legacy**: accent, accountExtraLinks, accountHeading, accountLoggedIn, accountPrimaryHref, accountPrimaryLabel, accountSecondaryHref, accountSecondaryLabel, accountSubtext, bodyFont, cardBorder, cardHoverEffect, cartCheckoutLabel, cartDrawerWidth, cartEmptyHeading, cartEmptySubtext, cartViewLabel, colorBackground, colorBorder, colorBrand, colorSale, colorSecondarySurface, colorText, enableAccountDropdown, enableMobileNavDrawer, fontBody, fontHeading, footerCompanyMenuHandle, footerHelpMenuHandle, footerShopMenuHandle, footerTagline, headerMenuHandle, headingFont, mobileNavHeading, mobileNavWidth, poweredByLabel, productImageFit, productImageRatio, productMediaBackground, searchCtaLabel, searchDebounceMs, searchMaxResults, searchModalWidth, searchPlaceholder, showPoweredBy, showVendorGlobally, suggestedLinksMenu
|
|
150
|
+
<!-- END GENERATED CATALOG -->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
dist/
|
|
3
|
+
dist-ssr/
|
|
4
|
+
.vite/
|
|
5
|
+
.env
|
|
6
|
+
*.local
|
|
7
|
+
.DS_Store
|
|
8
|
+
|
|
9
|
+
# Screenshots and ledgers written by `pnpm verify:live`.
|
|
10
|
+
qa/
|
|
11
|
+
|
|
12
|
+
# Generated by @tanqory/theme-compiler on every dev/build/manifest run. The
|
|
13
|
+
# contract locks (written by `tanqory-theme contracts`, hashed in LOCK.json) and
|
|
14
|
+
# the legacy settings (hidden keys stores saved values for; the manifest and
|
|
15
|
+
# ai-api depend on them) are committed — still compiler-managed, never
|
|
16
|
+
# hand-edited. The root .gitignore re-includes this one folder.
|
|
17
|
+
.tanqory/*
|
|
18
|
+
!.tanqory/contracts/
|
|
19
|
+
!.tanqory/legacy-settings.json
|
|
20
|
+
|
|
21
|
+
# The kit comes from the registry (@tanqory/theme-kit); no tarballs are vendored.
|
|
22
|
+
*.tgz
|
|
23
|
+
|
|
24
|
+
# Theme ABI v2 build output: the manifest copy the server entry imports (scripts/abi/build.mjs).
|
|
25
|
+
lib/abi/generated/
|
|
26
|
+
|
|
27
|
+
# Reports written by `npm run check`.
|
|
28
|
+
reports/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* AI brand tokens — OWNED BY THE AI THEME GENERATOR (theme-gen writes this
|
|
2
|
+
* file on install; see ai-api dna-storefront). The framework's own tokens live
|
|
3
|
+
* in tokens.css and must never be overwritten — AI sections consume the
|
|
4
|
+
* `--tq-*` custom properties defined here, base sections consume the
|
|
5
|
+
* framework's `--color-*` / `--space-*` / `--z-*` set from tokens.css.
|
|
6
|
+
* Empty by default (non-AI themes). */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" preserveAspectRatio="xMidYMid slice" width="1200" height="800"><rect data-dc-tpl="121" width="400" height="400" style="fill: #E9EAE4;"></rect><path data-dc-tpl="122" d="M72 306V160a128 128 0 0 1 256 0v146z" style="fill: #DEE1D8;"></path><rect data-dc-tpl="123" y="306" width="400" height="94" style="fill: #CDD3C6;"></rect><ellipse data-dc-tpl="124" cx="200" cy="306" rx="150" ry="8" opacity=".45" style="fill: #B8C0B0;"></ellipse><rect data-dc-tpl="125" x="92" y="208" width="58" height="98" rx="12" style="fill: #B8C0B0;"></rect><rect data-dc-tpl="126" x="162" y="172" width="48" height="134" rx="24" style="fill: #CDD3C6;"></rect><rect data-dc-tpl="127" x="162" y="172" width="48" height="16" rx="8" opacity=".7" style="fill: #F4F5F1;"></rect><circle data-dc-tpl="128" cx="252" cy="272" r="34" style="fill: #B8C0B0;"></circle><rect data-dc-tpl="129" x="290" y="236" width="40" height="70" rx="8" style="fill: #CDD3C6;"></rect></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" width="1200" height="900"><rect data-dc-tpl="286" width="400" height="300" style="fill: #ECEAE6;"></rect><path data-dc-tpl="287" d="M220 212V124a60 60 0 0 1 120 0v88z" style="fill: #F6F5F2;"></path><rect data-dc-tpl="288" y="212" width="400" height="88" style="fill: #E3E0DA;"></rect><ellipse data-dc-tpl="289" cx="130" cy="212" rx="70" ry="6" opacity=".5" style="fill: #C4BDB3;"></ellipse><rect data-dc-tpl="290" x="82" y="130" width="50" height="82" rx="12" style="fill: #D5D0C8;"></rect><circle data-dc-tpl="291" cx="164" cy="188" r="24" style="fill: #C4BDB3;"></circle></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" width="1200" height="900"><rect data-dc-tpl="202" width="400" height="300" style="fill: #E5EAE6;"></rect><rect data-dc-tpl="203" x="40" y="58" width="320" height="242" style="fill: #DAE1DC;"></rect><rect data-dc-tpl="204" x="130" y="70" width="140" height="12" rx="6" style="fill: #C8D3CC;"></rect><rect data-dc-tpl="205" x="30" y="92" width="340" height="26" rx="4" style="fill: #AFBDB4;"></rect><circle data-dc-tpl="206" cx="40" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="207" cx="60" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="208" cx="80" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="209" cx="100" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="210" cx="120" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="211" cx="140" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="212" cx="160" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="213" cx="180" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="214" cx="200" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="215" cx="220" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="216" cx="240" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="217" cx="260" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="218" cx="280" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="219" cx="300" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="220" cx="320" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="221" cx="340" cy="118" r="10" style="fill: #AFBDB4;"></circle><circle data-dc-tpl="222" cx="360" cy="118" r="10" style="fill: #AFBDB4;"></circle><rect data-dc-tpl="223" x="64" y="142" width="178" height="120" rx="4" style="fill: #F2F5F2;"></rect><rect data-dc-tpl="224" x="88" y="198" width="30" height="64" rx="6" style="fill: #C8D3CC;"></rect><circle data-dc-tpl="225" cx="160" cy="238" r="22" style="fill: #C8D3CC;"></circle><rect data-dc-tpl="226" x="194" y="214" width="30" height="48" rx="4" style="fill: #AFBDB4;"></rect><rect data-dc-tpl="227" x="262" y="142" width="76" height="158" rx="4" style="fill: #C8D3CC;"></rect><circle data-dc-tpl="228" cx="324" cy="224" r="4" style="fill: #AFBDB4;"></circle><rect data-dc-tpl="229" y="290" width="400" height="10" style="fill: #C8D3CC;"></rect></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500" preserveAspectRatio="xMidYMid slice" width="1600" height="900"><rect data-dc-tpl="140" width="1200" height="500" style="fill: #E6EAEC;"></rect><path data-dc-tpl="141" d="M760 360V190a150 150 0 0 1 300 0v170z" style="fill: #F4F6F6;"></path><rect data-dc-tpl="142" x="908" y="40" width="4" height="320" style="fill: #DCE2E4;"></rect><rect data-dc-tpl="143" x="760" y="250" width="300" height="4" style="fill: #DCE2E4;"></rect><rect data-dc-tpl="144" y="360" width="1200" height="140" style="fill: #DCE2E4;"></rect><ellipse data-dc-tpl="145" cx="910" cy="420" rx="250" ry="30" opacity=".7" style="fill: #F4F6F6;"></ellipse><rect data-dc-tpl="146" x="120" y="298" width="480" height="16" rx="8" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="147" x="160" y="314" width="12" height="64" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="148" x="548" y="314" width="12" height="64" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="149" x="200" y="198" width="62" height="100" rx="14" style="fill: #CCD4D7;"></rect><circle data-dc-tpl="150" cx="332" cy="266" r="32" style="fill: #B5C0C4;"></circle><rect data-dc-tpl="151" x="400" y="234" width="92" height="64" rx="10" style="fill: #CCD4D7;"></rect></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500" preserveAspectRatio="xMidYMid slice" width="2100" height="900"><rect data-dc-tpl="140" width="1200" height="500" style="fill: #E6EAEC;"></rect><path data-dc-tpl="141" d="M760 360V190a150 150 0 0 1 300 0v170z" style="fill: #F4F6F6;"></path><rect data-dc-tpl="142" x="908" y="40" width="4" height="320" style="fill: #DCE2E4;"></rect><rect data-dc-tpl="143" x="760" y="250" width="300" height="4" style="fill: #DCE2E4;"></rect><rect data-dc-tpl="144" y="360" width="1200" height="140" style="fill: #DCE2E4;"></rect><ellipse data-dc-tpl="145" cx="910" cy="420" rx="250" ry="30" opacity=".7" style="fill: #F4F6F6;"></ellipse><rect data-dc-tpl="146" x="120" y="298" width="480" height="16" rx="8" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="147" x="160" y="314" width="12" height="64" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="148" x="548" y="314" width="12" height="64" style="fill: #B5C0C4;"></rect><rect data-dc-tpl="149" x="200" y="198" width="62" height="100" rx="14" style="fill: #CCD4D7;"></rect><circle data-dc-tpl="150" cx="332" cy="266" r="32" style="fill: #B5C0C4;"></circle><rect data-dc-tpl="151" x="400" y="234" width="92" height="64" rx="10" style="fill: #CCD4D7;"></rect></svg>
|
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accent": {
|
|
3
|
+
"type": "color",
|
|
4
|
+
"label": "Button colour"
|
|
5
|
+
},
|
|
6
|
+
"accountExtraLinks": {
|
|
7
|
+
"type": "textarea",
|
|
8
|
+
"label": "Extra account links"
|
|
9
|
+
},
|
|
10
|
+
"accountHeading": {
|
|
11
|
+
"type": "text",
|
|
12
|
+
"label": "Account menu heading"
|
|
13
|
+
},
|
|
14
|
+
"accountLoggedIn": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"label": "Preview signed-in state"
|
|
17
|
+
},
|
|
18
|
+
"accountPrimaryHref": {
|
|
19
|
+
"type": "url",
|
|
20
|
+
"label": "Primary action link"
|
|
21
|
+
},
|
|
22
|
+
"accountPrimaryLabel": {
|
|
23
|
+
"type": "text",
|
|
24
|
+
"label": "Primary action label"
|
|
25
|
+
},
|
|
26
|
+
"accountSecondaryHref": {
|
|
27
|
+
"type": "url",
|
|
28
|
+
"label": "Secondary action link"
|
|
29
|
+
},
|
|
30
|
+
"accountSecondaryLabel": {
|
|
31
|
+
"type": "text",
|
|
32
|
+
"label": "Secondary action label"
|
|
33
|
+
},
|
|
34
|
+
"accountSubtext": {
|
|
35
|
+
"type": "text",
|
|
36
|
+
"label": "Account menu subtext"
|
|
37
|
+
},
|
|
38
|
+
"bodyFont": {
|
|
39
|
+
"type": "select",
|
|
40
|
+
"label": "Body font",
|
|
41
|
+
"options": [
|
|
42
|
+
{
|
|
43
|
+
"value": "",
|
|
44
|
+
"label": "Default (Settings \u2192 Brand, else theme font)"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"value": "Geist",
|
|
48
|
+
"label": "Geist"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "Inter",
|
|
52
|
+
"label": "Inter"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"value": "DM Sans",
|
|
56
|
+
"label": "DM Sans"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "Work Sans",
|
|
60
|
+
"label": "Work Sans"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"value": "Poppins",
|
|
64
|
+
"label": "Poppins"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"value": "Montserrat",
|
|
68
|
+
"label": "Montserrat"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"value": "Roboto",
|
|
72
|
+
"label": "Roboto"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"value": "Open Sans",
|
|
76
|
+
"label": "Open Sans"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "Lato",
|
|
80
|
+
"label": "Lato"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"value": "Nunito Sans",
|
|
84
|
+
"label": "Nunito Sans"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"value": "Space Grotesk",
|
|
88
|
+
"label": "Space Grotesk"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"value": "Noto Sans Thai",
|
|
92
|
+
"label": "Noto Sans Thai"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "IBM Plex Sans Thai",
|
|
96
|
+
"label": "IBM Plex Sans Thai"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"value": "Prompt",
|
|
100
|
+
"label": "Prompt"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"value": "Kanit",
|
|
104
|
+
"label": "Kanit"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "Sarabun",
|
|
108
|
+
"label": "Sarabun"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"value": "Playfair Display",
|
|
112
|
+
"label": "Playfair Display"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"value": "DM Serif Display",
|
|
116
|
+
"label": "DM Serif Display"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"value": "Cormorant Garamond",
|
|
120
|
+
"label": "Cormorant Garamond"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"value": "EB Garamond",
|
|
124
|
+
"label": "EB Garamond"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"value": "Libre Baskerville",
|
|
128
|
+
"label": "Libre Baskerville"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"value": "Lora",
|
|
132
|
+
"label": "Lora"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"value": "Merriweather",
|
|
136
|
+
"label": "Merriweather"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"cardBorder": {
|
|
141
|
+
"type": "boolean",
|
|
142
|
+
"label": "Outline cards"
|
|
143
|
+
},
|
|
144
|
+
"cardHoverEffect": {
|
|
145
|
+
"type": "select",
|
|
146
|
+
"label": "Card hover",
|
|
147
|
+
"options": [
|
|
148
|
+
{
|
|
149
|
+
"value": "none",
|
|
150
|
+
"label": "None"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"value": "image-swap",
|
|
154
|
+
"label": "Show second image"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"value": "zoom",
|
|
158
|
+
"label": "Zoom image"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"cartCheckoutLabel": {
|
|
163
|
+
"type": "text",
|
|
164
|
+
"label": "Checkout button label"
|
|
165
|
+
},
|
|
166
|
+
"cartDrawerWidth": {
|
|
167
|
+
"type": "text",
|
|
168
|
+
"label": "Cart drawer width"
|
|
169
|
+
},
|
|
170
|
+
"cartEmptyHeading": {
|
|
171
|
+
"type": "text",
|
|
172
|
+
"label": "Empty-cart heading"
|
|
173
|
+
},
|
|
174
|
+
"cartEmptySubtext": {
|
|
175
|
+
"type": "text",
|
|
176
|
+
"label": "Empty-cart subtext"
|
|
177
|
+
},
|
|
178
|
+
"cartViewLabel": {
|
|
179
|
+
"type": "text",
|
|
180
|
+
"label": "View-full-cart label"
|
|
181
|
+
},
|
|
182
|
+
"colorBackground": {
|
|
183
|
+
"type": "color",
|
|
184
|
+
"label": "Page background"
|
|
185
|
+
},
|
|
186
|
+
"colorBorder": {
|
|
187
|
+
"type": "color",
|
|
188
|
+
"label": "Border"
|
|
189
|
+
},
|
|
190
|
+
"colorBrand": {
|
|
191
|
+
"type": "color",
|
|
192
|
+
"label": "Brand colour"
|
|
193
|
+
},
|
|
194
|
+
"colorSale": {
|
|
195
|
+
"type": "color",
|
|
196
|
+
"label": "Sale"
|
|
197
|
+
},
|
|
198
|
+
"colorSecondarySurface": {
|
|
199
|
+
"type": "color",
|
|
200
|
+
"label": "Secondary surface"
|
|
201
|
+
},
|
|
202
|
+
"colorText": {
|
|
203
|
+
"type": "color",
|
|
204
|
+
"label": "Text"
|
|
205
|
+
},
|
|
206
|
+
"enableAccountDropdown": {
|
|
207
|
+
"type": "boolean",
|
|
208
|
+
"label": "Show account dropdown"
|
|
209
|
+
},
|
|
210
|
+
"enableMobileNavDrawer": {
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"label": "Mobile navigation drawer"
|
|
213
|
+
},
|
|
214
|
+
"fontBody": {
|
|
215
|
+
"type": "text",
|
|
216
|
+
"label": "Body font"
|
|
217
|
+
},
|
|
218
|
+
"fontHeading": {
|
|
219
|
+
"type": "text",
|
|
220
|
+
"label": "Heading font"
|
|
221
|
+
},
|
|
222
|
+
"footerCompanyMenuHandle": {
|
|
223
|
+
"type": "menu",
|
|
224
|
+
"label": "Footer \u2014 Company menu"
|
|
225
|
+
},
|
|
226
|
+
"footerHelpMenuHandle": {
|
|
227
|
+
"type": "menu",
|
|
228
|
+
"label": "Footer \u2014 Help menu"
|
|
229
|
+
},
|
|
230
|
+
"footerShopMenuHandle": {
|
|
231
|
+
"type": "menu",
|
|
232
|
+
"label": "Footer \u2014 Shop menu"
|
|
233
|
+
},
|
|
234
|
+
"footerTagline": {
|
|
235
|
+
"type": "textarea",
|
|
236
|
+
"label": "Footer tagline"
|
|
237
|
+
},
|
|
238
|
+
"headerMenuHandle": {
|
|
239
|
+
"type": "menu",
|
|
240
|
+
"label": "Header menu"
|
|
241
|
+
},
|
|
242
|
+
"headingFont": {
|
|
243
|
+
"type": "select",
|
|
244
|
+
"label": "Heading font",
|
|
245
|
+
"options": [
|
|
246
|
+
{
|
|
247
|
+
"value": "",
|
|
248
|
+
"label": "Default (Settings \u2192 Brand, else theme font)"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"value": "Geist",
|
|
252
|
+
"label": "Geist"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"value": "Inter",
|
|
256
|
+
"label": "Inter"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"value": "DM Sans",
|
|
260
|
+
"label": "DM Sans"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"value": "Work Sans",
|
|
264
|
+
"label": "Work Sans"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"value": "Poppins",
|
|
268
|
+
"label": "Poppins"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"value": "Montserrat",
|
|
272
|
+
"label": "Montserrat"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"value": "Roboto",
|
|
276
|
+
"label": "Roboto"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"value": "Open Sans",
|
|
280
|
+
"label": "Open Sans"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"value": "Lato",
|
|
284
|
+
"label": "Lato"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"value": "Nunito Sans",
|
|
288
|
+
"label": "Nunito Sans"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"value": "Space Grotesk",
|
|
292
|
+
"label": "Space Grotesk"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"value": "Noto Sans Thai",
|
|
296
|
+
"label": "Noto Sans Thai"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"value": "IBM Plex Sans Thai",
|
|
300
|
+
"label": "IBM Plex Sans Thai"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"value": "Prompt",
|
|
304
|
+
"label": "Prompt"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"value": "Kanit",
|
|
308
|
+
"label": "Kanit"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"value": "Sarabun",
|
|
312
|
+
"label": "Sarabun"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"value": "Playfair Display",
|
|
316
|
+
"label": "Playfair Display"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"value": "DM Serif Display",
|
|
320
|
+
"label": "DM Serif Display"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"value": "Cormorant Garamond",
|
|
324
|
+
"label": "Cormorant Garamond"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"value": "EB Garamond",
|
|
328
|
+
"label": "EB Garamond"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"value": "Libre Baskerville",
|
|
332
|
+
"label": "Libre Baskerville"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"value": "Lora",
|
|
336
|
+
"label": "Lora"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"value": "Merriweather",
|
|
340
|
+
"label": "Merriweather"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"mobileNavHeading": {
|
|
345
|
+
"type": "text",
|
|
346
|
+
"label": "Mobile menu heading"
|
|
347
|
+
},
|
|
348
|
+
"mobileNavWidth": {
|
|
349
|
+
"type": "text",
|
|
350
|
+
"label": "Mobile drawer width"
|
|
351
|
+
},
|
|
352
|
+
"poweredByLabel": {
|
|
353
|
+
"type": "text",
|
|
354
|
+
"label": "\"Powered by\" label"
|
|
355
|
+
},
|
|
356
|
+
"productImageFit": {
|
|
357
|
+
"type": "select",
|
|
358
|
+
"label": "Product image fit",
|
|
359
|
+
"options": [
|
|
360
|
+
{
|
|
361
|
+
"value": "contain",
|
|
362
|
+
"label": "Fit whole product"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"value": "cover",
|
|
366
|
+
"label": "Fill and crop"
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"productImageRatio": {
|
|
371
|
+
"type": "select",
|
|
372
|
+
"label": "Product image shape",
|
|
373
|
+
"options": [
|
|
374
|
+
{
|
|
375
|
+
"value": "adapt",
|
|
376
|
+
"label": "Adapt to image"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"value": "portrait",
|
|
380
|
+
"label": "Portrait (4:5)"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"value": "square",
|
|
384
|
+
"label": "Square"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"value": "landscape",
|
|
388
|
+
"label": "Landscape (4:3)"
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
"productMediaBackground": {
|
|
393
|
+
"type": "select",
|
|
394
|
+
"label": "Product image background",
|
|
395
|
+
"options": [
|
|
396
|
+
{
|
|
397
|
+
"value": "tile",
|
|
398
|
+
"label": "Tile (light grey behind the image)"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"value": "none",
|
|
402
|
+
"label": "None"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
"searchCtaLabel": {
|
|
407
|
+
"type": "text",
|
|
408
|
+
"label": "See-all-results label"
|
|
409
|
+
},
|
|
410
|
+
"searchDebounceMs": {
|
|
411
|
+
"type": "number",
|
|
412
|
+
"label": "Search debounce (ms)"
|
|
413
|
+
},
|
|
414
|
+
"searchMaxResults": {
|
|
415
|
+
"type": "number",
|
|
416
|
+
"label": "Max quick results"
|
|
417
|
+
},
|
|
418
|
+
"searchModalWidth": {
|
|
419
|
+
"type": "text",
|
|
420
|
+
"label": "Search modal width"
|
|
421
|
+
},
|
|
422
|
+
"searchPlaceholder": {
|
|
423
|
+
"type": "text",
|
|
424
|
+
"label": "Search placeholder"
|
|
425
|
+
},
|
|
426
|
+
"showPoweredBy": {
|
|
427
|
+
"type": "boolean",
|
|
428
|
+
"label": "Show \"Made with Tanqory\""
|
|
429
|
+
},
|
|
430
|
+
"showVendorGlobally": {
|
|
431
|
+
"type": "boolean",
|
|
432
|
+
"label": "Show vendor on product cards"
|
|
433
|
+
},
|
|
434
|
+
"suggestedLinksMenu": {
|
|
435
|
+
"type": "menu",
|
|
436
|
+
"label": "Suggested links"
|
|
437
|
+
}
|
|
438
|
+
}
|