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,304 @@
|
|
|
1
|
+
/* ── 12D · Content & Storytelling ──────────────────────────────────────────
|
|
2
|
+
Type, spacing and media ratios are owned by the system; start / end
|
|
3
|
+
everywhere so every layout mirrors in RTL. */
|
|
4
|
+
.nv-content .nv-section-head:has(+ *) { margin-block-end: var(--space-6); }
|
|
5
|
+
|
|
6
|
+
/* ── 01 rich-text — centred + narrow by default; split 5 / 7 from 1024. */
|
|
7
|
+
.nv-rich-text__inner { display: grid; gap: var(--space-5); max-width: var(--nv-measure, 56ch); margin-inline: auto; }
|
|
8
|
+
.nv-rich-text[data-measure='content'] { --nv-measure: 72ch; }
|
|
9
|
+
.nv-rich-text[data-measure='standard'] { --nv-measure: var(--container-standard); }
|
|
10
|
+
.nv-rich-text[data-align='left'] .nv-rich-text__inner { margin-inline: 0; }
|
|
11
|
+
.nv-rich-text .nv-section-head { margin: 0; }
|
|
12
|
+
.nv-rich-text__body { display: grid; gap: var(--space-5); justify-items: inherit; }
|
|
13
|
+
.nv-rich-text[data-align='center'] .nv-rich-text__body { justify-items: center; }
|
|
14
|
+
.nv-rich-text__prose { font-size: var(--type-body-lg); line-height: var(--leading-loose); color: var(--color-fg-muted); }
|
|
15
|
+
@media (min-width: 1024px) {
|
|
16
|
+
.nv-rich-text[data-layout='split'] .nv-rich-text__inner { grid-template-columns: 5fr 7fr; gap: var(--space-8); max-width: none; align-items: start; text-align: start; }
|
|
17
|
+
.nv-rich-text[data-layout='split'] .nv-rich-text__body { justify-items: start; }
|
|
18
|
+
}
|
|
19
|
+
@media (max-width: 639.98px) {
|
|
20
|
+
.nv-rich-text__button { width: 100%; }
|
|
21
|
+
/* A centred body over ~3 lines is hard to read: start-aligned on phone. */
|
|
22
|
+
.nv-rich-text[data-align='center'][data-long] .nv-rich-text__prose { text-align: start; }
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* ── 02 image-with-text — 6 / 6 or 7 / 5 on the 12-column grid, gap 80. */
|
|
26
|
+
.nv-iwt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: center; }
|
|
27
|
+
.nv-iwt[data-media-width='large'] .nv-iwt__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
|
|
28
|
+
.nv-iwt[data-media='end'] .nv-iwt__media { order: 2; }
|
|
29
|
+
.nv-iwt[data-media='end'][data-media-width='large'] .nv-iwt__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
|
|
30
|
+
/* Legacy left / right render physically (do not mirror in RTL). */
|
|
31
|
+
[dir='rtl'] .nv-iwt[data-physical][data-media='left'] .nv-iwt__media { order: 2; }
|
|
32
|
+
[dir='rtl'] .nv-iwt[data-physical][data-media='right'] .nv-iwt__media { order: 0; }
|
|
33
|
+
.nv-iwt[data-media='none'] .nv-iwt__grid { grid-template-columns: minmax(0, var(--container-content)); justify-content: center; }
|
|
34
|
+
.nv-iwt[data-valign='top'] .nv-iwt__grid { align-items: start; }
|
|
35
|
+
.nv-iwt__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
36
|
+
.nv-iwt[data-ratio='square'] .nv-iwt__media { aspect-ratio: 1; }
|
|
37
|
+
.nv-iwt[data-ratio='landscape'] .nv-iwt__media { aspect-ratio: 3 / 2; }
|
|
38
|
+
.nv-iwt__media .nv-hero-media { --nv-media-control-block: var(--space-4); --nv-media-control-inline: var(--space-4); }
|
|
39
|
+
.nv-iwt__copy { display: grid; gap: var(--space-4); justify-items: start; max-width: 480px; }
|
|
40
|
+
.nv-iwt__copy[data-align='center'] { justify-items: center; text-align: center; margin-inline: auto; }
|
|
41
|
+
.nv-iwt__copy .nv-section-head { margin: 0; }
|
|
42
|
+
.nv-iwt__copy .nv-section-head .nv-h2 { font-size: var(--type-h1); line-height: var(--leading-h1); }
|
|
43
|
+
.nv-iwt__body { color: var(--color-fg-muted); font-size: var(--type-body-lg); line-height: var(--leading-loose); }
|
|
44
|
+
.nv-iwt__button { margin-block-start: var(--space-2); }
|
|
45
|
+
/* muted panel (12 radius, 48 padding); overlap slides it 64 over the image. */
|
|
46
|
+
.nv-iwt[data-panel='muted'] .nv-iwt__copy { max-width: none; padding: var(--space-7); border-radius: var(--radius-lg); background: var(--color-bg-muted); }
|
|
47
|
+
@media (min-width: 1024px) {
|
|
48
|
+
.nv-iwt[data-overlap] .nv-iwt__grid { gap: 0; }
|
|
49
|
+
.nv-iwt[data-overlap] .nv-iwt__copy { position: relative; z-index: var(--z-raised); margin-inline-start: calc(-1 * var(--space-8)); }
|
|
50
|
+
.nv-iwt[data-overlap][data-media='end'] .nv-iwt__copy { margin-inline: 0 calc(-1 * var(--space-8)); }
|
|
51
|
+
}
|
|
52
|
+
@media (max-width: 1023.98px) {
|
|
53
|
+
.nv-iwt__grid, .nv-iwt[data-media-width='large'] .nv-iwt__grid, .nv-iwt[data-media='end'][data-media-width='large'] .nv-iwt__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
|
|
54
|
+
.nv-iwt .nv-iwt__media, [dir='rtl'] .nv-iwt[data-physical] .nv-iwt__media { order: 0; }
|
|
55
|
+
.nv-iwt[data-mobile-media='after'] .nv-iwt__media { order: 2; }
|
|
56
|
+
.nv-iwt__copy { max-width: none; }
|
|
57
|
+
}
|
|
58
|
+
@media (max-width: 639.98px) {
|
|
59
|
+
.nv-iwt[data-ratio='adapt'] .nv-iwt__media { aspect-ratio: 4 / 5 !important; }
|
|
60
|
+
.nv-iwt__button { width: 100%; }
|
|
61
|
+
.nv-iwt[data-panel='muted'] .nv-iwt__copy { padding: var(--space-5); }
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── 03 multicolumn — 2–4 points; divider = a hairline above each column. */
|
|
65
|
+
.nv-multicolumn__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-7) var(--space-6); }
|
|
66
|
+
.nv-multicolumn__item { display: grid; gap: var(--space-4); align-content: start; }
|
|
67
|
+
.nv-multicolumn[data-style='divider'] .nv-multicolumn__item { padding-block-start: var(--space-5); border-block-start: var(--border-subtle); }
|
|
68
|
+
.nv-multicolumn[data-align-text='center'] .nv-multicolumn__item { justify-items: center; text-align: center; }
|
|
69
|
+
/* justify-self: the box has no intrinsic width (its img is absolute), so a start/center-justified item collapsed it to 0 px. */
|
|
70
|
+
.nv-multicolumn__media { justify-self: stretch; position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
71
|
+
.nv-multicolumn__list[data-ratio='square'] .nv-multicolumn__media { aspect-ratio: 1; }
|
|
72
|
+
.nv-multicolumn__list[data-ratio='portrait'] .nv-multicolumn__media { aspect-ratio: 4 / 5; }
|
|
73
|
+
.nv-multicolumn__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
74
|
+
.nv-multicolumn__text { display: grid; gap: var(--space-2); justify-items: inherit; }
|
|
75
|
+
.nv-multicolumn__title { font-size: var(--type-h4); line-height: var(--leading-h4); font-weight: var(--weight-heading); }
|
|
76
|
+
.nv-multicolumn__body { color: var(--color-fg-muted); }
|
|
77
|
+
.nv-multicolumn__link { margin-block-start: var(--space-2); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); }
|
|
78
|
+
@media (min-width: 640px) and (max-width: 1023.98px) {
|
|
79
|
+
.nv-multicolumn__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
80
|
+
}
|
|
81
|
+
@media (max-width: 639.98px) {
|
|
82
|
+
/* Image-left rows (1:1 thumbnails) scan faster than tall stacks. */
|
|
83
|
+
.nv-multicolumn:not([data-mobile-carousel]) .nv-multicolumn__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
|
|
84
|
+
.nv-multicolumn:not([data-mobile-carousel]) .nv-multicolumn__item[data-has-image] { grid-template-columns: 5.75rem minmax(0, 1fr); align-items: start; text-align: start; justify-items: start; }
|
|
85
|
+
.nv-multicolumn:not([data-mobile-carousel]) .nv-multicolumn__item[data-has-image] .nv-multicolumn__media { aspect-ratio: 1; }
|
|
86
|
+
.nv-multicolumn[data-align-text='center'] .nv-multicolumn__item { justify-items: start; text-align: start; }
|
|
87
|
+
.nv-multicolumn[data-mobile-carousel] .nv-multicolumn__list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 2 * var(--card-gap-x)) / var(--carousel-peek)); gap: var(--card-gap-x); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
|
|
88
|
+
.nv-multicolumn[data-mobile-carousel] .nv-multicolumn__item { scroll-snap-align: start; }
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ── 04 feature-grid-blocks — bento; row heights 160 / 220 / 300. */
|
|
92
|
+
.nv-fgb { --nv-row: 220px; }
|
|
93
|
+
.nv-fgb[data-row='small'] { --nv-row: 160px; }
|
|
94
|
+
.nv-fgb[data-row='large'] { --nv-row: 300px; }
|
|
95
|
+
.nv-fgb__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); grid-auto-rows: minmax(var(--nv-row), auto); gap: var(--space-3); }
|
|
96
|
+
.nv-fgb[data-preset='1+4'] .nv-fgb__grid { grid-template-columns: 2fr 1fr 1fr; }
|
|
97
|
+
.nv-fgb[data-preset='1+2'] .nv-fgb__grid { grid-template-columns: 2fr 1fr; }
|
|
98
|
+
.nv-fgb[data-preset='2+2'] .nv-fgb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
99
|
+
.nv-fgb__tile[data-lead] { grid-row: span 2; }
|
|
100
|
+
.nv-fgb__tile { position: relative; isolation: isolate; display: flex; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-muted); color: var(--color-fg); }
|
|
101
|
+
.nv-fgb__tile[data-bg='primary'] { background: var(--color-bg-inverse); color: var(--color-fg-inverse); }
|
|
102
|
+
.nv-fgb__tile[data-bg='image'] { color: var(--color-fg-inverse); }
|
|
103
|
+
.nv-fgb__tile[data-kind='image'] { background: var(--color-media-bg); }
|
|
104
|
+
.nv-fgb__tile .nv-hero-media { z-index: -1; }
|
|
105
|
+
/* The media sits under the copy, so the copy lets clicks through to the video's
|
|
106
|
+
pause/play control — except on its own links. */
|
|
107
|
+
.nv-fgb__tile:has(> .nv-hero-media) :is(.nv-fgb__content, .nv-fgb__scrim) { pointer-events: none; }
|
|
108
|
+
.nv-fgb__tile:has(> .nv-hero-media) .nv-fgb__content :is(a, button) { pointer-events: auto; }
|
|
109
|
+
/* Text on an image: the 62% floor from the text edge. */
|
|
110
|
+
.nv-fgb__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / var(--overlay-text-floor-body)) 0%, rgb(0 0 0 / var(--overlay-text-floor-body)) 30%, rgb(0 0 0 / 0) 75%); }
|
|
111
|
+
.nv-fgb__content { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5); width: 100%; padding: var(--space-5); }
|
|
112
|
+
.nv-fgb__tile[data-kind] .nv-fgb__content { justify-content: flex-end; }
|
|
113
|
+
.nv-fgb__tile[data-kind='image'] .nv-fgb__content { padding: 0; }
|
|
114
|
+
.nv-fgb__tile[data-lead] .nv-fgb__content { justify-content: flex-end; padding: var(--space-6); }
|
|
115
|
+
.nv-fgb__text { display: grid; gap: var(--space-1); margin-block-start: auto; }
|
|
116
|
+
.nv-fgb__title { font-size: var(--type-h5); line-height: var(--leading-h5); font-weight: var(--weight-heading); }
|
|
117
|
+
.nv-fgb__tile[data-lead] .nv-fgb__title { font-size: var(--type-h2); line-height: var(--leading-h2); letter-spacing: var(--tracking-h2); }
|
|
118
|
+
.nv-fgb__body { font-size: var(--type-body-sm); opacity: 0.85; }
|
|
119
|
+
.nv-fgb__link { width: fit-content; color: inherit; font-size: var(--type-body-sm); text-decoration: underline; text-underline-offset: var(--underline-offset); }
|
|
120
|
+
@media (min-width: 640px) and (max-width: 1023.98px) {
|
|
121
|
+
.nv-fgb .nv-fgb__grid, .nv-fgb[data-preset] .nv-fgb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
122
|
+
.nv-fgb__tile[data-lead] { grid-column: 1 / -1; grid-row: auto; min-height: calc(var(--nv-row) * 1.5); }
|
|
123
|
+
}
|
|
124
|
+
@media (max-width: 639.98px) {
|
|
125
|
+
.nv-fgb .nv-fgb__grid, .nv-fgb[data-preset] .nv-fgb__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
|
|
126
|
+
.nv-fgb__tile { min-height: 9rem; }
|
|
127
|
+
.nv-fgb__tile[data-lead] { grid-row: auto; min-height: 16rem; }
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* ── 05 feature-highlights — the one-line service strip; 2 × 2 at 390. */
|
|
131
|
+
.nv-highlights__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-5); max-width: var(--nv-measure, none); }
|
|
132
|
+
.nv-highlights[data-measure='narrow'] { --nv-measure: var(--container-narrow); }
|
|
133
|
+
.nv-highlights[data-measure='content'] { --nv-measure: var(--container-content); }
|
|
134
|
+
.nv-highlights__item { display: flex; align-items: flex-start; gap: var(--space-3); }
|
|
135
|
+
.nv-highlights[data-align-text='center'] .nv-highlights__item { flex-direction: column; align-items: center; text-align: center; }
|
|
136
|
+
.nv-highlights__icon { display: inline-grid; place-items: center; flex: none; }
|
|
137
|
+
.nv-highlights[data-icon-style='outline'] .nv-highlights__icon { width: var(--space-7); height: var(--space-7); border-radius: var(--radius-circle); box-shadow: inset 0 0 0 var(--border-width) var(--color-border); }
|
|
138
|
+
.nv-highlights[data-icon-style='filled-circle'] .nv-highlights__icon { width: var(--space-7); height: var(--space-7); border-radius: var(--radius-circle); background: var(--color-bg-muted); }
|
|
139
|
+
.nv-highlights__text { display: grid; gap: var(--space-1); padding-block-start: var(--space-1); }
|
|
140
|
+
.nv-highlights__title { font-size: var(--type-body-sm); font-weight: var(--weight-medium); }
|
|
141
|
+
.nv-highlights__detail { font-size: var(--type-label); color: var(--color-fg-muted); }
|
|
142
|
+
@media (max-width: 639.98px) {
|
|
143
|
+
.nv-highlights__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* ── 06 faq — beside = heading 4 / 12 + list 8 / 12; above < 1024. */
|
|
147
|
+
.nv-faq__grid { display: grid; gap: var(--space-6); }
|
|
148
|
+
.nv-faq[data-layout='above'] .nv-faq__grid { max-width: var(--nv-measure, var(--container-content)); margin-inline: auto; }
|
|
149
|
+
.nv-faq[data-measure='narrow'] { --nv-measure: var(--container-narrow); }
|
|
150
|
+
.nv-faq[data-measure='standard'] { --nv-measure: var(--container-standard); }
|
|
151
|
+
.nv-faq .nv-section-head { margin: 0; }
|
|
152
|
+
.nv-faq__list { border-block-start: var(--border-subtle); }
|
|
153
|
+
@media (min-width: 1024px) {
|
|
154
|
+
.nv-faq[data-layout='beside'] .nv-faq__grid { grid-template-columns: 4fr 8fr; gap: var(--space-8); align-items: start; }
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* ── 07 collection-links — chips (40 · 44 at 390, pill) or a list with arrows. */
|
|
158
|
+
.nv-links__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
159
|
+
.nv-links__list[data-align='center'] { justify-content: center; }
|
|
160
|
+
.nv-links[data-style='chips'] .nv-links__link {
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
min-height: var(--space-6);
|
|
164
|
+
padding-block: var(--space-1);
|
|
165
|
+
padding-inline: var(--space-4);
|
|
166
|
+
border-radius: var(--radius-pill);
|
|
167
|
+
box-shadow: inset 0 0 0 var(--border-width) var(--color-border-input);
|
|
168
|
+
color: var(--color-fg);
|
|
169
|
+
font-size: var(--type-body-sm);
|
|
170
|
+
font-weight: var(--weight-medium);
|
|
171
|
+
text-decoration: none;
|
|
172
|
+
white-space: nowrap;
|
|
173
|
+
}
|
|
174
|
+
.nv-links[data-style='chips'] .nv-links__link { min-height: 40px; }
|
|
175
|
+
.nv-links[data-style='chips'] .nv-links__link:hover { background: var(--color-bg-muted); }
|
|
176
|
+
.nv-links[data-style='list'] .nv-links__list { display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); column-gap: var(--space-6); }
|
|
177
|
+
.nv-links[data-style='list'] .nv-links__link {
|
|
178
|
+
display: flex;
|
|
179
|
+
justify-content: space-between;
|
|
180
|
+
align-items: center;
|
|
181
|
+
gap: var(--space-3);
|
|
182
|
+
padding-block: var(--space-3);
|
|
183
|
+
border-block-end: var(--border-subtle);
|
|
184
|
+
color: var(--color-fg);
|
|
185
|
+
font-size: 1.375rem;
|
|
186
|
+
font-weight: var(--weight-medium);
|
|
187
|
+
letter-spacing: var(--tracking-h3);
|
|
188
|
+
text-decoration: none;
|
|
189
|
+
}
|
|
190
|
+
.nv-links[data-size='medium'] .nv-links__link { font-size: 1.125rem; }
|
|
191
|
+
.nv-links__more { margin-block-start: var(--space-4); min-height: var(--touch-target); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); cursor: pointer; }
|
|
192
|
+
@media (max-width: 639.98px) {
|
|
193
|
+
/* contain: the strip scrolls; it never sizes the page. */
|
|
194
|
+
.nv-links[data-style='chips'] .nv-links__list { contain: inline-size; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline-end: calc(-1 * var(--page-gutter)); padding-inline-end: var(--page-gutter); }
|
|
195
|
+
.nv-links[data-style='chips'] .nv-links__link { min-height: var(--touch-target); }
|
|
196
|
+
.nv-links[data-style='list'] .nv-links__list { grid-template-columns: minmax(0, 1fr); }
|
|
197
|
+
.nv-links[data-style='list'] .nv-links__link { font-size: 1.25rem; }
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* ── 08 image-gallery — bento · grid-2x2 · 3-up · carousel; swipe at 390. */
|
|
201
|
+
.nv-gallery-section { --nv-gap: var(--space-3); }
|
|
202
|
+
.nv-gallery-section[data-gap='sm'] { --nv-gap: 6px; }
|
|
203
|
+
.nv-gallery-section__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--nv-gap); }
|
|
204
|
+
.nv-gallery-section[data-layout='bento'] .nv-gallery-section__grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.2; }
|
|
205
|
+
.nv-gallery-section[data-layout='bento'] .nv-gallery-section__item:first-child { grid-row: span 2; }
|
|
206
|
+
.nv-gallery-section[data-layout='bento-3'] .nv-gallery-section__grid { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1.8; }
|
|
207
|
+
.nv-gallery-section[data-layout='bento-3'] .nv-gallery-section__item:first-child { grid-row: span 2; }
|
|
208
|
+
.nv-gallery-section:is([data-layout='bento'], [data-layout='bento-3']) .nv-gallery-section__item:nth-child(n + 6) { display: none; }
|
|
209
|
+
.nv-gallery-section:is([data-layout='bento'], [data-layout='bento-3']) :is(.nv-gallery-section__figure, .nv-gallery-section__media) { height: 100%; aspect-ratio: auto !important; }
|
|
210
|
+
.nv-gallery-section[data-layout='grid-2x2'] .nv-gallery-section__grid, .nv-gallery-section[data-layout='two'] .nv-gallery-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
211
|
+
.nv-gallery-section[data-layout='3-up'] .nv-gallery-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
212
|
+
.nv-gallery-section[data-layout='carousel'] .nv-gallery-section__grid { grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--nv-gap)) / 3.3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
|
|
213
|
+
.nv-gallery-section[data-layout='carousel'] .nv-gallery-section__item { scroll-snap-align: start; }
|
|
214
|
+
.nv-gallery-section__figure { margin: 0; display: grid; gap: var(--space-2); }
|
|
215
|
+
.nv-gallery-section__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
216
|
+
.nv-gallery-section[data-ratio='square'] .nv-gallery-section__media { aspect-ratio: 1; }
|
|
217
|
+
.nv-gallery-section[data-ratio='portrait'] .nv-gallery-section__media { aspect-ratio: 4 / 5; }
|
|
218
|
+
.nv-gallery-section[data-ratio='landscape'] .nv-gallery-section__media { aspect-ratio: 3 / 2; }
|
|
219
|
+
.nv-gallery-section__media img, .nv-gallery-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
220
|
+
.nv-gallery-section__link { display: block; position: absolute; inset: 0; }
|
|
221
|
+
.nv-gallery-section__play.nv-icon-btn { position: absolute; inset: 0; margin: auto; }
|
|
222
|
+
.nv-gallery-section__zoom.nv-icon-btn { position: absolute; inset-block-start: var(--space-3); inset-inline-end: var(--space-3); }
|
|
223
|
+
@media (hover: hover) and (pointer: fine) {
|
|
224
|
+
.nv-gallery-section__zoom.nv-icon-btn { opacity: 0; transition: opacity var(--duration-fast) var(--ease-standard); }
|
|
225
|
+
.nv-gallery-section__media:hover .nv-gallery-section__zoom.nv-icon-btn, .nv-gallery-section__zoom.nv-icon-btn:focus-visible { opacity: 1; }
|
|
226
|
+
}
|
|
227
|
+
.nv-gallery-section__chip { position: absolute; inset-block-end: var(--space-3); inset-inline-start: var(--space-3); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-fg); font-size: var(--type-label); font-weight: var(--weight-medium); max-width: calc(100% - 2 * var(--space-3)); }
|
|
228
|
+
.nv-gallery-section__caption { font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
229
|
+
.nv-gallery-section__count { display: none; }
|
|
230
|
+
@media (max-width: 639.98px) {
|
|
231
|
+
/* Swipe with a counter at 390 (every preset). */
|
|
232
|
+
.nv-gallery-section .nv-gallery-section__grid, .nv-gallery-section[data-layout] .nv-gallery-section__grid {
|
|
233
|
+
grid-template-columns: none;
|
|
234
|
+
grid-template-rows: none;
|
|
235
|
+
grid-auto-flow: column;
|
|
236
|
+
grid-auto-columns: 85%;
|
|
237
|
+
contain: inline-size;
|
|
238
|
+
aspect-ratio: auto;
|
|
239
|
+
overflow-x: auto;
|
|
240
|
+
scroll-snap-type: x mandatory;
|
|
241
|
+
scrollbar-width: none;
|
|
242
|
+
}
|
|
243
|
+
.nv-gallery-section .nv-gallery-section__item { grid-row: auto !important; display: block !important; scroll-snap-align: start; }
|
|
244
|
+
.nv-gallery-section:is([data-layout='bento'], [data-layout='bento-3']) :is(.nv-gallery-section__figure) { height: auto; }
|
|
245
|
+
.nv-gallery-section:is([data-layout='bento'], [data-layout='bento-3']) .nv-gallery-section__media { aspect-ratio: 4 / 5 !important; height: auto; }
|
|
246
|
+
.nv-gallery-section__count { display: block; margin-block-start: var(--space-3); font-size: var(--type-label); color: var(--color-fg-muted); }
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* ── 09 timeline — an ordered list; horizontal with a line, vertical < 1024. */
|
|
250
|
+
.nv-timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-7) var(--space-6); }
|
|
251
|
+
.nv-timeline__step { position: relative; display: grid; gap: var(--space-4); align-content: start; }
|
|
252
|
+
.nv-timeline__marker {
|
|
253
|
+
position: relative;
|
|
254
|
+
z-index: var(--z-raised);
|
|
255
|
+
display: inline-grid;
|
|
256
|
+
place-items: center;
|
|
257
|
+
width: var(--space-6);
|
|
258
|
+
height: var(--space-6);
|
|
259
|
+
border-radius: var(--radius-circle);
|
|
260
|
+
box-shadow: inset 0 0 0 1.5px var(--color-fg);
|
|
261
|
+
background: var(--color-bg);
|
|
262
|
+
font-size: var(--type-label);
|
|
263
|
+
font-weight: var(--weight-strong);
|
|
264
|
+
}
|
|
265
|
+
.nv-timeline__step[data-first] .nv-timeline__marker { background: var(--color-fg); color: var(--color-bg); }
|
|
266
|
+
.nv-timeline[data-numbering='none'] .nv-timeline__marker { width: var(--space-3); height: var(--space-3); margin: var(--space-2) var(--space-2); }
|
|
267
|
+
/* The connecting line. */
|
|
268
|
+
.nv-timeline[data-layout='horizontal'] .nv-timeline__step:not(:last-child)::before {
|
|
269
|
+
content: '';
|
|
270
|
+
position: absolute;
|
|
271
|
+
inset-block-start: calc(var(--space-6) / 2);
|
|
272
|
+
inset-inline: calc(var(--space-6) + var(--space-3)) calc(-1 * var(--space-6) + var(--space-3));
|
|
273
|
+
height: 1px;
|
|
274
|
+
background: var(--color-border);
|
|
275
|
+
}
|
|
276
|
+
.nv-timeline__text { display: grid; gap: var(--space-2); }
|
|
277
|
+
/* A grid item stretches to its row, which overrides aspect-ratio: pin the height to the ratio. */
|
|
278
|
+
.nv-timeline__img { width: 100%; height: auto; align-self: start; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-media); margin-block-end: var(--space-2); }
|
|
279
|
+
.nv-timeline__label { font-size: var(--type-label); color: var(--color-fg-muted); }
|
|
280
|
+
.nv-timeline__title { font-size: var(--type-h4); line-height: var(--leading-h4); font-weight: var(--weight-heading); }
|
|
281
|
+
.nv-timeline__body { color: var(--color-fg-muted); font-size: var(--type-body-sm); line-height: var(--leading-snug); }
|
|
282
|
+
.nv-timeline[data-layout='vertical'] .nv-timeline__list { grid-template-columns: minmax(0, 1fr); max-width: var(--container-content); gap: var(--space-6); }
|
|
283
|
+
.nv-timeline[data-layout='vertical'] .nv-timeline__step,
|
|
284
|
+
.nv-timeline .nv-timeline__step { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); }
|
|
285
|
+
.nv-timeline[data-layout='horizontal'] .nv-timeline__step { grid-template-columns: minmax(0, 1fr); }
|
|
286
|
+
.nv-timeline[data-layout='vertical'] .nv-timeline__step:not(:last-child)::before {
|
|
287
|
+
content: '';
|
|
288
|
+
position: absolute;
|
|
289
|
+
inset-inline-start: calc(var(--space-6) / 2);
|
|
290
|
+
inset-block: calc(var(--space-6) + var(--space-2)) calc(-1 * var(--space-6) + var(--space-2));
|
|
291
|
+
width: 1px;
|
|
292
|
+
background: var(--color-border);
|
|
293
|
+
}
|
|
294
|
+
@media (max-width: 1023.98px) {
|
|
295
|
+
.nv-timeline[data-layout] .nv-timeline__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
|
|
296
|
+
.nv-timeline[data-layout] .nv-timeline__step { grid-template-columns: auto minmax(0, 1fr); }
|
|
297
|
+
.nv-timeline[data-layout] .nv-timeline__step:not(:last-child)::before {
|
|
298
|
+
inset-inline: auto;
|
|
299
|
+
inset-inline-start: calc(var(--space-6) / 2);
|
|
300
|
+
inset-block: calc(var(--space-6) + var(--space-2)) calc(-1 * var(--space-6) + var(--space-2));
|
|
301
|
+
width: 1px;
|
|
302
|
+
height: auto;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* ── 12E · Editorial & Long-form ──────────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
/* Long-form header (page / article): title 48 → 32 at the text measure. */
|
|
4
|
+
.nv-longhead { display: grid; gap: var(--space-4); width: 100%; max-width: var(--container-narrow); margin-inline: auto; margin-block-end: var(--space-7); }
|
|
5
|
+
.nv-longhead[data-measure='content'] { max-width: var(--container-content); }
|
|
6
|
+
.nv-longhead[data-measure='standard'] { max-width: var(--container-standard); }
|
|
7
|
+
.nv-longhead[data-align='center'] { text-align: center; justify-items: center; }
|
|
8
|
+
.nv-longhead__title { font-size: var(--type-h1); line-height: 1.08; letter-spacing: var(--tracking-h1); font-weight: var(--weight-heading); text-wrap: balance; }
|
|
9
|
+
.nv-longhead__title[data-size='small'] { font-size: var(--type-h2); line-height: var(--leading-h2); }
|
|
10
|
+
.nv-longhead__title[data-size='medium'] { font-size: clamp(1.75rem, calc(1.75rem + (100vw - 24.375rem) * 0.01893), 2.5rem); }
|
|
11
|
+
.nv-root :lang(th) .nv-longhead__title, .nv-root:lang(th) .nv-longhead__title, .nv-root[dir='rtl'] .nv-longhead__title { letter-spacing: 0; line-height: var(--leading-h3); }
|
|
12
|
+
|
|
13
|
+
/* ── 02 article-body */
|
|
14
|
+
.nv-article__back { display: none; }
|
|
15
|
+
.nv-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
16
|
+
.nv-article__meta > span + span::before { content: '·'; margin-inline-end: var(--space-3); }
|
|
17
|
+
.nv-article__tag { display: inline-flex; align-items: center; min-height: var(--space-6); padding-inline: var(--space-3); border-radius: var(--radius-pill); background: var(--color-bg-muted); color: var(--color-fg); font-weight: var(--weight-medium); text-decoration: none; }
|
|
18
|
+
.nv-article__standfirst { font-size: 1.1875rem; line-height: 1.5; color: var(--color-fg-muted); }
|
|
19
|
+
.nv-article__author { display: flex; align-items: center; gap: var(--space-3); font-size: var(--type-body-sm); }
|
|
20
|
+
.nv-article__author > span:last-child { display: grid; }
|
|
21
|
+
.nv-article__author-name { font-weight: var(--weight-medium); }
|
|
22
|
+
.nv-article__author-meta { color: var(--color-fg-muted); }
|
|
23
|
+
.nv-article__monogram { display: inline-grid; place-items: center; flex: none; width: var(--touch-target); height: var(--touch-target); border-radius: var(--radius-circle); background: var(--color-bg-muted); font-size: var(--type-label); font-weight: var(--weight-strong); }
|
|
24
|
+
.nv-article__image { margin: 0 auto var(--space-7); max-width: var(--container-content); aspect-ratio: 16 / 9; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
25
|
+
.nv-article__image img { width: 100%; height: 100%; object-fit: cover; }
|
|
26
|
+
.nv-article__hero { margin-block-end: var(--space-6); }
|
|
27
|
+
.nv-article__hero .nv-media-frame { --nv-hero-h: var(--hero-height-medium); border-radius: var(--radius-media); }
|
|
28
|
+
.nv-article__hero .nv-longhead { margin-block: var(--space-5) 0; }
|
|
29
|
+
.nv-article__hero .nv-media-frame .nv-longhead { max-width: var(--container-narrow); margin: 0; }
|
|
30
|
+
.nv-article__body { position: relative; }
|
|
31
|
+
.nv-article__contents { max-width: var(--container-narrow); margin: 0 auto var(--space-6); font-size: var(--type-body-sm); }
|
|
32
|
+
.nv-article__contents summary { min-height: var(--touch-target); display: flex; align-items: center; font-weight: var(--weight-medium); cursor: pointer; }
|
|
33
|
+
.nv-article__contents ol { display: grid; gap: var(--space-2); padding-inline-start: var(--space-5); color: var(--color-fg-muted); }
|
|
34
|
+
.nv-article__contents a { display: inline-flex; align-items: center; min-block-size: 24px; color: inherit; }
|
|
35
|
+
@media (min-width: 1280px) {
|
|
36
|
+
/* Beside the text, sticky, when there is room. */
|
|
37
|
+
.nv-article__body[data-contents] .nv-article__contents { position: absolute; inset-inline-start: 0; inset-block: 0; width: 13rem; margin: 0; }
|
|
38
|
+
.nv-article__body[data-contents] .nv-article__contents details { position: sticky; top: var(--space-6); }
|
|
39
|
+
}
|
|
40
|
+
.nv-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); max-width: var(--container-narrow); margin: var(--space-7) auto 0; padding-block-start: var(--space-5); border-block-start: var(--border-subtle); }
|
|
41
|
+
.nv-article__foot[data-measure='content'] { max-width: var(--container-content); }
|
|
42
|
+
.nv-article__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
43
|
+
.nv-article__tags a { display: inline-flex; align-items: center; min-height: var(--space-6); padding-inline: var(--space-3); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--border-width) var(--color-border-input); color: var(--color-fg); font-size: var(--type-body-sm); text-decoration: none; }
|
|
44
|
+
@media (max-width: 639.98px) {
|
|
45
|
+
.nv-article__back { display: block; margin-block-end: var(--space-4); }
|
|
46
|
+
.nv-article__image { margin-inline: calc(-1 * var(--page-gutter)); max-width: none; aspect-ratio: 4 / 3; border-radius: 0; }
|
|
47
|
+
.nv-article__hero .nv-media-frame { border-radius: 0; margin-inline: calc(-1 * var(--page-gutter)); }
|
|
48
|
+
.nv-article__contents details:not([open]) ol { display: none; }
|
|
49
|
+
.nv-article__tags a { min-height: var(--touch-target); }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ── 03 blog-posts — card grid; the lead is split 7 / 5 or an overlay. */
|
|
53
|
+
.nv-blog__tags { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
54
|
+
.nv-blog__tag { min-height: 40px; padding-inline: var(--space-4); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--border-width) var(--color-border-input); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); cursor: pointer; }
|
|
55
|
+
.nv-blog__tag[aria-pressed='true'] { background: var(--color-fg); color: var(--color-bg); box-shadow: none; }
|
|
56
|
+
.nv-blog__lead { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-7); align-items: center; padding-block: var(--space-5) var(--space-6); margin-block-end: var(--space-6); border-block: var(--border-subtle); }
|
|
57
|
+
.nv-blog__lead[data-no-image] { grid-template-columns: minmax(0, 1fr); }
|
|
58
|
+
.nv-blog__lead[data-style='overlay'] { display: block; padding: 0; border: 0; }
|
|
59
|
+
.nv-blog__lead[data-style='overlay'] .nv-media-frame { --nv-hero-h: 420px; border-radius: var(--radius-media); }
|
|
60
|
+
.nv-blog__lead-media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
61
|
+
.nv-blog__lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
62
|
+
.nv-blog__lead-text { display: grid; gap: var(--space-3); }
|
|
63
|
+
.nv-blog__lead-title { font-size: var(--type-h2); line-height: var(--leading-h2); letter-spacing: var(--tracking-h2); font-weight: var(--weight-heading); text-wrap: balance; }
|
|
64
|
+
.nv-blog__lead-excerpt { color: var(--color-fg-muted); }
|
|
65
|
+
.nv-blog__read { font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); }
|
|
66
|
+
.nv-blog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-blog-cols, 3), minmax(0, 1fr)); gap: var(--space-7) var(--space-5); }
|
|
67
|
+
.nv-blog[data-columns='2'] { --nv-blog-cols: 2; }
|
|
68
|
+
.nv-blog[data-columns='4'] { --nv-blog-cols: 4; }
|
|
69
|
+
.nv-blog__pages { display: flex; justify-content: center; margin-block-start: var(--space-7); }
|
|
70
|
+
.nv-blog__empty { max-width: var(--container-narrow); margin-inline: auto; padding-block: var(--space-7); text-align: center; color: var(--color-fg-muted); }
|
|
71
|
+
@media (max-width: 1023.98px) {
|
|
72
|
+
.nv-blog__grid { --nv-blog-cols: 2; }
|
|
73
|
+
.nv-blog__lead { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
|
|
74
|
+
}
|
|
75
|
+
@media (max-width: 639.98px) {
|
|
76
|
+
.nv-blog__tags { contain: inline-size; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
|
|
77
|
+
.nv-blog__tag { min-height: var(--touch-target); white-space: nowrap; }
|
|
78
|
+
.nv-blog__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
|
|
79
|
+
.nv-blog__lead { border: 0; padding: 0; }
|
|
80
|
+
.nv-blog__lead[data-style='overlay'] .nv-media-frame { aspect-ratio: 4 / 5; }
|
|
81
|
+
.nv-blog__lead-title { font-size: var(--type-h3); }
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* ── 04 team-founders */
|
|
85
|
+
.nv-team__founder { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: center; }
|
|
86
|
+
.nv-team[data-media='end'] .nv-team__founder .nv-person__portrait { order: 2; }
|
|
87
|
+
.nv-team__founder-text { display: grid; gap: var(--space-2); max-width: 34rem; }
|
|
88
|
+
.nv-team__eyebrow { font-size: var(--type-body-sm); color: var(--color-fg-muted); margin-block-end: var(--space-3); }
|
|
89
|
+
.nv-team__quote { margin: 0 0 var(--space-4); font-size: var(--type-h2); line-height: 1.3; letter-spacing: var(--tracking-h2); font-weight: var(--weight-heading); text-wrap: balance; }
|
|
90
|
+
.nv-person__portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-media); overflow: hidden; background: var(--color-bg-muted); }
|
|
91
|
+
.nv-person__portrait[data-shape='square'] { aspect-ratio: 1; }
|
|
92
|
+
.nv-person__portrait[data-shape='circle'] { aspect-ratio: 1; border-radius: var(--radius-circle); }
|
|
93
|
+
.nv-person__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
|
|
94
|
+
.nv-person__initials { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-fg-muted); font-size: var(--type-h3); font-weight: var(--weight-medium); }
|
|
95
|
+
.nv-person__name { font-size: var(--type-body); font-weight: var(--weight-medium); }
|
|
96
|
+
.nv-person__role { font-size: 0.78125rem; color: var(--color-fg-muted); }
|
|
97
|
+
.nv-person__bio { font-size: var(--type-body-sm); color: var(--color-fg-muted); margin-block-start: var(--space-3); }
|
|
98
|
+
.nv-person__link { margin-block-start: var(--space-3); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); justify-self: start; }
|
|
99
|
+
.nv-team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
|
|
100
|
+
.nv-person { display: grid; gap: var(--space-3); align-content: start; }
|
|
101
|
+
.nv-person__text { display: grid; gap: var(--space-1); }
|
|
102
|
+
.nv-team[data-layout='list'] .nv-team__list { gap: 0 var(--space-6); }
|
|
103
|
+
.nv-team[data-layout='list'] .nv-person { grid-template-columns: var(--touch-target) minmax(0, 1fr); align-items: center; gap: var(--space-4); padding-block: var(--space-3); border-block-end: var(--border-subtle); }
|
|
104
|
+
.nv-team[data-layout='list'] .nv-person__initials { font-size: var(--type-label); }
|
|
105
|
+
@media (max-width: 1023.98px) {
|
|
106
|
+
.nv-team__founder { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
|
|
107
|
+
.nv-team[data-media='end'] .nv-team__founder .nv-person__portrait { order: 0; }
|
|
108
|
+
.nv-team__quote { font-size: var(--type-h3); }
|
|
109
|
+
}
|
|
110
|
+
@media (max-width: 639.98px) {
|
|
111
|
+
.nv-team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
112
|
+
.nv-team[data-layout='list'] .nv-team__list { grid-template-columns: minmax(0, 1fr); }
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* ── 05 before-after — heading beside (end / start) or the comparison full width. */
|
|
116
|
+
.nv-before-after__grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-8); align-items: center; }
|
|
117
|
+
.nv-before-after .nv-section-head { margin: 0; }
|
|
118
|
+
.nv-before-after[data-media='start'] .nv-before-after__media { order: -1; }
|
|
119
|
+
.nv-before-after[data-media='start'] .nv-before-after__grid { grid-template-columns: 8fr 4fr; }
|
|
120
|
+
.nv-before-after[data-media='full'] .nv-before-after__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
|
|
121
|
+
.nv-before-after[data-media='full'] .nv-before-after__media { max-width: var(--container-content); width: 100%; margin-inline: auto; }
|
|
122
|
+
.nv-before-after__media { min-width: 0; }
|
|
123
|
+
.nv-before-after__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; contain: inline-size; }
|
|
124
|
+
.nv-before-after__list > li { scroll-snap-align: start; }
|
|
125
|
+
.nv-before-after__figure { margin: 0; display: grid; gap: var(--space-3); }
|
|
126
|
+
.nv-before-after__caption { font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
127
|
+
.nv-before-after__count { margin-block-start: var(--space-3); font-size: var(--type-label); color: var(--color-fg-muted); }
|
|
128
|
+
@media (max-width: 1023.98px) {
|
|
129
|
+
.nv-before-after__grid, .nv-before-after[data-media] .nv-before-after__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
|
|
130
|
+
.nv-before-after[data-media] .nv-before-after__media { order: 0; }
|
|
131
|
+
}
|