efficient-web-builder 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -338
- package/README.md +107 -261
- package/dist/components/AddBlockRow.d.ts +7 -0
- package/dist/components/AddBlockRow.js +1 -0
- package/dist/components/AddChildRow.d.ts +6 -0
- package/dist/components/AddChildRow.js +1 -0
- package/dist/components/AddSidePanel.d.ts +39 -0
- package/dist/components/AddSidePanel.js +1 -0
- package/dist/components/AnimatedStat.d.ts +6 -0
- package/dist/components/AnimatedStat.js +1 -0
- package/dist/components/ApplyCornersToSiblings.d.ts +9 -0
- package/dist/components/ApplyCornersToSiblings.js +1 -0
- package/dist/components/Banner.d.ts +12 -0
- package/dist/components/Banner.js +1 -0
- package/dist/components/BlockFrame.d.ts +15 -0
- package/dist/components/BlockFrame.js +1 -0
- package/dist/components/BlockGapField.d.ts +5 -0
- package/dist/components/BlockGapField.js +1 -0
- package/dist/components/BlogPostSource.d.ts +14 -0
- package/dist/components/BlogPostSource.js +1 -0
- package/dist/components/BoxSurfaceContext.d.ts +7 -0
- package/dist/components/BoxSurfaceContext.js +1 -0
- package/dist/components/BoxTabs.d.ts +6 -0
- package/dist/components/BoxTabs.js +1 -0
- package/dist/components/Breadcrumb.d.ts +10 -0
- package/dist/components/Breadcrumb.js +1 -0
- package/dist/components/Btn.d.ts +22 -0
- package/dist/components/Btn.js +1 -0
- package/dist/components/ButtonBlock.d.ts +13 -0
- package/dist/components/ButtonBlock.js +1 -0
- package/dist/components/CardShadowField.d.ts +6 -0
- package/dist/components/CardShadowField.js +1 -0
- package/dist/components/Cards.d.ts +15 -0
- package/dist/components/Cards.js +1 -0
- package/dist/components/CategoryBar.d.ts +16 -0
- package/dist/components/CategoryBar.js +1 -0
- package/dist/components/ChartSection.d.ts +16 -0
- package/dist/components/ChartSection.js +1 -0
- package/dist/components/ChatSettingsPanel.d.ts +1 -0
- package/dist/components/ChatSettingsPanel.js +1 -0
- package/dist/components/ClearColoursDialog.d.ts +5 -0
- package/dist/components/ClearColoursDialog.js +1 -0
- package/dist/components/ContactLocations.d.ts +17 -0
- package/dist/components/ContactLocations.js +73 -0
- package/dist/components/CornersField.d.ts +7 -0
- package/dist/components/CornersField.js +1 -0
- package/dist/components/CountUpText.d.ts +3 -0
- package/dist/components/CountUpText.js +1 -0
- package/dist/components/Divider.d.ts +9 -0
- package/dist/components/Divider.js +1 -0
- package/dist/components/DocBody.d.ts +13 -0
- package/dist/components/DocBody.js +7 -0
- package/dist/components/DocMasthead.d.ts +13 -0
- package/dist/components/DocMasthead.js +1 -0
- package/dist/components/DocMetaCards.d.ts +10 -0
- package/dist/components/DocMetaCards.js +1 -0
- package/dist/components/DocTabs.d.ts +12 -0
- package/dist/components/DocTabs.js +1 -0
- package/dist/components/DuplicateToPageMenu.d.ts +12 -0
- package/dist/components/DuplicateToPageMenu.js +1 -0
- package/dist/components/EditorialSectionHead.d.ts +11 -0
- package/dist/components/EditorialSectionHead.js +1 -0
- package/dist/components/Eyebrow.d.ts +9 -0
- package/dist/components/Eyebrow.js +1 -0
- package/dist/components/FAQ.d.ts +20 -0
- package/dist/components/FAQ.js +1 -0
- package/dist/components/FeaturedCover.d.ts +13 -0
- package/dist/components/FeaturedCover.js +1 -0
- package/dist/components/FieldGlyph.d.ts +12 -0
- package/dist/components/FieldGlyph.js +1 -0
- package/dist/components/Flex.d.ts +32 -0
- package/dist/components/Flex.js +1 -0
- package/dist/components/Footprint.d.ts +16 -0
- package/dist/components/Footprint.js +27 -0
- package/dist/components/Grid.d.ts +11 -0
- package/dist/components/Grid.js +1 -0
- package/dist/components/Heading.d.ts +11 -0
- package/dist/components/Heading.js +1 -0
- package/dist/components/HeadingAudit.d.ts +1 -0
- package/dist/components/HeadingAudit.js +1 -0
- package/dist/components/HeroArrows.d.ts +8 -0
- package/dist/components/HeroArrows.js +1 -0
- package/dist/components/HeroGroup.d.ts +20 -0
- package/dist/components/HeroGroup.js +1 -0
- package/dist/components/HeroHeldFrame.d.ts +8 -0
- package/dist/components/HeroHeldFrame.js +1 -0
- package/dist/components/HeroImageField.d.ts +6 -0
- package/dist/components/HeroImageField.js +1 -0
- package/dist/components/HeroPoster.d.ts +10 -0
- package/dist/components/HeroPoster.js +1 -0
- package/dist/components/HeroSection.d.ts +39 -0
- package/dist/components/HeroSection.js +11 -0
- package/dist/components/HeroSingle.d.ts +17 -0
- package/dist/components/HeroSingle.js +1 -0
- package/dist/components/HeroSlide.d.ts +30 -0
- package/dist/components/HeroSlide.js +1 -0
- package/dist/components/HoverEffectField.d.ts +6 -0
- package/dist/components/HoverEffectField.js +1 -0
- package/dist/components/ImageBlock.d.ts +18 -0
- package/dist/components/ImageBlock.js +1 -0
- package/dist/components/ImageFocusRow.d.ts +7 -0
- package/dist/components/ImageFocusRow.js +1 -0
- package/dist/components/IntegrationsSection.d.ts +14 -0
- package/dist/components/IntegrationsSection.js +1 -0
- package/dist/components/IntroBleed.d.ts +32 -0
- package/dist/components/IntroBleed.js +1 -0
- package/dist/components/KeyFeatures.d.ts +14 -0
- package/dist/components/KeyFeatures.js +1 -0
- package/dist/components/LocationGroupHeader.d.ts +5 -0
- package/dist/components/LocationGroupHeader.js +1 -0
- package/dist/components/LocationsGroupedField.d.ts +5 -0
- package/dist/components/LocationsGroupedField.js +1 -0
- package/dist/components/LocationsTreeContext.d.ts +2 -0
- package/dist/components/LocationsTreeContext.js +1 -0
- package/dist/components/Logo.d.ts +27 -0
- package/dist/components/Logo.js +1 -0
- package/dist/components/LogoBlock.d.ts +8 -0
- package/dist/components/LogoBlock.js +1 -0
- package/dist/components/Logos.d.ts +15 -0
- package/dist/components/Logos.js +1 -0
- package/dist/components/LongRead.d.ts +20 -0
- package/dist/components/LongRead.js +1 -0
- package/dist/components/Manifesto.d.ts +14 -0
- package/dist/components/Manifesto.js +1 -0
- package/dist/components/Masthead.d.ts +16 -0
- package/dist/components/Masthead.js +1 -0
- package/dist/components/MediaSidePanel.d.ts +6 -0
- package/dist/components/MediaSidePanel.js +1 -0
- package/dist/components/MediaUploadField.d.ts +9 -0
- package/dist/components/MediaUploadField.js +1 -0
- package/dist/components/MockupSection.d.ts +59 -0
- package/dist/components/MockupSection.js +1 -0
- package/dist/components/MultiSelectField.d.ts +16 -0
- package/dist/components/MultiSelectField.js +1 -0
- package/dist/components/NodeContextMenu.d.ts +96 -0
- package/dist/components/NodeContextMenu.js +1 -0
- package/dist/components/OrderSummary.d.ts +17 -0
- package/dist/components/OrderSummary.js +1 -0
- package/dist/components/PageEditGuardNotices.d.ts +1 -0
- package/dist/components/PageEditGuardNotices.js +1 -0
- package/dist/components/PagesPanel.d.ts +8 -0
- package/dist/components/PagesPanel.js +1 -0
- package/dist/components/PanelToggleIcon.d.ts +3 -0
- package/dist/components/PanelToggleIcon.js +1 -0
- package/dist/components/ParagraphsA.d.ts +15 -0
- package/dist/components/ParagraphsA.js +1 -0
- package/dist/components/PartGlyphs.d.ts +7 -0
- package/dist/components/PartGlyphs.js +1 -0
- package/dist/components/PartInkControl.d.ts +7 -0
- package/dist/components/PartInkControl.js +1 -0
- package/dist/components/PartResetDot.d.ts +5 -0
- package/dist/components/PartResetDot.js +1 -0
- package/dist/components/PartSettingsPanel.d.ts +63 -0
- package/dist/components/PartSettingsPanel.js +1 -0
- package/dist/components/PartStyledText.d.ts +5 -0
- package/dist/components/PartStyledText.js +1 -0
- package/dist/components/PartTextBox.d.ts +20 -0
- package/dist/components/PartTextBox.js +1 -0
- package/dist/components/PaymentBadges.d.ts +14 -0
- package/dist/components/PaymentBadges.js +1 -0
- package/dist/components/PhoneMenuTools.d.ts +12 -0
- package/dist/components/PhoneMenuTools.js +1 -0
- package/dist/components/PhotographyField.d.ts +6 -0
- package/dist/components/PhotographyField.js +1 -0
- package/dist/components/Placeholder.d.ts +18 -0
- package/dist/components/Placeholder.js +1 -0
- package/dist/components/PostCard.d.ts +37 -0
- package/dist/components/PostCard.js +1 -0
- package/dist/components/PreviewChatContext.d.ts +23 -0
- package/dist/components/PreviewChatContext.js +1 -0
- package/dist/components/PreviewDeviceContext.d.ts +4 -0
- package/dist/components/PreviewDeviceContext.js +1 -0
- package/dist/components/PreviewFocusContext.d.ts +15 -0
- package/dist/components/PreviewFocusContext.js +1 -0
- package/dist/components/PreviewFooterContext.d.ts +17 -0
- package/dist/components/PreviewFooterContext.js +1 -0
- package/dist/components/PreviewHeaderContext.d.ts +97 -0
- package/dist/components/PreviewHeaderContext.js +1 -0
- package/dist/components/PreviewLocationPartContext.d.ts +10 -0
- package/dist/components/PreviewLocationPartContext.js +1 -0
- package/dist/components/PreviewPartAnchors.d.ts +16 -0
- package/dist/components/PreviewPartAnchors.js +1 -0
- package/dist/components/PreviewPartStyleContext.d.ts +21 -0
- package/dist/components/PreviewPartStyleContext.js +1 -0
- package/dist/components/PreviewPartsContext.d.ts +3 -0
- package/dist/components/PreviewPartsContext.js +1 -0
- package/dist/components/PreviewSocialContext.d.ts +30 -0
- package/dist/components/PreviewSocialContext.js +1 -0
- package/dist/components/PreviewSurfaceContext.d.ts +10 -0
- package/dist/components/PreviewSurfaceContext.js +1 -0
- package/dist/components/PreviewThemeFrame.d.ts +6 -0
- package/dist/components/PreviewThemeFrame.js +11 -0
- package/dist/components/PreviewTickerContext.d.ts +4 -0
- package/dist/components/PreviewTickerContext.js +1 -0
- package/dist/components/ProcessSteps.d.ts +32 -0
- package/dist/components/ProcessSteps.js +1 -0
- package/dist/components/Prose.d.ts +9 -0
- package/dist/components/Prose.js +1 -0
- package/dist/components/PublishedFooterContext.d.ts +11 -0
- package/dist/components/PublishedFooterContext.js +1 -0
- package/dist/components/PublishedPartStylesContext.d.ts +15 -0
- package/dist/components/PublishedPartStylesContext.js +1 -0
- package/dist/components/RMark.d.ts +6 -0
- package/dist/components/RMark.js +1 -0
- package/dist/components/Reel.d.ts +15 -0
- package/dist/components/Reel.js +1 -0
- package/dist/components/RuleLine.d.ts +1 -0
- package/dist/components/RuleLine.js +1 -0
- package/dist/components/SearchSelectField.d.ts +20 -0
- package/dist/components/SearchSelectField.js +1 -0
- package/dist/components/SectionAnimation.d.ts +7 -0
- package/dist/components/SectionAnimation.js +1 -0
- package/dist/components/SectionEditor.d.ts +66 -0
- package/dist/components/SectionEditor.js +1 -0
- package/dist/components/SectionEditorShell.d.ts +1 -0
- package/dist/components/SectionEditorShell.js +1 -0
- package/dist/components/SectionEyebrow.d.ts +10 -0
- package/dist/components/SectionEyebrow.js +1 -0
- package/dist/components/SectionHeader.d.ts +29 -0
- package/dist/components/SectionHeader.js +1 -0
- package/dist/components/SectionIcon.d.ts +5 -0
- package/dist/components/SectionIcon.js +1 -0
- package/dist/components/SectionTextEntries.d.ts +5 -0
- package/dist/components/SectionTextEntries.js +1 -0
- package/dist/components/SectionTextPartBridge.d.ts +6 -0
- package/dist/components/SectionTextPartBridge.js +1 -0
- package/dist/components/SectionThemePicker.d.ts +23 -0
- package/dist/components/SectionThemePicker.js +1 -0
- package/dist/components/SectionThumbnail.d.ts +3 -0
- package/dist/components/SectionThumbnail.js +1 -0
- package/dist/components/Series.d.ts +19 -0
- package/dist/components/Series.js +1 -0
- package/dist/components/ShadowColourField.d.ts +5 -0
- package/dist/components/ShadowColourField.js +1 -0
- package/dist/components/SidePanelHead.d.ts +23 -0
- package/dist/components/SidePanelHead.js +1 -0
- package/dist/components/SideSpaceField.d.ts +8 -0
- package/dist/components/SideSpaceField.js +1 -0
- package/dist/components/SiteEditorProvider.d.ts +10 -0
- package/dist/components/SiteEditorProvider.js +1 -0
- package/dist/components/SiteFields.d.ts +6 -0
- package/dist/components/SiteFields.js +1 -0
- package/dist/components/SiteGutterFrame.d.ts +9 -0
- package/dist/components/SiteGutterFrame.js +1 -0
- package/dist/components/SiteLogoContext.d.ts +25 -0
- package/dist/components/SiteLogoContext.js +1 -0
- package/dist/components/SitePhotographyContext.d.ts +8 -0
- package/dist/components/SitePhotographyContext.js +1 -0
- package/dist/components/SiteStyleUnset.d.ts +1 -0
- package/dist/components/SiteStyleUnset.js +1 -0
- package/dist/components/SiteWidthField.d.ts +8 -0
- package/dist/components/SiteWidthField.js +1 -0
- package/dist/components/SlotChildActionsContext.d.ts +13 -0
- package/dist/components/SlotChildActionsContext.js +1 -0
- package/dist/components/SlotChildRows.d.ts +16 -0
- package/dist/components/SlotChildRows.js +1 -0
- package/dist/components/SocialLinksPanel.d.ts +3 -0
- package/dist/components/SocialLinksPanel.js +1 -0
- package/dist/components/SourceStatus.d.ts +14 -0
- package/dist/components/SourceStatus.js +1 -0
- package/dist/components/Spacer.d.ts +6 -0
- package/dist/components/Spacer.js +1 -0
- package/dist/components/SpecStrip.d.ts +10 -0
- package/dist/components/SpecStrip.js +1 -0
- package/dist/components/Split.d.ts +33 -0
- package/dist/components/Split.js +1 -0
- package/dist/components/StandaloneSectionEditor.d.ts +18 -0
- package/dist/components/StandaloneSectionEditor.js +1 -0
- package/dist/components/Stats.d.ts +14 -0
- package/dist/components/Stats.js +1 -0
- package/dist/components/StatsParagraph.d.ts +21 -0
- package/dist/components/StatsParagraph.js +1 -0
- package/dist/components/StorefrontDocumentContext.d.ts +67 -0
- package/dist/components/StorefrontDocumentContext.js +1 -0
- package/dist/components/StorefrontEditor.d.ts +18 -0
- package/dist/components/StorefrontEditor.js +1 -0
- package/dist/components/StorefrontEditorChrome.d.ts +1 -0
- package/dist/components/StorefrontEditorChrome.js +1 -0
- package/dist/components/StorefrontLinkField.d.ts +10 -0
- package/dist/components/StorefrontLinkField.js +1 -0
- package/dist/components/StylesPanel.d.ts +11 -0
- package/dist/components/StylesPanel.js +1 -0
- package/dist/components/SwitchToBoxFooter.d.ts +1 -0
- package/dist/components/SwitchToBoxFooter.js +1 -0
- package/dist/components/TemplateGlyph.d.ts +6 -0
- package/dist/components/TemplateGlyph.js +1 -0
- package/dist/components/Testimonials.d.ts +16 -0
- package/dist/components/Testimonials.js +1 -0
- package/dist/components/Text.d.ts +11 -0
- package/dist/components/Text.js +1 -0
- package/dist/components/TextStyleRow.d.ts +13 -0
- package/dist/components/TextStyleRow.js +1 -0
- package/dist/components/TextStylesField.d.ts +17 -0
- package/dist/components/TextStylesField.js +1 -0
- package/dist/components/ThemeCard.d.ts +40 -0
- package/dist/components/ThemeCard.js +1 -0
- package/dist/components/ThemeColourField.d.ts +5 -0
- package/dist/components/ThemeColourField.js +1 -0
- package/dist/components/ThemeField.d.ts +8 -0
- package/dist/components/ThemeField.js +1 -0
- package/dist/components/Ticker.d.ts +18 -0
- package/dist/components/Ticker.js +1 -0
- package/dist/components/TickerSection.d.ts +18 -0
- package/dist/components/TickerSection.js +1 -0
- package/dist/components/TickerSettingsPanel.d.ts +3 -0
- package/dist/components/TickerSettingsPanel.js +1 -0
- package/dist/components/Timeline.d.ts +24 -0
- package/dist/components/Timeline.js +1 -0
- package/dist/components/TimelineTrack.d.ts +22 -0
- package/dist/components/TimelineTrack.js +1 -0
- package/dist/components/TitleWithButtons.d.ts +14 -0
- package/dist/components/TitleWithButtons.js +1 -0
- package/dist/components/UiIcon.d.ts +10 -0
- package/dist/components/UiIcon.js +1 -0
- package/dist/components/WebsiteSettingsPanel.d.ts +46 -0
- package/dist/components/WebsiteSettingsPanel.js +1 -0
- package/dist/components/WidthFollowField.d.ts +10 -0
- package/dist/components/WidthFollowField.js +1 -0
- package/dist/components/cartGlyph.d.ts +1 -0
- package/dist/components/cartGlyph.js +1 -0
- package/dist/components/floating-editor/tokens.d.ts +27 -0
- package/dist/components/floating-editor/tokens.js +1 -0
- package/dist/components/goldPhrases.d.ts +7 -0
- package/dist/components/goldPhrases.js +2 -0
- package/dist/components/integrationIcons.d.ts +2 -0
- package/dist/components/integrationIcons.js +1 -0
- package/dist/components/panel-widths.d.ts +12 -0
- package/dist/components/panel-widths.js +1 -0
- package/dist/components/preview-devices.d.ts +3 -0
- package/dist/components/preview-devices.js +1 -0
- package/dist/components/socialIcons.d.ts +8 -0
- package/dist/components/socialIcons.js +1 -0
- package/dist/components/storefront-editor.css +5731 -0
- package/dist/components/useCountUp.d.ts +10 -0
- package/dist/components/useCountUp.js +1 -0
- package/dist/components/usePartBridge.d.ts +9 -0
- package/dist/components/usePartBridge.js +1 -0
- package/dist/components/usePreviewHref.d.ts +5 -0
- package/dist/components/usePreviewHref.js +1 -0
- package/dist/components/useReducedMotion.d.ts +4 -0
- package/dist/components/useReducedMotion.js +1 -0
- package/dist/components/useSnapshotSource.d.ts +17 -0
- package/dist/components/useSnapshotSource.js +1 -0
- package/dist/components/useSocialSettings.d.ts +14 -0
- package/dist/components/useSocialSettings.js +1 -0
- package/dist/components/useStorefrontBlogPosts.d.ts +2 -0
- package/dist/components/useStorefrontBlogPosts.js +1 -0
- package/dist/lib/content/authored-props.d.ts +4 -0
- package/dist/lib/content/authored-props.js +1 -0
- package/dist/lib/content/box-background.d.ts +31 -0
- package/dist/lib/content/box-background.js +1 -0
- package/dist/lib/content/box-layout.d.ts +78 -0
- package/dist/lib/content/box-layout.js +1 -0
- package/dist/lib/content/button-arrow.d.ts +2 -0
- package/dist/lib/content/button-arrow.js +1 -0
- package/dist/lib/content/card-corners.d.ts +12 -0
- package/dist/lib/content/card-corners.js +1 -0
- package/dist/lib/content/card-image-background.d.ts +11 -0
- package/dist/lib/content/card-image-background.js +1 -0
- package/dist/lib/content/card-image-shape.d.ts +5 -0
- package/dist/lib/content/card-image-shape.js +1 -0
- package/dist/lib/content/cart-drawer.d.ts +20 -0
- package/dist/lib/content/cart-drawer.js +1 -0
- package/dist/lib/content/contact.d.ts +79 -0
- package/dist/lib/content/contact.js +3 -0
- package/dist/lib/content/container-direction.d.ts +14 -0
- package/dist/lib/content/container-direction.js +1 -0
- package/dist/lib/content/container-gap.d.ts +31 -0
- package/dist/lib/content/container-gap.js +1 -0
- package/dist/lib/content/footer.d.ts +30 -0
- package/dist/lib/content/footer.js +1 -0
- package/dist/lib/content/footprint.d.ts +22 -0
- package/dist/lib/content/footprint.js +1 -0
- package/dist/lib/content/gallery-card-layout.d.ts +7 -0
- package/dist/lib/content/gallery-card-layout.js +1 -0
- package/dist/lib/content/gallery-layout.d.ts +154 -0
- package/dist/lib/content/gallery-layout.js +1 -0
- package/dist/lib/content/grid-span.d.ts +15 -0
- package/dist/lib/content/grid-span.js +1 -0
- package/dist/lib/content/image-corners.d.ts +7 -0
- package/dist/lib/content/image-corners.js +1 -0
- package/dist/lib/content/image-fit.d.ts +11 -0
- package/dist/lib/content/image-fit.js +1 -0
- package/dist/lib/content/image-treatment.d.ts +20 -0
- package/dist/lib/content/image-treatment.js +1 -0
- package/dist/lib/content/image-width.d.ts +9 -0
- package/dist/lib/content/image-width.js +1 -0
- package/dist/lib/content/page-background.d.ts +4 -0
- package/dist/lib/content/page-background.js +1 -0
- package/dist/lib/content/page-width.d.ts +63 -0
- package/dist/lib/content/page-width.js +1 -0
- package/dist/lib/content/product-page.d.ts +11 -0
- package/dist/lib/content/product-page.js +1 -0
- package/dist/lib/content/section-animation.d.ts +13 -0
- package/dist/lib/content/section-animation.js +1 -0
- package/dist/lib/content/section-background.d.ts +7 -0
- package/dist/lib/content/section-background.js +1 -0
- package/dist/lib/content/section-corners.d.ts +16 -0
- package/dist/lib/content/section-corners.js +1 -0
- package/dist/lib/content/section-height.d.ts +9 -0
- package/dist/lib/content/section-height.js +1 -0
- package/dist/lib/content/section-min-height.d.ts +60 -0
- package/dist/lib/content/section-min-height.js +1 -0
- package/dist/lib/content/section-padding.d.ts +33 -0
- package/dist/lib/content/section-padding.js +1 -0
- package/dist/lib/content/section-surface.d.ts +13 -0
- package/dist/lib/content/section-surface.js +1 -0
- package/dist/lib/content/section-type-size.d.ts +7 -0
- package/dist/lib/content/section-type-size.js +1 -0
- package/dist/lib/content/section-width.d.ts +19 -0
- package/dist/lib/content/section-width.js +1 -0
- package/dist/lib/content/site-gutter.d.ts +2 -0
- package/dist/lib/content/site-gutter.js +1 -0
- package/dist/lib/content/site-name.d.ts +2 -0
- package/dist/lib/content/site-name.js +1 -0
- package/dist/lib/content/social-links.d.ts +12 -0
- package/dist/lib/content/social-links.js +1 -0
- package/dist/lib/content/subscribe.d.ts +76 -0
- package/dist/lib/content/subscribe.js +2 -0
- package/dist/lib/content/view-tiers.d.ts +6 -0
- package/dist/lib/content/view-tiers.js +1 -0
- package/dist/lib/editor/preview-href.d.ts +6 -0
- package/dist/lib/editor/preview-href.js +1 -0
- package/dist/lib/editor-admin-bridge.d.ts +29 -0
- package/dist/lib/editor-admin-bridge.js +1 -0
- package/dist/lib/editor-auth.d.ts +3 -0
- package/dist/lib/editor-auth.js +1 -0
- package/dist/lib/editor-block-metadata.d.ts +6 -0
- package/dist/lib/editor-block-metadata.js +1 -0
- package/dist/lib/editor-blocks.d.ts +20 -0
- package/dist/lib/editor-blocks.js +1 -0
- package/dist/lib/editor-canvas-styles.d.ts +12 -0
- package/dist/lib/editor-canvas-styles.js +1 -0
- package/dist/lib/editor-chrome.d.ts +52 -0
- package/dist/lib/editor-chrome.js +1 -0
- package/dist/lib/editor-document-adapter.d.ts +55 -0
- package/dist/lib/editor-document-adapter.js +1 -0
- package/dist/lib/editor-document-hooks.d.ts +15 -0
- package/dist/lib/editor-document-hooks.js +0 -0
- package/dist/lib/editor-events.d.ts +8 -0
- package/dist/lib/editor-events.js +1 -0
- package/dist/lib/editor-failure.d.ts +4 -0
- package/dist/lib/editor-failure.js +1 -0
- package/dist/lib/editor-form-window.d.ts +21 -0
- package/dist/lib/editor-form-window.js +1 -0
- package/dist/lib/editor-host-inbound.d.ts +1 -0
- package/dist/lib/editor-host-inbound.js +1 -0
- package/dist/lib/editor-host.d.ts +135 -0
- package/dist/lib/editor-host.js +1 -0
- package/dist/lib/editor-key-scope.d.ts +3 -0
- package/dist/lib/editor-key-scope.js +1 -0
- package/dist/lib/editor-load-error.d.ts +4 -0
- package/dist/lib/editor-load-error.js +1 -0
- package/dist/lib/editor-media-panel.d.ts +23 -0
- package/dist/lib/editor-media-panel.js +1 -0
- package/dist/lib/editor-media-picker.d.ts +12 -0
- package/dist/lib/editor-media-picker.js +1 -0
- package/dist/lib/editor-page-lock.d.ts +1 -0
- package/dist/lib/editor-page-lock.js +1 -0
- package/dist/lib/editor-page-rows.d.ts +16 -0
- package/dist/lib/editor-page-rows.js +1 -0
- package/dist/lib/editor-section-templates.d.ts +2 -0
- package/dist/lib/editor-section-templates.js +1 -0
- package/dist/lib/editor-session-context.d.ts +7 -0
- package/dist/lib/editor-session-context.js +1 -0
- package/dist/lib/editor-session-loader.d.ts +4 -0
- package/dist/lib/editor-session-loader.js +1 -0
- package/dist/lib/editor-session.d.ts +45 -0
- package/dist/lib/editor-session.js +1 -0
- package/dist/lib/editor-site-slug.d.ts +2 -0
- package/dist/lib/editor-site-slug.js +1 -0
- package/dist/lib/editor-site.d.ts +3 -0
- package/dist/lib/editor-site.js +1 -0
- package/dist/lib/editor-theme.d.ts +1 -0
- package/dist/lib/editor-theme.js +1 -0
- package/dist/lib/fit-words.d.ts +3 -0
- package/dist/lib/fit-words.js +220 -0
- package/dist/lib/fonts.d.ts +32 -0
- package/dist/lib/fonts.js +1 -0
- package/dist/lib/geocode.d.ts +6 -0
- package/dist/lib/geocode.js +1 -0
- package/dist/lib/hero-arrows.d.ts +23 -0
- package/dist/lib/hero-arrows.js +1 -0
- package/dist/lib/hero-group-placement.d.ts +46 -0
- package/dist/lib/hero-group-placement.js +1 -0
- package/dist/lib/hero-overlay-anchor.d.ts +6 -0
- package/dist/lib/hero-overlay-anchor.js +1 -0
- package/dist/lib/hero-phone-stack.d.ts +27 -0
- package/dist/lib/hero-phone-stack.js +1 -0
- package/dist/lib/hero-swipe.d.ts +16 -0
- package/dist/lib/hero-swipe.js +1 -0
- package/dist/lib/hero-texture.d.ts +4 -0
- package/dist/lib/hero-texture.js +1 -0
- package/dist/lib/hero-video-control.d.ts +13 -0
- package/dist/lib/hero-video-control.js +1 -0
- package/dist/lib/image-focus.d.ts +16 -0
- package/dist/lib/image-focus.js +1 -0
- package/dist/lib/links/page-link-rules.d.ts +22 -0
- package/dist/lib/links/page-link-rules.js +1 -0
- package/dist/lib/locations-grid.d.ts +10 -0
- package/dist/lib/locations-grid.js +1 -0
- package/dist/lib/logo/analyze-logo-client.d.ts +3 -0
- package/dist/lib/logo/analyze-logo-client.js +1 -0
- package/dist/lib/logo/reverse-svg.d.ts +9 -0
- package/dist/lib/logo/reverse-svg.js +1 -0
- package/dist/lib/map-styles.d.ts +30 -0
- package/dist/lib/map-styles.js +1 -0
- package/dist/lib/maps-config.d.ts +16 -0
- package/dist/lib/maps-config.js +1 -0
- package/dist/lib/maps-loader.d.ts +3 -0
- package/dist/lib/maps-loader.js +1 -0
- package/dist/lib/markup.d.ts +38 -0
- package/dist/lib/markup.js +2 -0
- package/dist/lib/media.d.ts +10 -0
- package/dist/lib/media.js +1 -0
- package/dist/lib/parse-option.d.ts +3 -0
- package/dist/lib/parse-option.js +1 -0
- package/dist/lib/popup/text-kinds.d.ts +11 -0
- package/dist/lib/popup/text-kinds.js +1 -0
- package/dist/lib/preview-header-settings.d.ts +39 -0
- package/dist/lib/preview-header-settings.js +0 -0
- package/dist/lib/puck/ColourControl.d.ts +8 -0
- package/dist/lib/puck/ColourControl.js +1 -0
- package/dist/lib/puck/MarkupToolbar.d.ts +13 -0
- package/dist/lib/puck/MarkupToolbar.js +1 -0
- package/dist/lib/puck/add-palette.d.ts +20 -0
- package/dist/lib/puck/add-palette.js +1 -0
- package/dist/lib/puck/add-target.d.ts +10 -0
- package/dist/lib/puck/add-target.js +1 -0
- package/dist/lib/puck/apply-card-corners.d.ts +21 -0
- package/dist/lib/puck/apply-card-corners.js +1 -0
- package/dist/lib/puck/block-offer.d.ts +10 -0
- package/dist/lib/puck/block-offer.js +1 -0
- package/dist/lib/puck/block-types-in.d.ts +1 -0
- package/dist/lib/puck/block-types-in.js +1 -0
- package/dist/lib/puck/blocks/block-types.d.ts +12 -0
- package/dist/lib/puck/blocks/block-types.js +1 -0
- package/dist/lib/puck/blocks/general/Banner/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Banner/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Banner/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Banner/render.js +1 -0
- package/dist/lib/puck/blocks/general/Breadcrumb/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Breadcrumb/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Breadcrumb/render.d.ts +5 -0
- package/dist/lib/puck/blocks/general/Breadcrumb/render.js +1 -0
- package/dist/lib/puck/blocks/general/ButtonBlock/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ButtonBlock/fields.js +1 -0
- package/dist/lib/puck/blocks/general/ButtonBlock/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ButtonBlock/render.js +1 -0
- package/dist/lib/puck/blocks/general/Cards/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Cards/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Cards/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/Cards/render.js +1 -0
- package/dist/lib/puck/blocks/general/CategoryBar/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/CategoryBar/fields.js +1 -0
- package/dist/lib/puck/blocks/general/CategoryBar/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/CategoryBar/render.js +1 -0
- package/dist/lib/puck/blocks/general/Chart/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Chart/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Chart/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/Chart/render.js +2 -0
- package/dist/lib/puck/blocks/general/ContactLocations/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ContactLocations/fields.js +1 -0
- package/dist/lib/puck/blocks/general/ContactLocations/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ContactLocations/render.js +1 -0
- package/dist/lib/puck/blocks/general/CustomHTML/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/CustomHTML/fields.js +1 -0
- package/dist/lib/puck/blocks/general/CustomHTML/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/CustomHTML/render.js +3 -0
- package/dist/lib/puck/blocks/general/Divider/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Divider/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Divider/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Divider/render.js +1 -0
- package/dist/lib/puck/blocks/general/DocBody/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/DocBody/fields.js +1 -0
- package/dist/lib/puck/blocks/general/DocBody/render.d.ts +5 -0
- package/dist/lib/puck/blocks/general/DocBody/render.js +1 -0
- package/dist/lib/puck/blocks/general/DocMasthead/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/DocMasthead/fields.js +1 -0
- package/dist/lib/puck/blocks/general/DocMasthead/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/DocMasthead/render.js +1 -0
- package/dist/lib/puck/blocks/general/DocMetaCards/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/DocMetaCards/fields.js +1 -0
- package/dist/lib/puck/blocks/general/DocMetaCards/render.d.ts +4 -0
- package/dist/lib/puck/blocks/general/DocMetaCards/render.js +1 -0
- package/dist/lib/puck/blocks/general/DocTabs/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/DocTabs/fields.js +1 -0
- package/dist/lib/puck/blocks/general/DocTabs/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/DocTabs/render.js +1 -0
- package/dist/lib/puck/blocks/general/Eyebrow/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Eyebrow/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Eyebrow/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Eyebrow/render.js +1 -0
- package/dist/lib/puck/blocks/general/FAQ/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/FAQ/fields.js +1 -0
- package/dist/lib/puck/blocks/general/FAQ/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/FAQ/render.js +1 -0
- package/dist/lib/puck/blocks/general/FeaturedCover/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/FeaturedCover/fields.js +1 -0
- package/dist/lib/puck/blocks/general/FeaturedCover/render.d.ts +13 -0
- package/dist/lib/puck/blocks/general/FeaturedCover/render.js +1 -0
- package/dist/lib/puck/blocks/general/Flex/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Flex/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Flex/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/Flex/render.js +1 -0
- package/dist/lib/puck/blocks/general/Footprint/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Footprint/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Footprint/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/Footprint/render.js +2 -0
- package/dist/lib/puck/blocks/general/Grid/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Grid/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Grid/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/Grid/render.js +1 -0
- package/dist/lib/puck/blocks/general/Heading/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Heading/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Heading/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Heading/render.js +1 -0
- package/dist/lib/puck/blocks/general/Hero/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Hero/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Hero/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/Hero/render.js +1 -0
- package/dist/lib/puck/blocks/general/HeroGroup/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/HeroGroup/fields.js +1 -0
- package/dist/lib/puck/blocks/general/HeroGroup/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/HeroGroup/render.js +1 -0
- package/dist/lib/puck/blocks/general/HeroSingle/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/HeroSingle/fields.js +1 -0
- package/dist/lib/puck/blocks/general/HeroSingle/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/HeroSingle/render.js +1 -0
- package/dist/lib/puck/blocks/general/HeroSlide/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/HeroSlide/fields.js +1 -0
- package/dist/lib/puck/blocks/general/HeroSlide/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/HeroSlide/render.js +1 -0
- package/dist/lib/puck/blocks/general/ImageBlock/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ImageBlock/fields.js +1 -0
- package/dist/lib/puck/blocks/general/ImageBlock/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ImageBlock/render.js +1 -0
- package/dist/lib/puck/blocks/general/Integrations/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Integrations/fields.js +2 -0
- package/dist/lib/puck/blocks/general/Integrations/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Integrations/render.js +2 -0
- package/dist/lib/puck/blocks/general/IntroBleed/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/IntroBleed/fields.js +1 -0
- package/dist/lib/puck/blocks/general/IntroBleed/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/IntroBleed/render.js +2 -0
- package/dist/lib/puck/blocks/general/KeyFeatures/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/KeyFeatures/fields.js +1 -0
- package/dist/lib/puck/blocks/general/KeyFeatures/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/KeyFeatures/render.js +1 -0
- package/dist/lib/puck/blocks/general/LogoBlock/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/LogoBlock/fields.js +1 -0
- package/dist/lib/puck/blocks/general/LogoBlock/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/LogoBlock/render.js +1 -0
- package/dist/lib/puck/blocks/general/Logos/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Logos/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Logos/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Logos/render.js +1 -0
- package/dist/lib/puck/blocks/general/LongRead/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/LongRead/fields.js +1 -0
- package/dist/lib/puck/blocks/general/LongRead/render.d.ts +19 -0
- package/dist/lib/puck/blocks/general/LongRead/render.js +1 -0
- package/dist/lib/puck/blocks/general/Manifesto/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Manifesto/fields.js +2 -0
- package/dist/lib/puck/blocks/general/Manifesto/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Manifesto/render.js +1 -0
- package/dist/lib/puck/blocks/general/Masthead/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Masthead/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Masthead/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/Masthead/render.js +1 -0
- package/dist/lib/puck/blocks/general/Mockup/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Mockup/fields.js +2 -0
- package/dist/lib/puck/blocks/general/Mockup/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Mockup/render.js +2 -0
- package/dist/lib/puck/blocks/general/OrderSummary/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/OrderSummary/fields.js +1 -0
- package/dist/lib/puck/blocks/general/OrderSummary/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/OrderSummary/render.js +1 -0
- package/dist/lib/puck/blocks/general/ParagraphsA/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ParagraphsA/fields.js +1 -0
- package/dist/lib/puck/blocks/general/ParagraphsA/render.d.ts +9 -0
- package/dist/lib/puck/blocks/general/ParagraphsA/render.js +1 -0
- package/dist/lib/puck/blocks/general/PaymentBadges/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/PaymentBadges/fields.js +1 -0
- package/dist/lib/puck/blocks/general/PaymentBadges/render.d.ts +5 -0
- package/dist/lib/puck/blocks/general/PaymentBadges/render.js +1 -0
- package/dist/lib/puck/blocks/general/PostCard/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/PostCard/fields.js +1 -0
- package/dist/lib/puck/blocks/general/PostCard/render.d.ts +9 -0
- package/dist/lib/puck/blocks/general/PostCard/render.js +1 -0
- package/dist/lib/puck/blocks/general/ProcessSteps/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/ProcessSteps/fields.js +1 -0
- package/dist/lib/puck/blocks/general/ProcessSteps/render.d.ts +13 -0
- package/dist/lib/puck/blocks/general/ProcessSteps/render.js +1 -0
- package/dist/lib/puck/blocks/general/Prose/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Prose/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Prose/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/Prose/render.js +1 -0
- package/dist/lib/puck/blocks/general/SectionHeader/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/SectionHeader/fields.js +1 -0
- package/dist/lib/puck/blocks/general/SectionHeader/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/SectionHeader/render.js +1 -0
- package/dist/lib/puck/blocks/general/Series/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Series/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Series/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/Series/render.js +1 -0
- package/dist/lib/puck/blocks/general/Spacer/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Spacer/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Spacer/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Spacer/render.js +1 -0
- package/dist/lib/puck/blocks/general/SpecStrip/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/SpecStrip/fields.js +1 -0
- package/dist/lib/puck/blocks/general/SpecStrip/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/SpecStrip/render.js +1 -0
- package/dist/lib/puck/blocks/general/Split/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Split/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Split/render.d.ts +10 -0
- package/dist/lib/puck/blocks/general/Split/render.js +2 -0
- package/dist/lib/puck/blocks/general/Stats/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Stats/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Stats/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Stats/render.js +1 -0
- package/dist/lib/puck/blocks/general/StatsParagraph/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/StatsParagraph/fields.js +1 -0
- package/dist/lib/puck/blocks/general/StatsParagraph/render.d.ts +7 -0
- package/dist/lib/puck/blocks/general/StatsParagraph/render.js +1 -0
- package/dist/lib/puck/blocks/general/Testimonials/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Testimonials/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Testimonials/render.d.ts +6 -0
- package/dist/lib/puck/blocks/general/Testimonials/render.js +1 -0
- package/dist/lib/puck/blocks/general/Text/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Text/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Text/render.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Text/render.js +1 -0
- package/dist/lib/puck/blocks/general/Ticker/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Ticker/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Ticker/render.d.ts +5 -0
- package/dist/lib/puck/blocks/general/Ticker/render.js +1 -0
- package/dist/lib/puck/blocks/general/Timeline/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/Timeline/fields.js +1 -0
- package/dist/lib/puck/blocks/general/Timeline/render.d.ts +10 -0
- package/dist/lib/puck/blocks/general/Timeline/render.js +2 -0
- package/dist/lib/puck/blocks/general/TimelineTrack/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/TimelineTrack/fields.js +1 -0
- package/dist/lib/puck/blocks/general/TimelineTrack/render.d.ts +8 -0
- package/dist/lib/puck/blocks/general/TimelineTrack/render.js +1 -0
- package/dist/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +2 -0
- package/dist/lib/puck/blocks/general/TitleWithButtons/fields.js +1 -0
- package/dist/lib/puck/blocks/general/TitleWithButtons/render.d.ts +5 -0
- package/dist/lib/puck/blocks/general/TitleWithButtons/render.js +2 -0
- package/dist/lib/puck/blocks/general/index.d.ts +2 -0
- package/dist/lib/puck/blocks/general/index.js +1 -0
- package/dist/lib/puck/blocks/general/renders.d.ts +57 -0
- package/dist/lib/puck/blocks/general/renders.js +1 -0
- package/dist/lib/puck/blocks/general/section-bg-built-in.d.ts +6 -0
- package/dist/lib/puck/blocks/general/section-bg-built-in.js +1 -0
- package/dist/lib/puck/blocks/placeholders.d.ts +25 -0
- package/dist/lib/puck/blocks/placeholders.js +1 -0
- package/dist/lib/puck/blocks/scaffold.d.ts +22 -0
- package/dist/lib/puck/blocks/scaffold.js +1 -0
- package/dist/lib/puck/blocks/shared-fields.d.ts +14 -0
- package/dist/lib/puck/blocks/shared-fields.js +1 -0
- package/dist/lib/puck/booking-preview.d.ts +3 -0
- package/dist/lib/puck/booking-preview.js +1 -0
- package/dist/lib/puck/box-footer.d.ts +9 -0
- package/dist/lib/puck/box-footer.js +1 -0
- package/dist/lib/puck/build-config.d.ts +3 -0
- package/dist/lib/puck/build-config.js +1 -0
- package/dist/lib/puck/cap-hero-groups.d.ts +1 -0
- package/dist/lib/puck/cap-hero-groups.js +1 -0
- package/dist/lib/puck/container-blocks.d.ts +10 -0
- package/dist/lib/puck/container-blocks.js +1 -0
- package/dist/lib/puck/content-tree.d.ts +43 -0
- package/dist/lib/puck/content-tree.js +1 -0
- package/dist/lib/puck/controls.d.ts +346 -0
- package/dist/lib/puck/controls.js +1 -0
- package/dist/lib/puck/device-fields.d.ts +24 -0
- package/dist/lib/puck/device-fields.js +1 -0
- package/dist/lib/puck/editor-page-context.d.ts +6 -0
- package/dist/lib/puck/editor-page-context.js +1 -0
- package/dist/lib/puck/enclosing-section.d.ts +1 -0
- package/dist/lib/puck/enclosing-section.js +1 -0
- package/dist/lib/puck/field-groups.d.ts +23 -0
- package/dist/lib/puck/field-groups.js +1 -0
- package/dist/lib/puck/field-markers.d.ts +16 -0
- package/dist/lib/puck/field-markers.js +1 -0
- package/dist/lib/puck/field-noun.d.ts +3 -0
- package/dist/lib/puck/field-noun.js +1 -0
- package/dist/lib/puck/footer-blocks.d.ts +19 -0
- package/dist/lib/puck/footer-blocks.js +1 -0
- package/dist/lib/puck/footer-return.d.ts +3 -0
- package/dist/lib/puck/footer-return.js +1 -0
- package/dist/lib/puck/general-registry.d.ts +4 -0
- package/dist/lib/puck/general-registry.js +1 -0
- package/dist/lib/puck/geocode-resolve.d.ts +14 -0
- package/dist/lib/puck/geocode-resolve.js +1 -0
- package/dist/lib/puck/header-clearance.d.ts +49 -0
- package/dist/lib/puck/header-clearance.js +1 -0
- package/dist/lib/puck/header-ink.d.ts +16 -0
- package/dist/lib/puck/header-ink.js +1 -0
- package/dist/lib/puck/heading-outline.d.ts +7 -0
- package/dist/lib/puck/heading-outline.js +1 -0
- package/dist/lib/puck/hidable.d.ts +9 -0
- package/dist/lib/puck/hidable.js +1 -0
- package/dist/lib/puck/home-page.d.ts +1 -0
- package/dist/lib/puck/home-page.js +1 -0
- package/dist/lib/puck/left-view.d.ts +5 -0
- package/dist/lib/puck/left-view.js +1 -0
- package/dist/lib/puck/locations-focus.d.ts +22 -0
- package/dist/lib/puck/locations-focus.js +1 -0
- package/dist/lib/puck/locations-tree.d.ts +23 -0
- package/dist/lib/puck/locations-tree.js +2 -0
- package/dist/lib/puck/locked-blocks.d.ts +2 -0
- package/dist/lib/puck/locked-blocks.js +1 -0
- package/dist/lib/puck/media-manifest.json +138 -0
- package/dist/lib/puck/migrate-legacy.d.ts +2 -0
- package/dist/lib/puck/migrate-legacy.js +1 -0
- package/dist/lib/puck/mockup-variant-fields.d.ts +10 -0
- package/dist/lib/puck/mockup-variant-fields.js +1 -0
- package/dist/lib/puck/neutralization-contracts.d.ts +43 -0
- package/dist/lib/puck/neutralization-contracts.js +1 -0
- package/dist/lib/puck/one-h1.d.ts +3 -0
- package/dist/lib/puck/one-h1.js +1 -0
- package/dist/lib/puck/overlay-portal.d.ts +2 -0
- package/dist/lib/puck/overlay-portal.js +1 -0
- package/dist/lib/puck/overrides.d.ts +2 -0
- package/dist/lib/puck/overrides.js +1 -0
- package/dist/lib/puck/page-render.d.ts +5 -0
- package/dist/lib/puck/page-render.js +1 -0
- package/dist/lib/puck/page-root-fields.d.ts +29 -0
- package/dist/lib/puck/page-root-fields.js +1 -0
- package/dist/lib/puck/page-root.d.ts +55 -0
- package/dist/lib/puck/page-root.js +1 -0
- package/dist/lib/puck/panel-drop-empty-headings.d.ts +3 -0
- package/dist/lib/puck/panel-drop-empty-headings.js +1 -0
- package/dist/lib/puck/panel-fields.d.ts +12 -0
- package/dist/lib/puck/panel-fields.js +1 -0
- package/dist/lib/puck/panel-heading-scope.d.ts +8 -0
- package/dist/lib/puck/panel-heading-scope.js +1 -0
- package/dist/lib/puck/panel-no-control-mark.d.ts +7 -0
- package/dist/lib/puck/panel-no-control-mark.js +1 -0
- package/dist/lib/puck/part-anchors.d.ts +23 -0
- package/dist/lib/puck/part-anchors.js +1 -0
- package/dist/lib/puck/part-inks.d.ts +9 -0
- package/dist/lib/puck/part-inks.js +1 -0
- package/dist/lib/puck/part-key.d.ts +9 -0
- package/dist/lib/puck/part-key.js +1 -0
- package/dist/lib/puck/part-row-field.d.ts +2 -0
- package/dist/lib/puck/part-row-field.js +1 -0
- package/dist/lib/puck/part-rows.d.ts +15 -0
- package/dist/lib/puck/part-rows.js +1 -0
- package/dist/lib/puck/part-styles.d.ts +133 -0
- package/dist/lib/puck/part-styles.js +2 -0
- package/dist/lib/puck/part-text.d.ts +12 -0
- package/dist/lib/puck/part-text.js +1 -0
- package/dist/lib/puck/part-typing.d.ts +11 -0
- package/dist/lib/puck/part-typing.js +1 -0
- package/dist/lib/puck/passes/catalogue-labels.d.ts +2 -0
- package/dist/lib/puck/passes/catalogue-labels.js +1 -0
- package/dist/lib/puck/passes/cell-width.d.ts +2 -0
- package/dist/lib/puck/passes/cell-width.js +1 -0
- package/dist/lib/puck/passes/clickable-parts.d.ts +2 -0
- package/dist/lib/puck/passes/clickable-parts.js +1 -0
- package/dist/lib/puck/passes/corners.d.ts +3 -0
- package/dist/lib/puck/passes/corners.js +1 -0
- package/dist/lib/puck/passes/document-position.d.ts +16 -0
- package/dist/lib/puck/passes/document-position.js +1 -0
- package/dist/lib/puck/passes/empty-headings.d.ts +2 -0
- package/dist/lib/puck/passes/empty-headings.js +1 -0
- package/dist/lib/puck/passes/hidden-nodes.d.ts +2 -0
- package/dist/lib/puck/passes/hidden-nodes.js +1 -0
- package/dist/lib/puck/passes/index.d.ts +5 -0
- package/dist/lib/puck/passes/index.js +1 -0
- package/dist/lib/puck/passes/inspector.d.ts +2 -0
- package/dist/lib/puck/passes/inspector.js +1 -0
- package/dist/lib/puck/passes/registry-context.d.ts +2 -0
- package/dist/lib/puck/passes/registry-context.js +1 -0
- package/dist/lib/puck/passes/section-anchor.d.ts +2 -0
- package/dist/lib/puck/passes/section-anchor.js +1 -0
- package/dist/lib/puck/passes/section-animation.d.ts +2 -0
- package/dist/lib/puck/passes/section-animation.js +1 -0
- package/dist/lib/puck/passes/section-height.d.ts +2 -0
- package/dist/lib/puck/passes/section-height.js +1 -0
- package/dist/lib/puck/passes/section-padding.d.ts +8 -0
- package/dist/lib/puck/passes/section-padding.js +1 -0
- package/dist/lib/puck/passes/section-theme.d.ts +3 -0
- package/dist/lib/puck/passes/section-theme.js +1 -0
- package/dist/lib/puck/passes/section-width.d.ts +10 -0
- package/dist/lib/puck/passes/section-width.js +1 -0
- package/dist/lib/puck/passes/settings-groups.d.ts +3 -0
- package/dist/lib/puck/passes/settings-groups.js +1 -0
- package/dist/lib/puck/passes/slot-rules.d.ts +4 -0
- package/dist/lib/puck/passes/slot-rules.js +1 -0
- package/dist/lib/puck/passes/types.d.ts +51 -0
- package/dist/lib/puck/passes/types.js +0 -0
- package/dist/lib/puck/phone-override.d.ts +4 -0
- package/dist/lib/puck/phone-override.js +1 -0
- package/dist/lib/puck/pinned-seed-gate.d.ts +17 -0
- package/dist/lib/puck/pinned-seed-gate.js +1 -0
- package/dist/lib/puck/preview-click.d.ts +2 -0
- package/dist/lib/puck/preview-click.js +1 -0
- package/dist/lib/puck/preview-dom.d.ts +6 -0
- package/dist/lib/puck/preview-dom.js +1 -0
- package/dist/lib/puck/preview-selection-context.d.ts +19 -0
- package/dist/lib/puck/preview-selection-context.js +1 -0
- package/dist/lib/puck/registry.d.ts +3 -0
- package/dist/lib/puck/registry.js +1 -0
- package/dist/lib/puck/renamed-props.d.ts +2 -0
- package/dist/lib/puck/renamed-props.js +1 -0
- package/dist/lib/puck/sanitize.d.ts +1 -0
- package/dist/lib/puck/sanitize.js +1 -0
- package/dist/lib/puck/section-catalog.d.ts +36 -0
- package/dist/lib/puck/section-catalog.js +1 -0
- package/dist/lib/puck/section-descriptions.d.ts +1 -0
- package/dist/lib/puck/section-descriptions.js +1 -0
- package/dist/lib/puck/section-doc.d.ts +5 -0
- package/dist/lib/puck/section-doc.js +1 -0
- package/dist/lib/puck/section-groups.d.ts +21 -0
- package/dist/lib/puck/section-groups.js +1 -0
- package/dist/lib/puck/section-text-suppress.d.ts +9 -0
- package/dist/lib/puck/section-text-suppress.js +1 -0
- package/dist/lib/puck/site-gap-fields.d.ts +2 -0
- package/dist/lib/puck/site-gap-fields.js +1 -0
- package/dist/lib/puck/slider-typing.d.ts +9 -0
- package/dist/lib/puck/slider-typing.js +1 -0
- package/dist/lib/puck/slot-child-name.d.ts +8 -0
- package/dist/lib/puck/slot-child-name.js +1 -0
- package/dist/lib/puck/slot-heal.d.ts +2 -0
- package/dist/lib/puck/slot-heal.js +1 -0
- package/dist/lib/puck/slot-specs.d.ts +20 -0
- package/dist/lib/puck/slot-specs.js +1 -0
- package/dist/lib/puck/snapshot-contracts.d.ts +4 -0
- package/dist/lib/puck/snapshot-contracts.js +1 -0
- package/dist/lib/puck/source-bound-parts.d.ts +12 -0
- package/dist/lib/puck/source-bound-parts.js +1 -0
- package/dist/lib/puck/style-clipboard.d.ts +19 -0
- package/dist/lib/puck/style-clipboard.js +1 -0
- package/dist/lib/puck/templateFields.d.ts +2 -0
- package/dist/lib/puck/templateFields.js +1 -0
- package/dist/lib/puck/text-control-kinds.d.ts +13 -0
- package/dist/lib/puck/text-control-kinds.js +1 -0
- package/dist/lib/puck/text-parts.d.ts +33 -0
- package/dist/lib/puck/text-parts.js +1 -0
- package/dist/lib/puck/theme-swatches.d.ts +3 -0
- package/dist/lib/puck/theme-swatches.js +1 -0
- package/dist/lib/puck/tree-reveal.d.ts +11 -0
- package/dist/lib/puck/tree-reveal.js +1 -0
- package/dist/lib/puck/use-section-ops.d.ts +25 -0
- package/dist/lib/puck/use-section-ops.js +1 -0
- package/dist/lib/reel.d.ts +33 -0
- package/dist/lib/reel.js +1 -0
- package/dist/lib/safe-storage.d.ts +10 -0
- package/dist/lib/safe-storage.js +1 -0
- package/dist/lib/save-as-template-action.d.ts +29 -0
- package/dist/lib/save-as-template-action.js +1 -0
- package/dist/lib/section-template-types.d.ts +21 -0
- package/dist/lib/section-template-types.js +0 -0
- package/dist/lib/sections/card-cover-index.d.ts +7 -0
- package/dist/lib/sections/card-cover-index.js +1 -0
- package/dist/lib/sections/collection-card-text-regions.d.ts +4 -0
- package/dist/lib/sections/collection-card-text-regions.js +1 -0
- package/dist/lib/sections/divider-style.d.ts +12 -0
- package/dist/lib/sections/divider-style.js +1 -0
- package/dist/lib/sections/faq-text-regions.d.ts +4 -0
- package/dist/lib/sections/faq-text-regions.js +1 -0
- package/dist/lib/sections/hero-overlay.d.ts +10 -0
- package/dist/lib/sections/hero-overlay.js +1 -0
- package/dist/lib/sections/intro-bleed-layout.d.ts +15 -0
- package/dist/lib/sections/intro-bleed-layout.js +1 -0
- package/dist/lib/sections/product-card-style.d.ts +18 -0
- package/dist/lib/sections/product-card-style.js +1 -0
- package/dist/lib/sections/section-eyebrow-look.d.ts +11 -0
- package/dist/lib/sections/section-eyebrow-look.js +1 -0
- package/dist/lib/sections/section-head-placement.d.ts +31 -0
- package/dist/lib/sections/section-head-placement.js +1 -0
- package/dist/lib/sections/section-head-style.d.ts +16 -0
- package/dist/lib/sections/section-head-style.js +1 -0
- package/dist/lib/sections/section-number-style.d.ts +10 -0
- package/dist/lib/sections/section-number-style.js +1 -0
- package/dist/lib/sections/section-presets.d.ts +9 -0
- package/dist/lib/sections/section-presets.js +1 -0
- package/dist/lib/sections/section-text-kinds.d.ts +8 -0
- package/dist/lib/sections/section-text-kinds.js +1 -0
- package/dist/lib/sections/section-text-regions.d.ts +3 -0
- package/dist/lib/sections/section-text-regions.js +1 -0
- package/dist/lib/sections/spec-table-regions.d.ts +11 -0
- package/dist/lib/sections/spec-table-regions.js +1 -0
- package/dist/lib/sections/text-regions.d.ts +21 -0
- package/dist/lib/sections/text-regions.js +1 -0
- package/dist/lib/sections/ticker-join.d.ts +9 -0
- package/dist/lib/sections/ticker-join.js +1 -0
- package/dist/lib/sections/ticker-scroll.d.ts +11 -0
- package/dist/lib/sections/ticker-scroll.js +1 -0
- package/dist/lib/sections/ticker-style.d.ts +17 -0
- package/dist/lib/sections/ticker-style.js +1 -0
- package/dist/lib/site-runtime.d.ts +28 -0
- package/dist/lib/site-runtime.js +1 -0
- package/dist/lib/site-theme-row.d.ts +52 -0
- package/dist/lib/site-theme-row.js +0 -0
- package/dist/lib/slugify.d.ts +1 -0
- package/dist/lib/slugify.js +1 -0
- package/dist/lib/theme-dom.d.ts +14 -0
- package/dist/lib/theme-dom.js +1 -0
- package/dist/lib/theme-row-persist.d.ts +34 -0
- package/dist/lib/theme-row-persist.js +1 -0
- package/dist/lib/theme-save-message.d.ts +6 -0
- package/dist/lib/theme-save-message.js +1 -0
- package/dist/lib/theme.d.ts +177 -0
- package/dist/lib/theme.js +18 -0
- package/dist/lib/use-host-products.d.ts +2 -0
- package/dist/lib/use-host-products.js +1 -0
- package/dist/lib/web-backend.d.ts +193 -0
- package/dist/lib/web-backend.js +1 -0
- package/dist/lib/web-runtime.d.ts +7 -0
- package/dist/lib/web-runtime.js +1 -0
- package/dist/lib/word-styles.d.ts +54 -0
- package/dist/lib/word-styles.js +1 -0
- package/package.json +40 -36
- package/dist/chunks/EditorPreviewCheckout-YVSO4HE3.js +0 -4
- package/dist/chunks/PreviewFooter-34YJU76X.js +0 -1
- package/dist/chunks/SectionEditorShell-CVWJ6DSU.js +0 -1
- package/dist/chunks/SiteEditorProvider-ECGZVKLG.js +0 -1
- package/dist/chunks/StorefrontEditorChrome-YKEMJT3Z.js +0 -1
- package/dist/chunks/chunk-2XX3N727.js +0 -153
- package/dist/chunks/chunk-2XX3N727.js.LEGAL.txt +0 -4
- package/dist/chunks/chunk-6CP4D6VJ.js +0 -1
- package/dist/chunks/chunk-7QXLVNFD.js +0 -1
- package/dist/chunks/chunk-EKKAVQJX.js +0 -1
- package/dist/chunks/chunk-FU5UZ4UY.js +0 -1
- package/dist/chunks/chunk-HVOO2GNE.js +0 -1
- package/dist/chunks/chunk-J5WPJJCW.js +0 -2
- package/dist/chunks/chunk-MEIUD5LJ.js +0 -1
- package/dist/chunks/chunk-N3IM4XBG.js +0 -1
- package/dist/chunks/chunk-RRHBLOH4.js +0 -1
- package/dist/chunks/chunk-TUB4O4RZ.js +0 -15
- package/dist/chunks/chunk-TUB4O4RZ.js.LEGAL.txt +0 -27
- package/dist/chunks/chunk-UM3P3PXW.js +0 -230
- package/dist/chunks/chunk-XQGZKQII.js +0 -1
- package/dist/chunks/chunk-Y6SLVHK3.js +0 -1
- package/dist/chunks/fitment-data-6NXSKODX.js +0 -1
- package/dist/chunks/gallery-builds-data-SWA6XKFF.js +0 -1
- package/dist/chunks/headers-3CAQXQEY.js +0 -1
- package/dist/chunks/render-client-VMLB4BTY.js +0 -1
- package/dist/contract.d.ts +0 -48
- package/dist/contract.js +0 -1
- package/dist/editor.css +0 -1
- package/dist/index.d.ts +0 -721
- package/dist/index.js +0 -11050
- package/dist/links.d.ts +0 -86
- package/dist/links.js +0 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export declare const GALLERY_COLUMNS = 12;
|
|
2
|
+
export declare const GALLERY_COLUMNS_PHONE = 6;
|
|
3
|
+
export declare const GALLERY_PHONE_BREAKPOINT = 800;
|
|
4
|
+
export type GalleryCell = readonly [columns: number, rows: number];
|
|
5
|
+
export interface GalleryLayout {
|
|
6
|
+
readonly label: string;
|
|
7
|
+
readonly desktop: readonly GalleryCell[];
|
|
8
|
+
readonly phone: readonly GalleryCell[];
|
|
9
|
+
readonly across: 2 | 3 | 4 | 6;
|
|
10
|
+
readonly acrossPhone: 2 | 3 | 6;
|
|
11
|
+
}
|
|
12
|
+
export declare const GALLERY_LAYOUTS: {
|
|
13
|
+
readonly twoAcross: {
|
|
14
|
+
readonly label: "Two across";
|
|
15
|
+
readonly across: 2;
|
|
16
|
+
readonly acrossPhone: 2;
|
|
17
|
+
readonly desktop: readonly [readonly [6, 1], readonly [6, 1]];
|
|
18
|
+
readonly phone: readonly [readonly [3, 1], readonly [3, 1]];
|
|
19
|
+
};
|
|
20
|
+
readonly zigzag: {
|
|
21
|
+
readonly label: "Zigzag";
|
|
22
|
+
readonly across: 2;
|
|
23
|
+
readonly acrossPhone: 2;
|
|
24
|
+
readonly desktop: readonly [readonly [8, 1], readonly [4, 1], readonly [4, 1], readonly [8, 1]];
|
|
25
|
+
readonly phone: readonly [readonly [4, 1], readonly [2, 1], readonly [2, 1], readonly [4, 1]];
|
|
26
|
+
};
|
|
27
|
+
readonly brick: {
|
|
28
|
+
readonly label: "Brick";
|
|
29
|
+
readonly across: 2;
|
|
30
|
+
readonly acrossPhone: 2;
|
|
31
|
+
readonly desktop: readonly [readonly [5, 1], readonly [7, 1], readonly [7, 1], readonly [5, 1]];
|
|
32
|
+
readonly phone: readonly [readonly [2, 1], readonly [4, 1], readonly [4, 1], readonly [2, 1]];
|
|
33
|
+
};
|
|
34
|
+
readonly twoTall: {
|
|
35
|
+
readonly label: "Two tall";
|
|
36
|
+
readonly across: 2;
|
|
37
|
+
readonly acrossPhone: 2;
|
|
38
|
+
readonly desktop: readonly [readonly [6, 2], readonly [6, 2]];
|
|
39
|
+
readonly phone: readonly [readonly [3, 2], readonly [3, 2]];
|
|
40
|
+
};
|
|
41
|
+
readonly offsetTall: {
|
|
42
|
+
readonly label: "Offset tall";
|
|
43
|
+
readonly across: 2;
|
|
44
|
+
readonly acrossPhone: 2;
|
|
45
|
+
readonly desktop: readonly [readonly [5, 2], readonly [7, 1], readonly [3, 1], readonly [4, 1]];
|
|
46
|
+
readonly phone: readonly [readonly [3, 2], readonly [3, 1], readonly [3, 1]];
|
|
47
|
+
};
|
|
48
|
+
readonly ladder: {
|
|
49
|
+
readonly label: "Ladder";
|
|
50
|
+
readonly across: 2;
|
|
51
|
+
readonly acrossPhone: 2;
|
|
52
|
+
readonly desktop: readonly [readonly [3, 2], readonly [9, 1], readonly [5, 1], readonly [4, 1]];
|
|
53
|
+
readonly phone: readonly [readonly [2, 2], readonly [4, 1], readonly [2, 1], readonly [2, 1]];
|
|
54
|
+
};
|
|
55
|
+
readonly threeAcross: {
|
|
56
|
+
readonly label: "Three across";
|
|
57
|
+
readonly across: 3;
|
|
58
|
+
readonly acrossPhone: 3;
|
|
59
|
+
readonly desktop: readonly [readonly [4, 1], readonly [4, 1], readonly [4, 1]];
|
|
60
|
+
readonly phone: readonly [readonly [2, 1], readonly [2, 1], readonly [2, 1]];
|
|
61
|
+
};
|
|
62
|
+
readonly bigLeft: {
|
|
63
|
+
readonly label: "Big left";
|
|
64
|
+
readonly across: 3;
|
|
65
|
+
readonly acrossPhone: 3;
|
|
66
|
+
readonly desktop: readonly [readonly [6, 1], readonly [3, 1], readonly [3, 1]];
|
|
67
|
+
readonly phone: readonly [readonly [4, 1], readonly [1, 1], readonly [1, 1]];
|
|
68
|
+
};
|
|
69
|
+
readonly bigRight: {
|
|
70
|
+
readonly label: "Big right";
|
|
71
|
+
readonly across: 3;
|
|
72
|
+
readonly acrossPhone: 3;
|
|
73
|
+
readonly desktop: readonly [readonly [3, 1], readonly [3, 1], readonly [6, 1]];
|
|
74
|
+
readonly phone: readonly [readonly [1, 1], readonly [1, 1], readonly [4, 1]];
|
|
75
|
+
};
|
|
76
|
+
readonly threeStagger: {
|
|
77
|
+
readonly label: "Three stagger";
|
|
78
|
+
readonly across: 3;
|
|
79
|
+
readonly acrossPhone: 3;
|
|
80
|
+
readonly desktop: readonly [readonly [5, 1], readonly [4, 1], readonly [3, 1], readonly [3, 1], readonly [4, 1], readonly [5, 1]];
|
|
81
|
+
readonly phone: readonly [readonly [3, 1], readonly [2, 1], readonly [1, 1], readonly [1, 1], readonly [2, 1], readonly [3, 1]];
|
|
82
|
+
};
|
|
83
|
+
readonly threeLadder: {
|
|
84
|
+
readonly label: "Three ladder";
|
|
85
|
+
readonly across: 3;
|
|
86
|
+
readonly acrossPhone: 3;
|
|
87
|
+
readonly desktop: readonly [readonly [3, 1], readonly [4, 1], readonly [5, 1], readonly [5, 1], readonly [4, 1], readonly [3, 1]];
|
|
88
|
+
readonly phone: readonly [readonly [1, 1], readonly [2, 1], readonly [3, 1], readonly [3, 1], readonly [2, 1], readonly [1, 1]];
|
|
89
|
+
};
|
|
90
|
+
readonly tallMiddle: {
|
|
91
|
+
readonly label: "Tall middle";
|
|
92
|
+
readonly across: 3;
|
|
93
|
+
readonly acrossPhone: 3;
|
|
94
|
+
readonly desktop: readonly [readonly [4, 1], readonly [4, 2], readonly [4, 1], readonly [4, 1], readonly [4, 1]];
|
|
95
|
+
readonly phone: readonly [readonly [2, 1], readonly [2, 2], readonly [2, 1], readonly [2, 1], readonly [2, 1]];
|
|
96
|
+
};
|
|
97
|
+
readonly fourAcross: {
|
|
98
|
+
readonly label: "Four across";
|
|
99
|
+
readonly across: 4;
|
|
100
|
+
readonly acrossPhone: 2;
|
|
101
|
+
readonly desktop: readonly [readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1]];
|
|
102
|
+
readonly phone: readonly [readonly [3, 1], readonly [3, 1]];
|
|
103
|
+
};
|
|
104
|
+
readonly bigFirst: {
|
|
105
|
+
readonly label: "Big first";
|
|
106
|
+
readonly across: 4;
|
|
107
|
+
readonly acrossPhone: 2;
|
|
108
|
+
readonly desktop: readonly [readonly [6, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1]];
|
|
109
|
+
readonly phone: readonly [readonly [6, 1], readonly [3, 1], readonly [3, 1]];
|
|
110
|
+
};
|
|
111
|
+
readonly fourStagger: {
|
|
112
|
+
readonly label: "Four stagger";
|
|
113
|
+
readonly across: 4;
|
|
114
|
+
readonly acrossPhone: 2;
|
|
115
|
+
readonly desktop: readonly [readonly [4, 1], readonly [3, 1], readonly [2, 1], readonly [3, 1], readonly [2, 1], readonly [3, 1], readonly [4, 1], readonly [3, 1]];
|
|
116
|
+
readonly phone: readonly [readonly [4, 1], readonly [2, 1], readonly [2, 1], readonly [4, 1]];
|
|
117
|
+
};
|
|
118
|
+
readonly tallFirst: {
|
|
119
|
+
readonly label: "Tall first";
|
|
120
|
+
readonly across: 4;
|
|
121
|
+
readonly acrossPhone: 2;
|
|
122
|
+
readonly desktop: readonly [readonly [3, 2], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1]];
|
|
123
|
+
readonly phone: readonly [readonly [3, 2], readonly [3, 1], readonly [3, 1]];
|
|
124
|
+
};
|
|
125
|
+
readonly oneThenFour: {
|
|
126
|
+
readonly label: "One then four";
|
|
127
|
+
readonly across: 4;
|
|
128
|
+
readonly acrossPhone: 2;
|
|
129
|
+
readonly desktop: readonly [readonly [12, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1], readonly [3, 1]];
|
|
130
|
+
readonly phone: readonly [readonly [6, 1], readonly [3, 1], readonly [3, 1]];
|
|
131
|
+
};
|
|
132
|
+
readonly sixAcross: {
|
|
133
|
+
readonly label: "Six across";
|
|
134
|
+
readonly across: 6;
|
|
135
|
+
readonly acrossPhone: 3;
|
|
136
|
+
readonly desktop: readonly [readonly [2, 1], readonly [2, 1], readonly [2, 1], readonly [2, 1], readonly [2, 1], readonly [2, 1]];
|
|
137
|
+
readonly phone: readonly [readonly [2, 1], readonly [2, 1], readonly [2, 1]];
|
|
138
|
+
};
|
|
139
|
+
readonly sixStagger: {
|
|
140
|
+
readonly label: "Six stagger";
|
|
141
|
+
readonly across: 6;
|
|
142
|
+
readonly acrossPhone: 6;
|
|
143
|
+
readonly desktop: readonly [readonly [3, 1], readonly [2, 1], readonly [1, 1], readonly [2, 1], readonly [1, 1], readonly [3, 1], readonly [1, 1], readonly [3, 1], readonly [2, 1], readonly [2, 1], readonly [1, 1], readonly [3, 1]];
|
|
144
|
+
readonly phone: readonly [readonly [1, 1], readonly [1, 1], readonly [1, 1], readonly [1, 1], readonly [1, 1], readonly [1, 1]];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
export type GalleryLayoutKey = keyof typeof GALLERY_LAYOUTS;
|
|
148
|
+
export declare const GALLERY_LAYOUT_KEYS: GalleryLayoutKey[];
|
|
149
|
+
export declare const GALLERY_ACROSS_BUCKETS: readonly (2 | 3 | 4 | 6)[];
|
|
150
|
+
export declare function resolveGalleryLayout(value: unknown): GalleryLayout | null;
|
|
151
|
+
export declare function galleryTailSpan(layout: GalleryLayout, phone: boolean): number;
|
|
152
|
+
export declare const GALLERY_LAYOUT_CLASS_PREFIX = "sf-wall--";
|
|
153
|
+
export declare function galleryLayoutClass(key: GalleryLayoutKey): string;
|
|
154
|
+
export declare function galleryLayoutCss(key: GalleryLayoutKey): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const P=12,b=6,f=800,l={twoAcross:{label:"Two across",across:2,acrossPhone:2,desktop:[[6,1],[6,1]],phone:[[3,1],[3,1]]},zigzag:{label:"Zigzag",across:2,acrossPhone:2,desktop:[[8,1],[4,1],[4,1],[8,1]],phone:[[4,1],[2,1],[2,1],[4,1]]},brick:{label:"Brick",across:2,acrossPhone:2,desktop:[[5,1],[7,1],[7,1],[5,1]],phone:[[2,1],[4,1],[4,1],[2,1]]},twoTall:{label:"Two tall",across:2,acrossPhone:2,desktop:[[6,2],[6,2]],phone:[[3,2],[3,2]]},offsetTall:{label:"Offset tall",across:2,acrossPhone:2,desktop:[[5,2],[7,1],[3,1],[4,1]],phone:[[3,2],[3,1],[3,1]]},ladder:{label:"Ladder",across:2,acrossPhone:2,desktop:[[3,2],[9,1],[5,1],[4,1]],phone:[[2,2],[4,1],[2,1],[2,1]]},threeAcross:{label:"Three across",across:3,acrossPhone:3,desktop:[[4,1],[4,1],[4,1]],phone:[[2,1],[2,1],[2,1]]},bigLeft:{label:"Big left",across:3,acrossPhone:3,desktop:[[6,1],[3,1],[3,1]],phone:[[4,1],[1,1],[1,1]]},bigRight:{label:"Big right",across:3,acrossPhone:3,desktop:[[3,1],[3,1],[6,1]],phone:[[1,1],[1,1],[4,1]]},threeStagger:{label:"Three stagger",across:3,acrossPhone:3,desktop:[[5,1],[4,1],[3,1],[3,1],[4,1],[5,1]],phone:[[3,1],[2,1],[1,1],[1,1],[2,1],[3,1]]},threeLadder:{label:"Three ladder",across:3,acrossPhone:3,desktop:[[3,1],[4,1],[5,1],[5,1],[4,1],[3,1]],phone:[[1,1],[2,1],[3,1],[3,1],[2,1],[1,1]]},tallMiddle:{label:"Tall middle",across:3,acrossPhone:3,desktop:[[4,1],[4,2],[4,1],[4,1],[4,1]],phone:[[2,1],[2,2],[2,1],[2,1],[2,1]]},fourAcross:{label:"Four across",across:4,acrossPhone:2,desktop:[[3,1],[3,1],[3,1],[3,1]],phone:[[3,1],[3,1]]},bigFirst:{label:"Big first",across:4,acrossPhone:2,desktop:[[6,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1]],phone:[[6,1],[3,1],[3,1]]},fourStagger:{label:"Four stagger",across:4,acrossPhone:2,desktop:[[4,1],[3,1],[2,1],[3,1],[2,1],[3,1],[4,1],[3,1]],phone:[[4,1],[2,1],[2,1],[4,1]]},tallFirst:{label:"Tall first",across:4,acrossPhone:2,desktop:[[3,2],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1]],phone:[[3,2],[3,1],[3,1]]},oneThenFour:{label:"One then four",across:4,acrossPhone:2,desktop:[[12,1],[3,1],[3,1],[3,1],[3,1]],phone:[[6,1],[3,1],[3,1]]},sixAcross:{label:"Six across",across:6,acrossPhone:3,desktop:[[2,1],[2,1],[2,1],[2,1],[2,1],[2,1]],phone:[[2,1],[2,1],[2,1]]},sixStagger:{label:"Six stagger",across:6,acrossPhone:6,desktop:[[3,1],[2,1],[1,1],[2,1],[1,1],[3,1],[1,1],[3,1],[2,1],[2,1],[1,1],[3,1]],phone:[[1,1],[1,1],[1,1],[1,1],[1,1],[1,1]]}},k=Object.keys(l),A=[2,3,4,6];function E(s){return typeof s!="string"||s===""?null:l[s]??null}function h(s,e){return e?6/s.acrossPhone:12/s.across}const g="sf-wall--";function u(s){return`${g}${s}`}function _(s){const e=l[s],a=`.${u(s)}`,o=[],c=(p,i)=>{const t=[],n=p.length;p.forEach(([r,d],L)=>{t.push(`${a} > :nth-child(${n}n+${L+1}){grid-column:span ${r};grid-row:span ${d}}`)});for(let r=1;r<n;r+=1)t.push(`${a}:has(> :nth-child(${n}n+${r}):last-child) > :nth-last-child(-n+${r}){grid-column:span ${i};grid-row:span 1}`);return t};return o.push(`${a}{grid-template-columns:repeat(12,minmax(0,1fr))}`),o.push(...c(e.desktop,h(e,!1))),o.push("@media (max-width:800px){"),o.push(`${a}{grid-template-columns:repeat(6,minmax(0,1fr))}`),o.push(...c(e.phone,h(e,!0))),o.push("}"),o.join("")}export{A as GALLERY_ACROSS_BUCKETS,P as GALLERY_COLUMNS,b as GALLERY_COLUMNS_PHONE,l as GALLERY_LAYOUTS,g as GALLERY_LAYOUT_CLASS_PREFIX,k as GALLERY_LAYOUT_KEYS,f as GALLERY_PHONE_BREAKPOINT,u as galleryLayoutClass,_ as galleryLayoutCss,h as galleryTailSpan,E as resolveGalleryLayout};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const GRID_MAX_COLUMNS = 12;
|
|
2
|
+
export declare const GRID_MOBILE_MIN_COLUMNS = 1;
|
|
3
|
+
export declare const GRID_MOBILE_MAX_COLUMNS = 3;
|
|
4
|
+
export declare const GRID_PHONE_BREAKPOINT = 800;
|
|
5
|
+
export declare const GRID_COLUMNS_FALLBACK = 3;
|
|
6
|
+
export declare const GRID_SPAN_FALLBACK = 1;
|
|
7
|
+
export declare function resolveGridColumns(columns: unknown): number;
|
|
8
|
+
export declare function resolveGridMobileColumns(columns: unknown, desktopColumns?: unknown): number;
|
|
9
|
+
export declare function resolveGridSpan(span: unknown): number | null;
|
|
10
|
+
export declare const GRID_SPAN_ATTR = "data-sf-span";
|
|
11
|
+
export declare const POSITION_CONTAINERS: readonly ["Grid", "GalleryB"];
|
|
12
|
+
export declare function containerOffersPositions(node: {
|
|
13
|
+
type?: unknown;
|
|
14
|
+
props?: Record<string, unknown>;
|
|
15
|
+
} | null | undefined): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{resolveGalleryLayout as i}from"./gallery-layout.js";const u=12,s=1,l=3,_=800,p=3,I=1;function e(r,t,n){const o=typeof r=="number"?r:Number.parseInt(String(r??""),10);return Number.isFinite(o)?Math.min(n,Math.max(t,Math.trunc(o))):null}function c(r){return e(r,1,u)??p}function a(r,t){const n=e(r,s,l);return n??(c(t)===4?2:s)}function G(r){return r==null||r===""?null:e(r,1,u)}const N="data-sf-span",x=["Grid","GalleryB"];function M(r){if(!r)return!1;if(r.type==="Grid")return!0;if(r.type==="GalleryB"){if(i(r.props?.layout))return!1;const t=r.props?.columns;return t!=null&&t!==""}return!1}export{p as GRID_COLUMNS_FALLBACK,u as GRID_MAX_COLUMNS,l as GRID_MOBILE_MAX_COLUMNS,s as GRID_MOBILE_MIN_COLUMNS,_ as GRID_PHONE_BREAKPOINT,N as GRID_SPAN_ATTR,I as GRID_SPAN_FALLBACK,x as POSITION_CONTAINERS,M as containerOffersPositions,c as resolveGridColumns,a as resolveGridMobileColumns,G as resolveGridSpan};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
import { CORNER_RADIUS_MAX, CORNER_RADIUS_MIN } from "../theme.js";
|
|
3
|
+
export { CORNER_RADIUS_MAX, CORNER_RADIUS_MIN };
|
|
4
|
+
export declare const IMAGE_CORNER_STEP = 1;
|
|
5
|
+
export declare const IMAGE_CORNERS_LABEL = "Corners";
|
|
6
|
+
export declare function normalizeImageCorners(value?: number | string | null): number | null;
|
|
7
|
+
export declare function imageCornerStyle(value: unknown, sides?: unknown): CSSProperties | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cornerSidesShorthand as t,hasCornerSubset as i,normalizeCornerSides as R}from"./section-corners.js";import{CORNER_RADIUS_MAX as s,CORNER_RADIUS_MIN as u,normalizeCornerRadius as a}from"../theme.js";const S=1,l="Corners";function C(r){return a(r)}function E(r,o){const e=C(r);if(e===null)return null;const n=`${e}px`;return{borderRadius:i(o)?t(n,R(o)??[]):n}}export{s as CORNER_RADIUS_MAX,u as CORNER_RADIUS_MIN,l as IMAGE_CORNERS_LABEL,S as IMAGE_CORNER_STEP,E as imageCornerStyle,C as normalizeImageCorners};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ImageFit = "cover" | "contain";
|
|
2
|
+
export declare const IMAGE_FITS: readonly ["cover", "contain"];
|
|
3
|
+
export declare const IMAGE_FIT_LABEL: Record<ImageFit, string>;
|
|
4
|
+
export declare const IMAGE_FIT_ROW_LABEL = "Image fit";
|
|
5
|
+
export declare function parseImageFit(value: unknown, fallback: ImageFit): ImageFit;
|
|
6
|
+
export declare function imageFitOptions(): {
|
|
7
|
+
label: string;
|
|
8
|
+
value: ImageFit;
|
|
9
|
+
}[];
|
|
10
|
+
export declare function imageFitClass(fit: ImageFit): string;
|
|
11
|
+
export declare function imageIsCropped(aspect: unknown, fit: ImageFit): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=["cover","contain"],e={cover:"Cover",contain:"Contain"},r="Image fit";function c(t,o){return n.includes(t)?t:o}function i(){return n.map(t=>({label:e[t],value:t}))}function a(t){return t==="contain"?"object-contain":"object-cover"}function p(t,o){return t!=="auto"&&o==="cover"}export{n as IMAGE_FITS,e as IMAGE_FIT_LABEL,r as IMAGE_FIT_ROW_LABEL,a as imageFitClass,i as imageFitOptions,p as imageIsCropped,c as parseImageFit};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const IMAGE_GRAYSCALE_FILTER = "grayscale(1) contrast(1.03)";
|
|
2
|
+
export declare const IMAGE_GRAYSCALE_LABEL = "Black and white";
|
|
3
|
+
export declare function imageTreatmentStyle(grayscale?: boolean | null): {
|
|
4
|
+
filter?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function imageTreatmentProps(grayscale?: boolean | null): {
|
|
7
|
+
style?: {
|
|
8
|
+
filter: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const SITE_PHOTO_CLASS = "sf-photo-grayscale";
|
|
12
|
+
export declare const SITE_PHOTO_CSS: string;
|
|
13
|
+
export interface ImageTreatment {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: {
|
|
16
|
+
filter: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare function resolveImageTreatment(block?: boolean | null, site?: boolean | null): ImageTreatment;
|
|
20
|
+
export declare function sitePhotographyTokens(grayscale?: boolean | null): Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o="grayscale(1) contrast(1.03)",s="Black and white";function n(e){return e===!0?{filter:o}:{}}function a(e){const{filter:r}=n(e);return r?{style:{filter:r}}:{}}const t="sf-photo-grayscale",i=`@media (hover:hover){.${t}{filter:${o};transition:filter 160ms ease}.${t}:hover{filter:none}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${t}{transition:none}}`;function c(e,r){return typeof e=="boolean"?e?a(!0):{}:r===!0?{className:t}:{}}function u(e){return e===!0?{[t]:i}:{}}export{o as IMAGE_GRAYSCALE_FILTER,s as IMAGE_GRAYSCALE_LABEL,t as SITE_PHOTO_CLASS,i as SITE_PHOTO_CSS,a as imageTreatmentProps,n as imageTreatmentStyle,c as resolveImageTreatment,u as sitePhotographyTokens};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export declare const IMAGE_WIDTH: {
|
|
3
|
+
readonly min: 40;
|
|
4
|
+
readonly max: 2000;
|
|
5
|
+
readonly step: 10;
|
|
6
|
+
readonly fallback: 2000;
|
|
7
|
+
readonly unit: "px";
|
|
8
|
+
};
|
|
9
|
+
export declare function imageWidthStyle(value: number | undefined): CSSProperties | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n={min:40,max:2e3,step:10,fallback:2e3,unit:"px"};function i(t){return typeof t!="number"?null:{width:`${t}${n.unit}`,maxWidth:"100%"}}export{n as IMAGE_WIDTH,i as imageWidthStyle};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const PAGE_BACKGROUND_DEFAULT: "#ffffff";
|
|
2
|
+
export declare function resolvePageBackground(v: unknown): string;
|
|
3
|
+
export declare function isPageBackgroundAuthored(v: unknown): boolean;
|
|
4
|
+
export declare function pageBackgroundVars(v: unknown): Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t="#ffffff",e=/^#[0-9a-fA-F]{6}$/;function n(r){return o(r)?r:t}function o(r){return typeof r=="string"&&e.test(r)}function f(r){return{"--bg":n(r)}}export{t as PAGE_BACKGROUND_DEFAULT,o as isPageBackgroundAuthored,f as pageBackgroundVars,n as resolvePageBackground};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export declare const PAGE_WIDTH: {
|
|
3
|
+
readonly min: 1000;
|
|
4
|
+
readonly max: 2000;
|
|
5
|
+
readonly step: 50;
|
|
6
|
+
readonly default: 1600;
|
|
7
|
+
};
|
|
8
|
+
export declare function centredCap(maxWidth: number | string): CSSProperties;
|
|
9
|
+
export declare function pageWidthStyle(fullWidth?: boolean, pageWidth?: number): CSSProperties | null;
|
|
10
|
+
export declare const SITE_WIDTH_VAR = "--sf-site-width";
|
|
11
|
+
export declare const SITE_WIDTH_CAP: string;
|
|
12
|
+
export declare const SITE_WIDTH_CAP_CLASS: string;
|
|
13
|
+
export declare const PRE_SITE_WIDTH_CAP_CLASS: string;
|
|
14
|
+
export declare function normalizeSiteWidth(v?: number | null): number;
|
|
15
|
+
export declare function siteWidthTokens(v?: number | null): Record<string, string>;
|
|
16
|
+
export declare const SITE_GUTTER: {
|
|
17
|
+
readonly min: 0;
|
|
18
|
+
readonly max: 80;
|
|
19
|
+
readonly step: 4;
|
|
20
|
+
readonly default: 40;
|
|
21
|
+
};
|
|
22
|
+
export declare const SITE_GUTTER_VAR = "--sf-site-gutter";
|
|
23
|
+
export declare const SITE_GUTTER_CAP: string;
|
|
24
|
+
export declare const SITE_GUTTER_CLASS: string;
|
|
25
|
+
export declare const PRE_SITE_GUTTER_CLASSES: readonly ["px-10", "px-[60px]"];
|
|
26
|
+
export declare const SITE_GUTTER_NARROW: {
|
|
27
|
+
readonly md: `min(24px,${string})`;
|
|
28
|
+
readonly sm: `min(20px,${string})`;
|
|
29
|
+
readonly frame: `min(24px,${string})`;
|
|
30
|
+
readonly tabs: `min(16px,${string})`;
|
|
31
|
+
};
|
|
32
|
+
export declare const SITE_GUTTER_SUBSTITUTIONS: ReadonlyArray<readonly [string, string]>;
|
|
33
|
+
export declare function asMainGutters(html: string): string;
|
|
34
|
+
export declare function normalizeSiteGutter(v?: number | null): number;
|
|
35
|
+
export declare function siteGutterTokens(v?: number | null): Record<string, string>;
|
|
36
|
+
export declare function siteHalfColumnCap(dividerPx?: number): string;
|
|
37
|
+
export declare function siteHalfColumnCapClass(dividerPx?: number): string;
|
|
38
|
+
export declare const HERO_CAP: string;
|
|
39
|
+
export declare const HERO_CAP_CLASS: string;
|
|
40
|
+
export declare const PRE_HERO_CAP_CLASS: string;
|
|
41
|
+
export declare const HERO_BACKGROUND_VAR = "--sf-hero-cap";
|
|
42
|
+
export declare const HERO_BACKGROUND_CAP = "var(--sf-hero-cap,none)";
|
|
43
|
+
export declare const HERO_BACKGROUND_CAP_CLASS = "max-w-[var(--sf-hero-cap,none)]";
|
|
44
|
+
export declare const HERO_BLEED_MARGIN_VAR = "--sf-hero-bleed-m";
|
|
45
|
+
export declare const HERO_BLEED_WIDTH_VAR = "--sf-hero-bleed-w";
|
|
46
|
+
export declare const HERO_BLEED_MARGIN = "var(--sf-hero-bleed-m,calc(50% - 50vw))";
|
|
47
|
+
export declare const HERO_BLEED_WIDTH = "var(--sf-hero-bleed-w,100vw)";
|
|
48
|
+
export declare const HERO_BLEED_MARGIN_CLASS = "mx-[var(--sf-hero-bleed-m,calc(50%_-_50vw))]";
|
|
49
|
+
export declare const HERO_BLEED_WIDTH_CLASS = "w-[var(--sf-hero-bleed-w,100vw)]";
|
|
50
|
+
export declare const HERO_CHROME_INSET_VAR = "--sf-hero-chrome-x";
|
|
51
|
+
export declare const HERO_CHROME_CAP_VAR = "--sf-hero-chrome-cap";
|
|
52
|
+
export declare function heroBackgroundTokens(follows?: boolean | null): Record<string, string>;
|
|
53
|
+
export declare const CHROME_WIDTH_CAP: string;
|
|
54
|
+
export declare const CHROME_WIDTH_CAP_CLASS: string;
|
|
55
|
+
export declare const PRE_CHROME_WIDTH_CAP_CLASS: string;
|
|
56
|
+
export declare function siteWidthCapStyle(fullWidth?: boolean): CSSProperties | null;
|
|
57
|
+
export declare const CHROME_CAP_VAR = "--sf-chrome-cap";
|
|
58
|
+
export declare const CHROME_CAP_READ: string;
|
|
59
|
+
export type WidthAnswer = "content" | "full";
|
|
60
|
+
export declare const PAGE_WIDTH_ATTR = "data-page-width";
|
|
61
|
+
export declare function pageWidthMarker(answer?: unknown): "full" | null;
|
|
62
|
+
export declare function chromeWidthStyle(own?: WidthAnswer | null): CSSProperties | null;
|
|
63
|
+
export declare function resolveChromeWidth(stored?: unknown): WidthAnswer | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n={min:1e3,max:2e3,step:50,default:1600};function m(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function D(t,x){if(t!==!1)return null;const a=typeof x=="number"?x:n.default;return m(a)}const i="--sf-site-width",p=`var(${i},${n.default}px)`,T=`max-w-[${p}]`,P=`max-w-[${n.default}px]`;function $(t){return typeof t!="number"||!Number.isFinite(t)?n.default:Math.round(Math.min(Math.max(t,n.min),n.max))}function W(t){const x=$(t);return x===n.default?{}:{[i]:`${x}px`}}const o={min:0,max:80,step:4,default:40},s="--sf-site-gutter",e=`var(${s},${o.default}px)`,A=`px-[${e}]`,G=["px-10","px-[60px]"],r={md:`min(24px,${e})`,sm:`min(20px,${e})`,frame:`min(24px,${e})`,tabs:`min(16px,${e})`},C=[[`max-[1100px]:px-[${r.md}]`,"max-[1100px]:px-6"],[`max-[1100px]:px-[${r.tabs}]`,"max-[1100px]:px-4"],[`max-[960px]:px-[${r.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${r.md}]`,"max-[900px]:px-6"],[`max-[800px]:px-[${r.md}]`,"max-[800px]:px-6"],[`max-[720px]:px-[${r.sm}]`,"max-[720px]:px-5"],[`max-[800px]:px-[${r.sm}]`,"max-[800px]:px-5"],[`max-[640px]:px-[${r.sm}]`,"max-[640px]:px-5"],[`min-[800px]:px-[${e}]`,"min-[800px]:px-10"],[`max-[720px]:px-[min(24px,${e})]`,"max-[720px]:px-6"],[`max-[800px]:-mx-[min(20px,${e})]`,"max-[800px]:-mx-5"],[`max-[720px]:-mx-[min(20px,${e})]`,"max-[720px]:-mx-5"],[`-mx-[${e}]`,"-mx-10"],[A,"px-10"]];function M(t){return C.reduce((x,[a,R])=>x.split(a).join(R),t)}function S(t){return typeof t!="number"||!Number.isFinite(t)?o.default:Math.round(Math.min(Math.max(t,o.min),o.max))}function w(t){const x=S(t);return x===o.default?{}:{[s]:`${x}px`}}function d(t=0){return`calc(${p}/2 - ${e}*2 - ${t}px)`}function L(t=0){return`max-w-[${d(t).replace(/ /g,"_")}]`}const f=`min(var(--sf-page-cap,${p}),${p})`,U=`max-w-[${f}]`,g=`max-w-[min(var(--sf-page-cap,${n.default}px),${n.default}px)]`,E="--sf-hero-cap",H=`var(${E},none)`,v=`max-w-[${H}]`,_="--sf-hero-bleed-m",u="--sf-hero-bleed-w",B=`var(${_},calc(50% - 50vw))`,N=`var(${u},100vw)`,b=`mx-[var(${_},calc(50%_-_50vw))]`,V=`w-[var(${u},100vw)]`,I="--sf-hero-chrome-x",h="--sf-hero-chrome-cap";function y(t){return t===!0?{[E]:f,[_]:"auto",[u]:"100%",[I]:"24px",[h]:"none"}:{}}const c=`calc(${p} - ${e}*2)`,k=`max-w-[${c.replace(/ /g,"_")}]`,K=T;function z(t){return t!==!1?null:m(l)}const O="--sf-chrome-cap",l=`var(${O},${c})`,F="data-page-width";function j(t){return t==="full"?"full":null}function q(t){return t==="full"?null:m(t==="content"?c:l)}function J(t){if(t==="full")return"full";if(t==="content")return"content"}export{l as CHROME_CAP_READ,O as CHROME_CAP_VAR,c as CHROME_WIDTH_CAP,k as CHROME_WIDTH_CAP_CLASS,H as HERO_BACKGROUND_CAP,v as HERO_BACKGROUND_CAP_CLASS,E as HERO_BACKGROUND_VAR,B as HERO_BLEED_MARGIN,b as HERO_BLEED_MARGIN_CLASS,_ as HERO_BLEED_MARGIN_VAR,N as HERO_BLEED_WIDTH,V as HERO_BLEED_WIDTH_CLASS,u as HERO_BLEED_WIDTH_VAR,f as HERO_CAP,U as HERO_CAP_CLASS,h as HERO_CHROME_CAP_VAR,I as HERO_CHROME_INSET_VAR,n as PAGE_WIDTH,F as PAGE_WIDTH_ATTR,K as PRE_CHROME_WIDTH_CAP_CLASS,g as PRE_HERO_CAP_CLASS,G as PRE_SITE_GUTTER_CLASSES,P as PRE_SITE_WIDTH_CAP_CLASS,o as SITE_GUTTER,e as SITE_GUTTER_CAP,A as SITE_GUTTER_CLASS,r as SITE_GUTTER_NARROW,C as SITE_GUTTER_SUBSTITUTIONS,s as SITE_GUTTER_VAR,p as SITE_WIDTH_CAP,T as SITE_WIDTH_CAP_CLASS,i as SITE_WIDTH_VAR,M as asMainGutters,m as centredCap,q as chromeWidthStyle,y as heroBackgroundTokens,S as normalizeSiteGutter,$ as normalizeSiteWidth,j as pageWidthMarker,D as pageWidthStyle,J as resolveChromeWidth,w as siteGutterTokens,d as siteHalfColumnCap,L as siteHalfColumnCapClass,z as siteWidthCapStyle,W as siteWidthTokens};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const PRODUCT_PAGE_SLUG = "product";
|
|
2
|
+
export declare const TYRE_PAGE_SLUG = "tyre";
|
|
3
|
+
export declare const DYNAMIC_TEMPLATE_SLUGS: readonly string[];
|
|
4
|
+
export declare function isDynamicTemplateSlug(slug: string): boolean;
|
|
5
|
+
export declare const TEMPLATE_PRODUCT_TYPE_PROP = "productType";
|
|
6
|
+
export type TemplateProductKind = "alloy-wheel" | "tyre";
|
|
7
|
+
export declare function templateProductKind(slug: string, rootProps?: Record<string, unknown> | null): TemplateProductKind | null;
|
|
8
|
+
export declare function declaredTemplateProductKind(rootProps?: Record<string, unknown> | null): TemplateProductKind | null;
|
|
9
|
+
export declare function layoutDeclaredProductKind(layout: unknown): TemplateProductKind | null;
|
|
10
|
+
export declare function isProductTemplatePage(slug: string, rootProps?: Record<string, unknown> | null): boolean;
|
|
11
|
+
export declare const DYNAMIC_PRODUCT_PROP = "dynamic";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o="product",r="tyre",c=[o,r];function d(t){return c.includes(t)}const u="productType",l={[o]:"alloy-wheel",[r]:"tyre"},p=["alloy-wheel","tyre"];function P(t,e){return n(e)??l[t]??null}function n(t){const e=t?.[u];return typeof e=="string"&&p.includes(e)?e:null}function i(t){const e=t?.root;return n(e?.props)}function s(t,e){return P(t,e)!==null}const T="dynamic";export{T as DYNAMIC_PRODUCT_PROP,c as DYNAMIC_TEMPLATE_SLUGS,o as PRODUCT_PAGE_SLUG,u as TEMPLATE_PRODUCT_TYPE_PROP,r as TYRE_PAGE_SLUG,n as declaredTemplateProductKind,d as isDynamicTemplateSlug,s as isProductTemplatePage,i as layoutDeclaredProductKind,P as templateProductKind};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const SECTION_MOTIONS: readonly ["fade", "rise", "scale"];
|
|
2
|
+
export type SectionMotion = (typeof SECTION_MOTIONS)[number];
|
|
3
|
+
export declare const SECTION_MOTION_NONE = "none";
|
|
4
|
+
export declare const SECTION_MOTION_OPTIONS: readonly {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare function normalizeSectionMotion(value: unknown): SectionMotion | null;
|
|
9
|
+
export declare const SECTION_ANIM_ATTR = "data-sf-anim";
|
|
10
|
+
export declare const SECTION_ANIM_STATE = "data-sf-anim-state";
|
|
11
|
+
export declare function armSectionEntrance(el: HTMLElement): () => void;
|
|
12
|
+
export declare function playSectionEntrance(el: HTMLElement): void;
|
|
13
|
+
export declare const SECTION_ANIM_EXCLUDED: ReadonlySet<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{SECTION_THEME_EXCLUDED as s}from"./section-surface.js";const u=["fade","rise","scale"],d="none",O=[{label:"None",value:d},{label:"Fade",value:"fade"},{label:"Rise",value:"rise"},{label:"Scale",value:"scale"}];function I(t){return u.includes(t)?t:null}const i="data-sf-anim",n="data-sf-anim-state";function N(t){const e=()=>{};if(typeof IntersectionObserver>"u"||!t.getAttribute(i))return e;const r=window.innerHeight||document.documentElement.clientHeight;if(t.getBoundingClientRect().top<r)return e;t.setAttribute(n,"armed");const o=new IntersectionObserver(c=>{for(const a of c)if(a.isIntersecting){o.disconnect(),f(t);break}},{threshold:0});return o.observe(t),()=>{o.disconnect(),t.removeAttribute(n)}}function f(t){if(!t.getAttribute(i))return;t.removeAttribute(n),t.offsetWidth,t.setAttribute(n,"play");const e=r=>{r.target===t&&(t.removeAttribute(n),t.removeEventListener("animationend",e))};t.addEventListener("animationend",e)}const m=s;export{i as SECTION_ANIM_ATTR,m as SECTION_ANIM_EXCLUDED,n as SECTION_ANIM_STATE,u as SECTION_MOTIONS,d as SECTION_MOTION_NONE,O as SECTION_MOTION_OPTIONS,N as armSectionEntrance,I as normalizeSectionMotion,f as playSectionEntrance};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const SECTION_BG_SWATCHES: readonly ["transparent", "var(--section-bg)", "var(--surface)", "var(--surface-2)"];
|
|
2
|
+
export declare const SECTION_BG_SWATCH_NAMES: Readonly<Record<string, string>>;
|
|
3
|
+
export declare const THEME_SECTION_BG = "var(--section-bg)";
|
|
4
|
+
export declare const SECTION_BG_INHERIT: "inherit";
|
|
5
|
+
export type SectionBackground = string | undefined;
|
|
6
|
+
export declare function resolveSectionBackground(stored: SectionBackground, builtIn: SectionBackground): SectionBackground;
|
|
7
|
+
export declare function isSectionBackgroundInheriting(stored: SectionBackground, builtIn: SectionBackground): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=["transparent","var(--section-bg)","var(--surface)","var(--surface-2)"],c={transparent:"No fill","var(--section-bg)":"Section band","var(--surface)":"Panels and cards","var(--surface-2)":"Second surface"},e="var(--section-bg)",t="inherit";function o(n,r){return n===t?e:n===void 0?r:n}function i(n,r){return n===t?!0:n===void 0&&r===e}export{t as SECTION_BG_INHERIT,a as SECTION_BG_SWATCHES,c as SECTION_BG_SWATCH_NAMES,e as THEME_SECTION_BG,i as isSectionBackgroundInheriting,o as resolveSectionBackground};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export declare function hasOwnSectionCorners(value: unknown): boolean;
|
|
3
|
+
export declare function sectionCornerStyle(value: unknown, sides?: unknown): CSSProperties | undefined;
|
|
4
|
+
export declare const SECTION_RADIUS_PROP = "--sf-section-radius";
|
|
5
|
+
export declare const CARD_RADIUS_PROP = "--sf-card-radius";
|
|
6
|
+
export declare const CORNER_SIDES: readonly ["tl", "tr", "br", "bl"];
|
|
7
|
+
export type CornerSide = (typeof CORNER_SIDES)[number];
|
|
8
|
+
export declare function normalizeCornerSides(value: unknown): CornerSide[] | null;
|
|
9
|
+
export declare function hasCornerSubset(value: unknown): boolean;
|
|
10
|
+
export declare function cornerSidesShorthand(radius: string, sides: CornerSide[]): string;
|
|
11
|
+
export declare const CORNER_SIDES_LABEL = "Which corners";
|
|
12
|
+
export declare const CORNER_SIDE_POINTS: readonly {
|
|
13
|
+
value: CornerSide;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare function cornerSidesSummary(sides: readonly CornerSide[]): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cornerRadiusTokens as u,normalizeCornerRadius as c}from"../theme.js";function f(r){return typeof r=="number"&&Number.isFinite(r)}function R(r,t){if(!f(r))return;const n=u(c(r));if(Object.keys(n).length===0)return;const o=n[a];if(typeof o!="string")return n;const i=h(t)?b(o,l(t)??[]):o;return{...n,[s]:i}}const s="--sf-section-radius",a="--sf-card-radius",e=["tl","tr","br","bl"];function l(r){if(!Array.isArray(r))return null;const t=r.filter(n=>e.includes(n));return e.filter(n=>t.includes(n))}function h(r){const t=l(r);return t!==null&&t.length<e.length}function b(r,t){return e.map(n=>t.includes(n)?r:"0").join(" ")}const d="Which corners",p=[{value:"tl",label:"Top left"},{value:"tr",label:"Top right"},{value:"bl",label:"Bottom left"},{value:"br",label:"Bottom right"}];function g(r){const t=n=>r.includes(n);if(r.length===e.length)return"All four";if(r.length===0)return"None";if(r.length===1)return p.find(n=>n.value===r[0])?.label??"1 corner";if(r.length===2){if(t("tl")&&t("tr"))return"Top two";if(t("bl")&&t("br"))return"Bottom two";if(t("tl")&&t("bl"))return"Left two";if(t("tr")&&t("br"))return"Right two"}return`${r.length} corners`}export{a as CARD_RADIUS_PROP,e as CORNER_SIDES,d as CORNER_SIDES_LABEL,p as CORNER_SIDE_POINTS,s as SECTION_RADIUS_PROP,b as cornerSidesShorthand,g as cornerSidesSummary,h as hasCornerSubset,f as hasOwnSectionCorners,l as normalizeCornerSides,R as sectionCornerStyle};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const SECTION_HEIGHT: {
|
|
2
|
+
readonly min: 40;
|
|
3
|
+
readonly max: 100;
|
|
4
|
+
readonly step: 5;
|
|
5
|
+
readonly fallback: 100;
|
|
6
|
+
readonly unit: "vh";
|
|
7
|
+
};
|
|
8
|
+
export declare function resolveSectionHeight(value: number | undefined): string;
|
|
9
|
+
export declare function hasSectionHeight(...values: (number | undefined)[]): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={min:40,max:100,step:5,fallback:100,unit:"vh"};function o(t){return`${typeof t=="number"?t:e.fallback}${e.unit}`}function r(...t){return t.some(n=>typeof n=="number")}export{e as SECTION_HEIGHT,r as hasSectionHeight,o as resolveSectionHeight};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export type SectionHeightMode = "auto" | "fixed" | "screen";
|
|
3
|
+
export declare const SECTION_HEIGHT_MODES: readonly SectionHeightMode[];
|
|
4
|
+
export type SectionHeightUnit = "px" | "%";
|
|
5
|
+
export declare const SECTION_HEIGHT_UNITS: readonly SectionHeightUnit[];
|
|
6
|
+
export declare const VIEWPORT_UNIT: "svh";
|
|
7
|
+
export declare const VIEWPORT_UNIT_FALLBACK: "vh";
|
|
8
|
+
export declare const HEADER_HEIGHT_VAR = "var(--sf-header-h, 88px)";
|
|
9
|
+
export declare const SECTION_MIN_HEIGHT: {
|
|
10
|
+
readonly min: 40;
|
|
11
|
+
readonly max: 2000;
|
|
12
|
+
readonly step: 10;
|
|
13
|
+
readonly fallback: 600;
|
|
14
|
+
};
|
|
15
|
+
export declare const SECTION_SCREEN_PCT: {
|
|
16
|
+
readonly min: 10;
|
|
17
|
+
readonly max: 200;
|
|
18
|
+
readonly step: 5;
|
|
19
|
+
readonly fallback: 100;
|
|
20
|
+
};
|
|
21
|
+
export declare const SECTION_MIN_HEIGHT_CLASS = "sf-section-minh";
|
|
22
|
+
export declare const SECTION_MIN_HEIGHT_VARS: {
|
|
23
|
+
readonly base: "--sf-section-minh";
|
|
24
|
+
readonly small: "--sf-section-minh-s";
|
|
25
|
+
};
|
|
26
|
+
export interface SectionMinHeightProps {
|
|
27
|
+
sectionHeightMode?: unknown;
|
|
28
|
+
sectionHeightValue?: unknown;
|
|
29
|
+
sectionHeightUnit?: unknown;
|
|
30
|
+
}
|
|
31
|
+
export declare function resolveSectionMinHeight(props: SectionMinHeightProps): {
|
|
32
|
+
mode: SectionHeightMode;
|
|
33
|
+
value: number;
|
|
34
|
+
unit: SectionHeightUnit;
|
|
35
|
+
};
|
|
36
|
+
export declare function sectionMinHeightLengths(props: SectionMinHeightProps): [base: string, small: string | null] | undefined;
|
|
37
|
+
export declare function sectionMinHeightStyle(props: SectionMinHeightProps): CSSProperties | undefined;
|
|
38
|
+
export declare const SECTION_MIN_HEIGHT_EXCLUDED: Set<string>;
|
|
39
|
+
export declare const SECTION_MIN_HEIGHT_GROUP_LABEL = "Height";
|
|
40
|
+
export declare const SECTION_MIN_HEIGHT_PHONE_CLASS = "sf-section-minh-phone";
|
|
41
|
+
export declare const SECTION_MIN_HEIGHT_PHONE_VARS: {
|
|
42
|
+
readonly base: "--sf-section-minh-p";
|
|
43
|
+
readonly small: "--sf-section-minh-ps";
|
|
44
|
+
};
|
|
45
|
+
export interface SectionMinHeightPhoneProps {
|
|
46
|
+
sectionHeightModePhone?: unknown;
|
|
47
|
+
sectionHeightValuePhone?: unknown;
|
|
48
|
+
sectionHeightUnitPhone?: unknown;
|
|
49
|
+
}
|
|
50
|
+
export declare function hasPhoneHeight(props: SectionMinHeightPhoneProps): boolean;
|
|
51
|
+
export declare function resolvePhoneHeight(props: SectionMinHeightPhoneProps): {
|
|
52
|
+
mode: SectionHeightMode;
|
|
53
|
+
value: number;
|
|
54
|
+
unit: SectionHeightUnit;
|
|
55
|
+
};
|
|
56
|
+
export declare function sectionMinHeightAttrs(props: SectionMinHeightProps & SectionMinHeightPhoneProps): {
|
|
57
|
+
className: string;
|
|
58
|
+
style: CSSProperties;
|
|
59
|
+
} | null;
|
|
60
|
+
export declare function sectionFillsHeight(props: Record<string, unknown>): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const u=["auto","fixed","screen"],I=["px","%"],M="svh",m="vh",_="var(--sf-header-h, 88px)",f={min:40,max:2e3,step:10,fallback:600},g={min:10,max:200,step:5,fallback:100},E="sf-section-minh",h={base:"--sf-section-minh",small:"--sf-section-minh-s"},l=e=>typeof e=="string"&&u.includes(e),T=e=>typeof e=="string"&&I.includes(e);function H(e){const t=l(e.sectionHeightMode)?e.sectionHeightMode:"auto",n=t==="screen"?"%":T(e.sectionHeightUnit)?e.sectionHeightUnit:"px",o=t==="screen"?g.fallback:f.fallback,i=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:o;return{mode:t,value:i,unit:n}}function r(e){const{mode:t,value:n,unit:o}=H(e);if(t==="auto")return;if(t==="fixed"&&o==="px")return[`${n}px`,null];const i=n/100,s=c=>t==="screen"?`(100${c} - ${_})`:`100${c}`;return[`calc(${s("vh")} * ${i})`,`calc(${s("svh")} * ${i})`]}function x(e){const t=r(e);if(!t)return;const[n,o]=t;return{display:"grid",[h.base]:n,...o?{[h.small]:o}:{}}}const C=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),O="Height",N="sf-section-minh-phone",a={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function d(e){return l(e.sectionHeightModePhone)}function P(e){return H({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}function S(e){const t=x(e),n=d(e)?r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone}):void 0;if(!t&&!n)return null;const o=[E],i={...t??{}};return n&&(o.push(N),i[a.base]=n[0],n[1]&&(i[a.small]=n[1])),{className:o.join(" "),style:i}}function p(e){return S(e)!==null}export{_ as HEADER_HEIGHT_VAR,u as SECTION_HEIGHT_MODES,I as SECTION_HEIGHT_UNITS,f as SECTION_MIN_HEIGHT,E as SECTION_MIN_HEIGHT_CLASS,C as SECTION_MIN_HEIGHT_EXCLUDED,O as SECTION_MIN_HEIGHT_GROUP_LABEL,N as SECTION_MIN_HEIGHT_PHONE_CLASS,a as SECTION_MIN_HEIGHT_PHONE_VARS,h as SECTION_MIN_HEIGHT_VARS,g as SECTION_SCREEN_PCT,M as VIEWPORT_UNIT,m as VIEWPORT_UNIT_FALLBACK,d as hasPhoneHeight,P as resolvePhoneHeight,H as resolveSectionMinHeight,p as sectionFillsHeight,S as sectionMinHeightAttrs,r as sectionMinHeightLengths,x as sectionMinHeightStyle};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export declare const SECTION_PADDING: {
|
|
3
|
+
readonly min: 10;
|
|
4
|
+
readonly max: 200;
|
|
5
|
+
readonly step: 10;
|
|
6
|
+
};
|
|
7
|
+
export declare function sectionPadStyle(pt: unknown, pb: unknown): CSSProperties | undefined;
|
|
8
|
+
export declare const PAD_TOP_PHONE_CLASS = "sf-pad-top-phone";
|
|
9
|
+
export declare const PAD_BOTTOM_PHONE_CLASS = "sf-pad-bottom-phone";
|
|
10
|
+
export declare const PAD_TOP_PHONE_VAR = "--sf-pad-t-phone";
|
|
11
|
+
export declare const PAD_BOTTOM_PHONE_VAR = "--sf-pad-b-phone";
|
|
12
|
+
export declare const PAD_LEFT_PHONE_CLASS = "sf-pad-left-phone";
|
|
13
|
+
export declare const PAD_RIGHT_PHONE_CLASS = "sf-pad-right-phone";
|
|
14
|
+
export declare const PAD_LEFT_PHONE_VAR = "--sf-pad-l-phone";
|
|
15
|
+
export declare const PAD_RIGHT_PHONE_VAR = "--sf-pad-r-phone";
|
|
16
|
+
export declare function sectionPadAttrs(pt: unknown, pb: unknown, ptPhone: unknown, pbPhone: unknown, pl?: unknown, pr?: unknown, plPhone?: unknown, prPhone?: unknown): {
|
|
17
|
+
className: string;
|
|
18
|
+
style: CSSProperties;
|
|
19
|
+
} | null;
|
|
20
|
+
export interface SectionPaddingProps {
|
|
21
|
+
padTop?: unknown;
|
|
22
|
+
padBottom?: unknown;
|
|
23
|
+
sectionPaddingTop?: unknown;
|
|
24
|
+
sectionPaddingBottom?: unknown;
|
|
25
|
+
}
|
|
26
|
+
export interface SectionPaddingDefault {
|
|
27
|
+
top?: number;
|
|
28
|
+
bottom?: number;
|
|
29
|
+
}
|
|
30
|
+
export declare function resolveSectionPadding(props: SectionPaddingProps, fallback?: SectionPaddingDefault): {
|
|
31
|
+
top?: number;
|
|
32
|
+
bottom?: number;
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const N={min:10,max:200,step:10};function c(e,t){const o=typeof e=="number"?e:void 0,n=typeof t=="number"?t:void 0;if(!(o===void 0&&n===void 0))return{paddingTop:o,paddingBottom:n}}const m="sf-pad-top-phone",A="sf-pad-bottom-phone",x="--sf-pad-t-phone",O="--sf-pad-b-phone",T="sf-pad-left-phone",y="sf-pad-right-phone",b="--sf-pad-l-phone",h="--sf-pad-r-phone";function g(e,t,o,n,s,i,r,u){const P=c(e,t)??{},p={},d=["sf-section-pad"];typeof o=="number"&&(d.push(m),p[x]=`${o}px`),typeof n=="number"&&(d.push(A),p[O]=`${n}px`);const f={};return typeof s=="number"&&(f.paddingLeft=s),typeof i=="number"&&(f.paddingRight=i),typeof r=="number"&&(d.push(T),p[b]=`${r}px`),typeof u=="number"&&(d.push(y),p[h]=`${u}px`),d.length===1&&c(e,t)===void 0&&!Object.keys(f).length?null:{className:d.join(" "),style:{...P,...f,...p}}}const a=e=>typeof e=="number"?e:void 0;function _(e,t,o){const n=a(e)??o,s=a(t);return n===void 0?s:s===void 0?n:n+s}function E(e,t={}){return{top:_(e.padTop,e.sectionPaddingTop,t.top),bottom:_(e.padBottom,e.sectionPaddingBottom,t.bottom)}}export{A as PAD_BOTTOM_PHONE_CLASS,O as PAD_BOTTOM_PHONE_VAR,T as PAD_LEFT_PHONE_CLASS,b as PAD_LEFT_PHONE_VAR,y as PAD_RIGHT_PHONE_CLASS,h as PAD_RIGHT_PHONE_VAR,m as PAD_TOP_PHONE_CLASS,x as PAD_TOP_PHONE_VAR,N as SECTION_PADDING,E as resolveSectionPadding,g as sectionPadAttrs,c as sectionPadStyle};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const SECTION_ACCENT_INHERIT = -1;
|
|
2
|
+
export declare const SECTION_ACCENT_CLASS = "sf-section-accent";
|
|
3
|
+
export declare const SECTION_THEME_GROUP_LABEL = "Color";
|
|
4
|
+
export declare const SECTION_THEME_EXCLUDED: ReadonlySet<string>;
|
|
5
|
+
export declare const SECTION_THEME_NESTED_READING: ReadonlySet<string>;
|
|
6
|
+
export declare const SECTION_ACCENT_DEFAULT = 0;
|
|
7
|
+
export declare function resolveSectionAccent(v: unknown): number | null;
|
|
8
|
+
export declare function nestedAccentValue(v: unknown): unknown;
|
|
9
|
+
export declare function sectionAccentVars(i: number): Record<string, string>;
|
|
10
|
+
export declare function sectionThemeWrap(props: Record<string, unknown>): {
|
|
11
|
+
className: string;
|
|
12
|
+
style: Record<string, string>;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=-1,c="sf-section-accent",o="Color",E=new Set(["CategoryBar","DocTabs"]),f=new Set(["Flex"]),n=0;function r(e){return e===-1?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:n}function u(e){return e??-1}function s(e){const t=`--theme-preset-${e}`;return{"--sf-sec-accent":`var(${t}-accent)`,"--sf-sec-accent-2":`var(${t}-accent-2)`,"--sf-sec-accent-ink":`var(${t}-accent-ink)`,"--sf-sec-bg":`var(${t}-bg, var(--theme-bg))`,"--sf-sec-fg":`var(${t}-fg, var(--theme-fg))`,"--sf-sec-surface":`var(${t}-surface, var(--theme-surface))`,"--sf-sec-surface-2":`var(${t}-surface-2, var(--theme-surface-2))`,"--sf-sec-line":`var(${t}-line, var(--theme-line))`,"--sf-sec-muted":`var(${t}-muted, var(--theme-muted))`}}function T(e){const t=r(e.sectionAccent);return t===null?null:{className:c,style:s(t)}}export{c as SECTION_ACCENT_CLASS,n as SECTION_ACCENT_DEFAULT,a as SECTION_ACCENT_INHERIT,E as SECTION_THEME_EXCLUDED,o as SECTION_THEME_GROUP_LABEL,f as SECTION_THEME_NESTED_READING,u as nestedAccentValue,r as resolveSectionAccent,s as sectionAccentVars,T as sectionThemeWrap};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SizeStep } from "../theme.js";
|
|
2
|
+
export type TypeRole = "heading" | "body" | "label";
|
|
3
|
+
export declare const TYPE_SIZE_INHERIT: "inherit";
|
|
4
|
+
export declare const TYPE_SIZE_FIXED: "fixed";
|
|
5
|
+
export type TypeSizeValue = number | typeof TYPE_SIZE_INHERIT | typeof TYPE_SIZE_FIXED | undefined;
|
|
6
|
+
export declare const isTypeSizeInheriting: (v: unknown) => boolean;
|
|
7
|
+
export declare function resolveTypeSize(stored: TypeSizeValue, builtIn: string, role: TypeRole, step?: SizeStep): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const x="inherit",t="fixed",f=e=>typeof e!="number"&&e!==t,p="var(--sf-heading-max, 9999px)";function s(e,n,o,r){if(typeof e=="number")return`${e}px`;if(e===t)return n;const i=r?`var(--size-${r}, ${n})`:n;return o==="heading"?`min(${i}, ${p})`:i}export{t as TYPE_SIZE_FIXED,x as TYPE_SIZE_INHERIT,f as isTypeSizeInheriting,s as resolveTypeSize};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type WidthMode = "contained" | "page" | "full";
|
|
2
|
+
export declare const WIDTH_MODES: readonly WidthMode[];
|
|
3
|
+
export declare const SECTION_WIDTH_CHOICES: readonly WidthMode[];
|
|
4
|
+
export declare const WIDTH_CHOICE_LABEL: Record<"full" | "page", string>;
|
|
5
|
+
export declare const WIDTH_INHERIT: "inherit";
|
|
6
|
+
export type WidthValue = WidthMode | typeof WIDTH_INHERIT;
|
|
7
|
+
export interface WidthProps {
|
|
8
|
+
widthMode?: unknown;
|
|
9
|
+
contained?: unknown;
|
|
10
|
+
fullWidth?: unknown;
|
|
11
|
+
pageWidth?: unknown;
|
|
12
|
+
}
|
|
13
|
+
export declare const isInheritValue: (v: unknown) => boolean;
|
|
14
|
+
export declare function resolveWidth(props: WidthProps, defaultMode: WidthMode): {
|
|
15
|
+
mode: WidthMode;
|
|
16
|
+
pageWidth: number;
|
|
17
|
+
inherited: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare function sectionRunsFullWidth(props: Readonly<Record<string, unknown>>): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PAGE_WIDTH as n}from"./page-width.js";const d=["contained","page","full"],a=["full","page"],h={full:"Full width",page:"Content width"},l="inherit",o=e=>typeof e=="string"&&d.includes(e),r=e=>e===l;function f(e,i){const t=typeof e.pageWidth=="number"?e.pageWidth:n.default;return r(e.widthMode)?{mode:"full",pageWidth:t,inherited:!0}:e.widthMode==="contained"?{mode:"page",pageWidth:t,inherited:!1}:o(e.widthMode)?{mode:e.widthMode,pageWidth:t,inherited:!1}:e.contained===!0?{mode:"page",pageWidth:t,inherited:!1}:typeof e.fullWidth=="boolean"?{mode:e.fullWidth?"full":"page",pageWidth:t,inherited:!1}:e.contained===!1?{mode:"full",pageWidth:t,inherited:!1}:{mode:i,pageWidth:t,inherited:i==="full"}}function c(e){return f(e,"page").mode==="full"}export{a as SECTION_WIDTH_CHOICES,h as WIDTH_CHOICE_LABEL,l as WIDTH_INHERIT,d as WIDTH_MODES,r as isInheritValue,f as resolveWidth,c as sectionRunsFullWidth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{resolveWidth as p}from"./section-width.js";const a=new Set(["Flex","Grid"]);function l(e,t){return e&&!t}const y=e=>Array.isArray(e)&&e.length>0&&typeof e[0]=="object"&&e[0]!==null&&"type"in e[0];function S(e,t){if(!Array.isArray(e)||typeof t!="string")return;const o=(u,r)=>{for(const s of u){const n=s?.props??{};if(n.id===t)return r;const c=String(s?.type??""),d=a.has(c)&&l(p(n,"page").mode!=="full",r);for(const i of Object.values(n)){if(!y(i))continue;const f=o(i,r||d);if(f!==void 0)return f}}};return o(e,!1)}export{l as drawsSiteGutter,S as isInsideSiteGutter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e="Storefront";function r(t){return t?.trim()||e}export{e as NEUTRAL_SITE_NAME,r as resolveSiteName};
|