efficient-web-builder 1.0.0 → 2.1.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 +47 -0
- package/README.md +2 -1
- package/dist/components/AddBlockRow.d.ts +1 -7
- package/dist/components/AddBlockRow.js +1 -1
- package/dist/components/AddChildRow.d.ts +1 -6
- package/dist/components/AddChildRow.js +1 -1
- package/dist/components/AddSidePanel.d.ts +2 -39
- package/dist/components/AddSidePanel.js +1 -1
- package/dist/components/BlockGapField.js +1 -1
- package/dist/components/BlogPostSource.js +1 -1
- package/dist/components/Breadcrumb.js +1 -1
- package/dist/components/Btn.js +1 -1
- package/dist/components/CardShadowField.js +1 -1
- package/dist/components/CategoryBar.js +1 -1
- package/dist/components/ChartSection.js +1 -1
- package/dist/components/ChatSettingsPanel.js +1 -1
- package/dist/components/ClearColoursDialog.js +1 -1
- package/dist/components/ContactLocations.js +5 -5
- package/dist/components/CornersField.d.ts +0 -1
- package/dist/components/CornersField.js +1 -1
- package/dist/components/DocBody.js +1 -1
- package/dist/components/DuplicateToPageMenu.js +1 -1
- package/dist/components/EditorScreenMount.d.ts +1 -0
- package/dist/components/EditorScreenMount.js +1 -0
- package/dist/components/EditorStoreProvider.d.ts +1 -0
- package/dist/components/EditorStoreProvider.js +1 -0
- package/dist/components/FeaturedCover.js +1 -1
- package/dist/components/FieldGlyph.js +1 -1
- package/dist/components/Footprint.js +1 -1
- package/dist/components/HeadingAudit.js +1 -1
- package/dist/components/HeroImageField.js +1 -1
- package/dist/components/HeroSection.d.ts +2 -6
- package/dist/components/HeroSection.js +4 -4
- package/dist/components/HoverEffectField.js +1 -1
- package/dist/components/ImageBlock.js +1 -1
- package/dist/components/ImageFocusRow.js +1 -1
- package/dist/components/KeepHint.d.ts +5 -0
- package/dist/components/KeepHint.js +1 -0
- package/dist/components/LocationsGroupedField.js +1 -1
- package/dist/components/LongRead.js +1 -1
- package/dist/components/MediaSidePanel.d.ts +1 -6
- package/dist/components/MediaSidePanel.js +1 -1
- package/dist/components/MediaUploadField.js +1 -1
- package/dist/components/MockupSection.js +1 -1
- package/dist/components/MultiSelectField.d.ts +4 -1
- package/dist/components/MultiSelectField.js +1 -1
- package/dist/components/NodeContextMenu.d.ts +2 -96
- package/dist/components/NodeContextMenu.js +1 -1
- package/dist/components/PageEditGuardNotices.d.ts +1 -1
- package/dist/components/PageEditGuardNotices.js +1 -1
- package/dist/components/PagesPanel.js +1 -1
- package/dist/components/PanelToggleIcon.d.ts +1 -3
- package/dist/components/PanelToggleIcon.js +1 -1
- package/dist/components/PartResetDot.js +1 -1
- package/dist/components/PartSettingsPanel.d.ts +5 -0
- package/dist/components/PartSettingsPanel.js +1 -1
- package/dist/components/PhotographyField.js +1 -1
- package/dist/components/PostCard.js +1 -1
- package/dist/components/PreviewDeviceContext.d.ts +2 -4
- package/dist/components/PreviewDeviceContext.js +1 -1
- package/dist/components/PreviewPartsContext.d.ts +1 -3
- package/dist/components/PreviewPartsContext.js +1 -1
- package/dist/components/ProcessSteps.js +1 -1
- package/dist/components/RMark.js +1 -1
- package/dist/components/Reel.js +1 -1
- package/dist/components/SearchSelectField.d.ts +3 -1
- package/dist/components/SearchSelectField.js +1 -1
- package/dist/components/SectionEditor.d.ts +2 -5
- package/dist/components/SectionEditor.js +1 -1
- package/dist/components/SectionEditorShell.d.ts +1 -1
- package/dist/components/SectionEditorShell.js +1 -1
- package/dist/components/SectionHeader.js +1 -1
- package/dist/components/SectionThemePicker.d.ts +3 -1
- package/dist/components/SectionThemePicker.js +1 -1
- package/dist/components/SectionThumbnail.js +1 -1
- package/dist/components/ShadowColourField.js +1 -1
- package/dist/components/SidePanelHead.d.ts +1 -23
- package/dist/components/SidePanelHead.js +1 -1
- package/dist/components/SideSpaceField.d.ts +0 -1
- package/dist/components/SideSpaceField.js +1 -1
- package/dist/components/SiteEditorProvider.d.ts +3 -10
- package/dist/components/SiteEditorProvider.js +1 -1
- package/dist/components/SiteWidthField.d.ts +0 -1
- package/dist/components/SiteWidthField.js +1 -1
- package/dist/components/SlotChildActionsContext.d.ts +2 -13
- package/dist/components/SlotChildActionsContext.js +1 -1
- package/dist/components/SlotChildRows.js +1 -1
- package/dist/components/SocialLinksPanel.js +1 -1
- package/dist/components/SourceStatus.js +1 -1
- package/dist/components/Split.js +1 -1
- package/dist/components/StandaloneSectionEditor.d.ts +1 -0
- package/dist/components/StandaloneSectionEditor.js +1 -1
- package/dist/components/StorefrontDocumentContext.d.ts +2 -67
- package/dist/components/StorefrontDocumentContext.js +1 -1
- package/dist/components/StorefrontEditor.d.ts +1 -0
- package/dist/components/StorefrontEditor.js +1 -1
- package/dist/components/StorefrontEditorChrome.d.ts +1 -1
- package/dist/components/StorefrontEditorChrome.js +1 -1
- package/dist/components/StorefrontLinkField.d.ts +9 -0
- package/dist/components/StorefrontLinkField.js +1 -1
- package/dist/components/StylesPanel.js +1 -1
- package/dist/components/Testimonials.js +1 -1
- package/dist/components/TextStylesField.js +1 -1
- package/dist/components/ThemeCard.js +1 -1
- package/dist/components/ThemeColourField.js +1 -1
- package/dist/components/ThemeField.js +1 -1
- package/dist/components/TickerSettingsPanel.js +1 -1
- package/dist/components/Timeline.js +1 -1
- package/dist/components/TimelineTrack.js +1 -1
- package/dist/components/TitleWithButtons.js +1 -1
- package/dist/components/UiIcon.d.ts +2 -10
- package/dist/components/UiIcon.js +1 -1
- package/dist/components/WebsiteScreenParts.d.ts +2 -0
- package/dist/components/WebsiteScreenParts.js +1 -0
- package/dist/components/WebsiteSettingsPanel.js +1 -1
- package/dist/components/WidthFollowField.js +1 -1
- package/dist/components/goldPhrases.js +1 -1
- package/dist/components/panel-widths.d.ts +2 -12
- package/dist/components/panel-widths.js +1 -1
- package/dist/components/storefront-editor.css +147 -1195
- package/dist/components/useFooterFocus.d.ts +2 -0
- package/dist/components/useFooterFocus.js +1 -0
- package/dist/components/useLocationsTree.d.ts +6 -0
- package/dist/components/useLocationsTree.js +1 -0
- package/dist/components/usePartBridge.d.ts +1 -9
- package/dist/components/usePartBridge.js +1 -1
- package/dist/components/usePinnedChromeSeed.d.ts +2 -0
- package/dist/components/usePinnedChromeSeed.js +1 -0
- package/dist/components/useSocialSettings.js +1 -1
- package/dist/components/useStorefrontBlogPosts.js +1 -1
- package/dist/lib/client-only.d.ts +1 -0
- package/dist/lib/client-only.js +1 -0
- package/dist/lib/content/contact.js +3 -3
- package/dist/lib/content/subscribe.js +1 -1
- package/dist/lib/content/view-tiers.d.ts +2 -6
- package/dist/lib/content/view-tiers.js +1 -1
- package/dist/lib/editor-admin-bridge.d.ts +2 -29
- package/dist/lib/editor-admin-bridge.js +1 -1
- package/dist/lib/editor-backend-error.d.ts +2 -0
- package/dist/lib/editor-backend-error.js +1 -0
- package/dist/lib/editor-blocks.d.ts +2 -2
- package/dist/lib/editor-chrome.d.ts +2 -52
- package/dist/lib/editor-chrome.js +1 -1
- package/dist/lib/editor-document-adapter.d.ts +3 -51
- package/dist/lib/editor-document-adapter.js +1 -1
- package/dist/lib/editor-document-addressing.d.ts +2 -0
- package/dist/lib/editor-document-addressing.js +1 -0
- package/dist/lib/editor-document-contract.d.ts +1 -0
- package/dist/lib/editor-document-contract.js +0 -0
- package/dist/lib/editor-document-hooks.d.ts +1 -15
- package/dist/lib/editor-document-switch.d.ts +2 -0
- package/dist/lib/editor-document-switch.js +1 -0
- package/dist/lib/editor-failure.d.ts +1 -4
- package/dist/lib/editor-failure.js +1 -1
- package/dist/lib/editor-host-inbound.d.ts +1 -1
- package/dist/lib/editor-host-inbound.js +1 -1
- package/dist/lib/editor-host.d.ts +2 -135
- package/dist/lib/editor-host.js +1 -1
- package/dist/lib/editor-key-scope.d.ts +1 -3
- package/dist/lib/editor-key-scope.js +1 -1
- package/dist/lib/editor-load-error.d.ts +1 -4
- package/dist/lib/editor-load-error.js +1 -1
- package/dist/lib/editor-media-panel.d.ts +2 -23
- package/dist/lib/editor-media-panel.js +1 -1
- package/dist/lib/editor-media-picker.d.ts +2 -12
- package/dist/lib/editor-media-picker.js +1 -1
- package/dist/lib/editor-page-lock.d.ts +1 -1
- package/dist/lib/editor-page-lock.js +1 -1
- package/dist/lib/editor-screen.d.ts +2 -0
- package/dist/lib/editor-screen.js +1 -0
- package/dist/lib/editor-section-templates.d.ts +1 -2
- package/dist/lib/editor-section-templates.js +1 -1
- package/dist/lib/editor-session-context.d.ts +1 -7
- package/dist/lib/editor-session-context.js +1 -1
- package/dist/lib/editor-session.d.ts +2 -45
- package/dist/lib/editor-session.js +1 -1
- package/dist/lib/editor-site-slug.js +1 -1
- package/dist/lib/editor-theme.d.ts +1 -1
- package/dist/lib/editor-theme.js +1 -1
- package/dist/lib/hero-arrows.d.ts +1 -1
- package/dist/lib/links/link-filters.d.ts +1 -0
- package/dist/lib/links/link-filters.js +0 -0
- package/dist/lib/links/link-picker-setup.d.ts +29 -0
- package/dist/lib/links/link-picker-setup.js +1 -0
- package/dist/lib/puck/ColourControl.d.ts +4 -1
- package/dist/lib/puck/ColourControl.js +1 -1
- package/dist/lib/puck/MarkupToolbar.js +1 -1
- package/dist/lib/puck/add-palette.d.ts +3 -9
- package/dist/lib/puck/add-palette.js +1 -1
- package/dist/lib/puck/add-target-types.d.ts +1 -0
- package/dist/lib/puck/add-target-types.js +0 -0
- package/dist/lib/puck/add-target.d.ts +2 -9
- package/dist/lib/puck/block-choice.d.ts +2 -0
- package/dist/lib/puck/block-choice.js +1 -0
- package/dist/lib/puck/block-offer.js +1 -1
- package/dist/lib/puck/block-types-in.d.ts +1 -1
- package/dist/lib/puck/block-types-in.js +1 -1
- package/dist/lib/puck/blocks/general/CategoryBar/fields.js +1 -1
- package/dist/lib/puck/blocks/general/Chart/fields.js +1 -1
- package/dist/lib/puck/blocks/general/FAQ/render.js +1 -1
- package/dist/lib/puck/blocks/general/FeaturedCover/render.js +1 -1
- package/dist/lib/puck/blocks/general/Footprint/fields.js +1 -1
- package/dist/lib/puck/blocks/general/IntroBleed/render.js +1 -1
- package/dist/lib/puck/blocks/general/LogoBlock/fields.js +1 -1
- package/dist/lib/puck/blocks/general/LongRead/render.js +1 -1
- package/dist/lib/puck/blocks/general/Masthead/render.js +1 -1
- package/dist/lib/puck/blocks/general/Mockup/fields.js +1 -1
- package/dist/lib/puck/blocks/general/OrderSummary/render.js +1 -1
- package/dist/lib/puck/blocks/general/ParagraphsA/render.js +1 -1
- package/dist/lib/puck/blocks/general/PostCard/render.js +1 -1
- package/dist/lib/puck/blocks/general/ProcessSteps/render.js +1 -1
- package/dist/lib/puck/blocks/general/Series/render.js +1 -1
- package/dist/lib/puck/blocks/general/Split/render.js +1 -1
- package/dist/lib/puck/blocks/general/Testimonials/fields.js +1 -1
- package/dist/lib/puck/blocks/general/Testimonials/render.js +1 -1
- package/dist/lib/puck/blocks/general/TimelineTrack/render.js +1 -1
- package/dist/lib/puck/blocks/general/index.d.ts +2 -2
- package/dist/lib/puck/blocks/placeholders.js +1 -1
- package/dist/lib/puck/content-tree.d.ts +2 -43
- package/dist/lib/puck/content-tree.js +1 -1
- package/dist/lib/puck/controls.d.ts +11 -22
- package/dist/lib/puck/controls.js +1 -1
- package/dist/lib/puck/device-fields.d.ts +2 -24
- package/dist/lib/puck/device-fields.js +1 -1
- package/dist/lib/puck/field-buckets.d.ts +2 -0
- package/dist/lib/puck/field-buckets.js +1 -0
- package/dist/lib/puck/field-groups.d.ts +3 -3
- package/dist/lib/puck/field-groups.js +1 -1
- package/dist/lib/puck/field-markers.d.ts +2 -16
- package/dist/lib/puck/field-markers.js +1 -1
- package/dist/lib/puck/footer-block-row-name.d.ts +4 -0
- package/dist/lib/puck/footer-block-row-name.js +1 -0
- package/dist/lib/puck/footer-blocks.d.ts +2 -10
- package/dist/lib/puck/footer-blocks.js +1 -1
- package/dist/lib/puck/geocode-resolve.js +1 -1
- package/dist/lib/puck/hidable.d.ts +2 -9
- package/dist/lib/puck/hidable.js +1 -1
- package/dist/lib/puck/locations-tree.js +2 -2
- package/dist/lib/puck/neutralization-contracts.js +1 -1
- package/dist/lib/puck/palette-sections.d.ts +2 -0
- package/dist/lib/puck/palette-sections.js +1 -0
- package/dist/lib/puck/panel-fields.d.ts +2 -12
- package/dist/lib/puck/panel-fields.js +1 -1
- package/dist/lib/puck/panel-no-control-mark.d.ts +2 -7
- package/dist/lib/puck/panel-no-control-mark.js +1 -1
- package/dist/lib/puck/part-id.d.ts +1 -0
- package/dist/lib/puck/part-id.js +1 -0
- package/dist/lib/puck/part-rows.js +1 -1
- package/dist/lib/puck/pinned-seed-gate.d.ts +2 -12
- package/dist/lib/puck/pinned-seed-gate.js +1 -1
- package/dist/lib/puck/preview-click.d.ts +1 -2
- package/dist/lib/puck/preview-click.js +1 -1
- package/dist/lib/puck/preview-dom.d.ts +1 -6
- package/dist/lib/puck/preview-dom.js +1 -1
- package/dist/lib/puck/preview-events.d.ts +2 -0
- package/dist/lib/puck/preview-events.js +1 -0
- package/dist/lib/puck/preview-selection-context.d.ts +2 -19
- package/dist/lib/puck/preview-selection-context.js +1 -1
- package/dist/lib/puck/section-catalog.js +1 -1
- package/dist/lib/puck/section-descriptions.js +1 -1
- package/dist/lib/puck/section-doc.d.ts +1 -5
- package/dist/lib/puck/section-doc.js +1 -1
- package/dist/lib/puck/section-groups.d.ts +1 -1
- package/dist/lib/puck/slot-child-name.d.ts +2 -8
- package/dist/lib/puck/slot-child-name.js +1 -1
- package/dist/lib/puck/slot-heal.d.ts +1 -2
- package/dist/lib/puck/slot-heal.js +1 -1
- package/dist/lib/puck/slot-section-spec.d.ts +1 -0
- package/dist/lib/puck/slot-section-spec.js +0 -0
- package/dist/lib/puck/slot-specs.d.ts +2 -13
- package/dist/lib/puck/style-clipboard.d.ts +1 -19
- package/dist/lib/puck/style-clipboard.js +1 -1
- package/dist/lib/puck/text-control-kinds.d.ts +2 -13
- package/dist/lib/puck/text-control-kinds.js +1 -1
- package/dist/lib/puck/text-parts.d.ts +2 -5
- package/dist/lib/puck/text-parts.js +1 -1
- package/dist/lib/puck/tree-reveal.d.ts +1 -11
- package/dist/lib/puck/tree-reveal.js +1 -1
- package/dist/lib/puck/use-section-ops.d.ts +2 -25
- package/dist/lib/puck/use-section-ops.js +1 -1
- package/dist/lib/reel.d.ts +1 -1
- package/dist/lib/section-template-types.d.ts +1 -21
- package/dist/lib/sections/divider-style.js +1 -1
- package/dist/lib/sections/new-section-node.d.ts +2 -0
- package/dist/lib/sections/new-section-node.js +1 -0
- package/dist/lib/sections/product-card-style.js +1 -1
- package/dist/lib/sections/ticker-style.js +1 -1
- package/dist/lib/source-rules/accent-token-name.d.ts +20 -0
- package/dist/lib/source-rules/accent-token-name.js +4 -0
- package/dist/lib/source-rules/button-corners.d.ts +13 -0
- package/dist/lib/source-rules/button-corners.js +2 -0
- package/dist/lib/source-rules/editor-chrome-note.d.ts +16 -0
- package/dist/lib/source-rules/editor-chrome-note.js +13 -0
- package/dist/lib/source-rules/editor-context-menu.d.ts +5 -0
- package/dist/lib/source-rules/editor-context-menu.js +4 -0
- package/dist/lib/source-rules/editor-puck-drag-off.d.ts +8 -0
- package/dist/lib/source-rules/editor-puck-drag-off.js +4 -0
- package/dist/lib/source-rules/efficient-easel-version.d.ts +9 -0
- package/dist/lib/source-rules/efficient-easel-version.js +2 -0
- package/dist/lib/source-rules/every-button-follows-the-button-colour.d.ts +12 -0
- package/dist/lib/source-rules/every-button-follows-the-button-colour.js +7 -0
- package/dist/lib/source-rules/flat-theme-palette.d.ts +10 -0
- package/dist/lib/source-rules/flat-theme-palette.js +8 -0
- package/dist/lib/source-rules/full-width-means-full.d.ts +8 -0
- package/dist/lib/source-rules/full-width-means-full.js +2 -0
- package/dist/lib/source-rules/heading-ceiling-sweep.d.ts +11 -0
- package/dist/lib/source-rules/heading-ceiling-sweep.js +8 -0
- package/dist/lib/source-rules/label-hints.d.ts +7 -0
- package/dist/lib/source-rules/label-hints.js +5 -0
- package/dist/lib/source-rules/label-vocabulary.d.ts +14 -0
- package/dist/lib/source-rules/label-vocabulary.js +5 -0
- package/dist/lib/source-rules/mirrored-rows-agree.d.ts +19 -0
- package/dist/lib/source-rules/mirrored-rows-agree.js +10 -0
- package/dist/lib/source-rules/no-comment-in-jsx.d.ts +9 -0
- package/dist/lib/source-rules/no-comment-in-jsx.js +7 -0
- package/dist/lib/source-rules/no-glyph-rows.d.ts +15 -0
- package/dist/lib/source-rules/no-glyph-rows.js +4 -0
- package/dist/lib/source-rules/one-colour-control.d.ts +7 -0
- package/dist/lib/source-rules/one-colour-control.js +2 -0
- package/dist/lib/source-rules/one-dropdown.d.ts +10 -0
- package/dist/lib/source-rules/one-dropdown.js +4 -0
- package/dist/lib/source-rules/one-editable-list.d.ts +16 -0
- package/dist/lib/source-rules/one-editable-list.js +6 -0
- package/dist/lib/source-rules/one-editor-list.d.ts +7 -0
- package/dist/lib/source-rules/one-editor-list.js +3 -0
- package/dist/lib/source-rules/one-right-click.d.ts +10 -0
- package/dist/lib/source-rules/one-right-click.js +2 -0
- package/dist/lib/source-rules/one-switch.d.ts +9 -0
- package/dist/lib/source-rules/one-switch.js +7 -0
- package/dist/lib/source-rules/one-up-level-link.d.ts +16 -0
- package/dist/lib/source-rules/one-up-level-link.js +18 -0
- package/dist/lib/source-rules/panel-colour-tokens.d.ts +48 -0
- package/dist/lib/source-rules/panel-colour-tokens.js +20 -0
- package/dist/lib/source-rules/panel-no-divider-lines.d.ts +14 -0
- package/dist/lib/source-rules/panel-no-divider-lines.js +10 -0
- package/dist/lib/source-rules/panel-one-arrow.d.ts +21 -0
- package/dist/lib/source-rules/panel-one-arrow.js +1 -0
- package/dist/lib/source-rules/panel-one-hover.d.ts +8 -0
- package/dist/lib/source-rules/panel-one-hover.js +2 -0
- package/dist/lib/source-rules/panel-rows-use-the-shared-row.d.ts +23 -0
- package/dist/lib/source-rules/panel-rows-use-the-shared-row.js +22 -0
- package/dist/lib/source-rules/part-slider-fills-row.d.ts +11 -0
- package/dist/lib/source-rules/part-slider-fills-row.js +29 -0
- package/dist/lib/source-rules/part-style-naming.d.ts +10 -0
- package/dist/lib/source-rules/part-style-naming.js +2 -0
- package/dist/lib/source-rules/puck-document-surfaces.d.ts +16 -0
- package/dist/lib/source-rules/puck-document-surfaces.js +8 -0
- package/dist/lib/source-rules/reduced-motion.d.ts +26 -0
- package/dist/lib/source-rules/reduced-motion.js +9 -0
- package/dist/lib/source-rules/route-content-width.d.ts +22 -0
- package/dist/lib/source-rules/route-content-width.js +5 -0
- package/dist/lib/source-rules/rule.d.ts +21 -0
- package/dist/lib/source-rules/rule.js +1 -0
- package/dist/lib/source-rules/section-theme-preview.d.ts +9 -0
- package/dist/lib/source-rules/section-theme-preview.js +8 -0
- package/dist/lib/source-rules/site-gutter.d.ts +6 -0
- package/dist/lib/source-rules/site-gutter.js +4 -0
- package/dist/lib/source-rules/site-square-by-default.d.ts +17 -0
- package/dist/lib/source-rules/site-square-by-default.js +3 -0
- package/dist/lib/source-rules/site-width.d.ts +11 -0
- package/dist/lib/source-rules/site-width.js +7 -0
- package/dist/lib/source-rules/size-token-paints.d.ts +8 -0
- package/dist/lib/source-rules/size-token-paints.js +11 -0
- package/dist/lib/source-rules/social-icons-import.d.ts +6 -0
- package/dist/lib/source-rules/social-icons-import.js +6 -0
- package/dist/lib/source-rules/source-status-is-shared.d.ts +7 -0
- package/dist/lib/source-rules/source-status-is-shared.js +1 -0
- package/dist/lib/source-rules/style-face-matches-size.d.ts +10 -0
- package/dist/lib/source-rules/style-face-matches-size.js +4 -0
- package/dist/lib/source-rules/support/accent-rename-bytes.d.ts +5 -0
- package/dist/lib/source-rules/support/accent-rename-bytes.js +1 -0
- package/dist/lib/source-rules/support/css-box-model.d.ts +5 -0
- package/dist/lib/source-rules/support/css-box-model.js +1 -0
- package/dist/lib/source-rules/support/css-length.d.ts +2 -0
- package/dist/lib/source-rules/support/css-length.js +1 -0
- package/dist/lib/source-rules/support/css-rules.d.ts +12 -0
- package/dist/lib/source-rules/support/css-rules.js +1 -0
- package/dist/lib/source-rules/support/css-source.d.ts +2 -0
- package/dist/lib/source-rules/support/css-source.js +3 -0
- package/dist/lib/source-rules/support/label-extraction.d.ts +14 -0
- package/dist/lib/source-rules/support/label-extraction.js +5 -0
- package/dist/lib/source-rules/support/panel-select-cascade.d.ts +72 -0
- package/dist/lib/source-rules/support/panel-select-cascade.js +2 -0
- package/dist/lib/source-rules/support/part-slider-call-sites.d.ts +9 -0
- package/dist/lib/source-rules/support/part-slider-call-sites.js +17 -0
- package/dist/lib/source-rules/support/registry-source.d.ts +14 -0
- package/dist/lib/source-rules/support/registry-source.js +3 -0
- package/dist/lib/source-rules/support/ts-source.d.ts +2 -0
- package/dist/lib/source-rules/support/ts-source.js +3 -0
- package/dist/lib/source-rules/theme-mode-controls-gone.d.ts +10 -0
- package/dist/lib/source-rules/theme-mode-controls-gone.js +5 -0
- package/dist/lib/source-rules/upload-intake-guard.d.ts +11 -0
- package/dist/lib/source-rules/upload-intake-guard.js +6 -0
- package/dist/lib/source-rules/word-styles.d.ts +8 -0
- package/dist/lib/source-rules/word-styles.js +4 -0
- package/dist/lib/theme-row-persist.js +1 -1
- package/dist/lib/theme-save-message.js +1 -1
- package/dist/lib/web-backend.d.ts +4 -59
- package/dist/lib/web-backend.js +1 -1
- package/dist/lib/website-document-addressing.d.ts +2 -0
- package/dist/lib/website-document-addressing.js +1 -0
- package/dist/lib/website-host-inbound.d.ts +1 -0
- package/dist/lib/website-host-inbound.js +1 -0
- package/dist/lib/website-session.d.ts +5 -0
- package/dist/lib/website-session.js +1 -0
- package/package.json +18 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{cancelPanelPick as P,hasMediaPanel as l,MediaPanelProvider as i,requestPanelPick as n,settlePanelPick as c,useMediaPanel as s,usePanelPick as r}from"efficient-easel/screen/lib/media-panel";export{i as MediaPanelProvider,P as cancelPanelPick,l as hasMediaPanel,n as requestPanelPick,c as settlePanelPick,s as useMediaPanel,r as usePanelPick};
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
id: string;
|
|
4
|
-
url: string;
|
|
5
|
-
kind: "image" | "video";
|
|
6
|
-
}
|
|
7
|
-
export declare function requestMediaPick(host: EditorHost, opts: {
|
|
8
|
-
accept: string;
|
|
9
|
-
title: string;
|
|
10
|
-
file?: File | null;
|
|
11
|
-
}): Promise<PickedMedia | null>;
|
|
12
|
-
export declare function resolveMediaPick(requestId: string, media: PickedMedia | null): void;
|
|
1
|
+
export { requestMediaPick, resolveMediaPick } from "efficient-easel/screen/lib/media-picker";
|
|
2
|
+
export type { PickedMedia } from "efficient-easel/screen/lib/media-picker";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{requestMediaPick as r,resolveMediaPick as o}from"efficient-easel/screen/lib/media-picker";export{r as requestMediaPick,o as resolveMediaPick};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { pageEditLock } from "efficient-easel/screen/lib/page-lock";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{pageEditLock as p}from"efficient-easel/screen/lib/page-lock";export{p as pageEditLock};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ScreenPartsProvider as EditorScreenProvider, sameInspectorMode, SELECTION_MODE, useScreenParts as useEditorScreen, useScreenBlockLook, useScreenBlockRules, useScreenBridges, useScreenCanvasFrame, useScreenDevices, useScreenDocumentPass, useScreenInspectorPanel, useScreenLeftView, useScreenOwnerName, useScreenPinned, useStandaloneScreenBridges } from "efficient-easel/screen/lib/screen-parts";
|
|
2
|
+
export type { ScreenParts as EditorScreenParts, NodeDefaults, ScreenBlockLook, ScreenBlockRules, ScreenBridges, ScreenCanvas, ScreenDevices, ScreenDocumentOps, ScreenInspector, ScreenInspectorMode, ScreenInspectorPanelProps, ScreenLeftPanel, ScreenLeftView, ScreenLeftViewFrame, ScreenLeftViewRules, ScreenNewNode, ScreenNode, ScreenNodeLevel, ScreenNodeMaker, ScreenPartMode, ScreenPinnedNodes, ScreenRailItem, ScreenTree, ScreenTreeFolds, ScreenTreeRows } from "efficient-easel/screen/lib/screen-parts";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{ScreenPartsProvider as s,sameInspectorMode as n,SELECTION_MODE as c,useScreenParts as S,useScreenBlockLook as u,useScreenBlockRules as o,useScreenBridges as a,useScreenCanvasFrame as t,useScreenDevices as i,useScreenDocumentPass as d,useScreenInspectorPanel as P,useScreenLeftView as l,useScreenOwnerName as m,useScreenPinned as E,useStandaloneScreenBridges as v}from"efficient-easel/screen/lib/screen-parts";export{s as EditorScreenProvider,c as SELECTION_MODE,n as sameInspectorMode,S as useEditorScreen,u as useScreenBlockLook,o as useScreenBlockRules,a as useScreenBridges,t as useScreenCanvasFrame,i as useScreenDevices,d as useScreenDocumentPass,P as useScreenInspectorPanel,l as useScreenLeftView,m as useScreenOwnerName,E as useScreenPinned,v as useStandaloneScreenBridges};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const sectionTemplates: SectionTemplateStore;
|
|
1
|
+
export { sectionTemplates } from "efficient-easel/screen/lib/section-templates";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{sectionTemplates as t}from"efficient-easel/screen/lib/section-templates";export{t as sectionTemplates};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { type EditorSession } from "./editor-session.js";
|
|
3
|
-
export declare function EditorSessionProvider({ session, children }: {
|
|
4
|
-
session: EditorSession;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}): import("react").JSX.Element;
|
|
7
|
-
export declare function useEditorSession(): EditorSession;
|
|
1
|
+
export { EaselSessionProvider as EditorSessionProvider, useEaselSession as useEditorSession } from "efficient-easel/screen/lib/session-context";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{EaselSessionProvider as o,useEaselSession as i}from"efficient-easel/screen/lib/session-context";export{o as EditorSessionProvider,i as useEditorSession};
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type { EditorChrome } from "./editor-chrome.js";
|
|
4
|
-
import type { EditorDocumentHooks } from "./editor-document-hooks.js";
|
|
5
|
-
import type { WebsiteBackend } from "./web-backend.js";
|
|
6
|
-
export declare const EFFICIENT_BACKEND: unique symbol;
|
|
7
|
-
export declare function isEfficientBackend(backend: WebsiteBackend | null | undefined): boolean;
|
|
8
|
-
export interface EditorSession {
|
|
9
|
-
readonly hostBackend: WebsiteBackend | null;
|
|
10
|
-
readonly usesBridgedToken: boolean;
|
|
11
|
-
readonly blocks: EditorBlocks | null;
|
|
12
|
-
readonly registry: Config | null;
|
|
13
|
-
readonly chrome: EditorChrome | null;
|
|
14
|
-
readonly documentHooks: EditorDocumentHooks | null;
|
|
15
|
-
readonly auth: {
|
|
16
|
-
token: string | null;
|
|
17
|
-
brandId: string | null;
|
|
18
|
-
};
|
|
19
|
-
readonly site: {
|
|
20
|
-
documentId: string | null;
|
|
21
|
-
bridgedId: string | null;
|
|
22
|
-
};
|
|
23
|
-
siteId(): string | null;
|
|
24
|
-
cache<T>(key: string, make: () => T): T;
|
|
25
|
-
forget(key?: string): void;
|
|
26
|
-
}
|
|
27
|
-
type DefaultBackend = (session: EditorSession) => WebsiteBackend;
|
|
28
|
-
export declare function provideDefaultBackend(make: DefaultBackend): void;
|
|
29
|
-
export declare function backendOf(session?: EditorSession): WebsiteBackend;
|
|
30
|
-
export declare function sessionRegistry(session: EditorSession): Config;
|
|
31
|
-
export declare function createEditorSession(options?: {
|
|
32
|
-
backend?: WebsiteBackend | null;
|
|
33
|
-
blocks?: EditorBlocks | null;
|
|
34
|
-
registry?: Config | null;
|
|
35
|
-
chrome?: EditorChrome | null;
|
|
36
|
-
documentHooks?: EditorDocumentHooks | null;
|
|
37
|
-
}): EditorSession;
|
|
38
|
-
export declare function setSessionDocumentSite(session: EditorSession, siteId: string | null | undefined): void;
|
|
39
|
-
export declare function setSessionBridgedSite(session: EditorSession, siteId: string | null | undefined): void;
|
|
40
|
-
export declare function currentEditorSession(): EditorSession;
|
|
41
|
-
export declare function activateEditorSession(session: EditorSession): void;
|
|
42
|
-
export declare function deactivateEditorSession(session: EditorSession): void;
|
|
43
|
-
export declare function efficientClientOpen(): boolean;
|
|
44
|
-
export declare function resetAmbientEditorSession(): void;
|
|
45
|
-
export {};
|
|
1
|
+
export { activateEaselSession as activateEditorSession, backendOf, createEaselSession as createEditorSession, currentEaselSession as currentEditorSession, deactivateEaselSession as deactivateEditorSession, EFFICIENT_BACKEND, efficientClientOpen, isEfficientBackend, provideDefaultBackend, resetAmbientEaselSession as resetAmbientEditorSession, sessionRegistry, setSessionBridgedSite, setSessionDocumentSite } from "efficient-easel/screen/lib/session";
|
|
2
|
+
export type { EaselSession as EditorSession, SessionBackend, SessionBlocks } from "efficient-easel/screen/lib/session";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{activateEaselSession as i,backendOf as t,createEaselSession as n,currentEaselSession as a,deactivateEaselSession as o,EFFICIENT_BACKEND as r,efficientClientOpen as c,isEfficientBackend as E,provideDefaultBackend as S,resetAmbientEaselSession as d,sessionRegistry as f,setSessionBridgedSite as l,setSessionDocumentSite as v}from"efficient-easel/screen/lib/session";export{r as EFFICIENT_BACKEND,i as activateEditorSession,t as backendOf,n as createEditorSession,a as currentEditorSession,o as deactivateEditorSession,c as efficientClientOpen,E as isEfficientBackend,S as provideDefaultBackend,d as resetAmbientEditorSession,f as sessionRegistry,l as setSessionBridgedSite,v as setSessionDocumentSite};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{backendOf as o}from"./
|
|
1
|
+
import{backendOf as o}from"./website-session.js";const r=new Map;async function n(l,t){try{return(await o().site.get({siteId:t})).slug?.trim()||null}catch(e){return console.warn("[editor-site-slug] could not resolve the site slug",e),null}}function c(l,t){let e=r.get(t);return e||(e=n(l,t),r.set(t,e),e.catch(()=>{r.get(t)===e&&r.delete(t)})),e}function u(l){l?r.delete(l):r.clear()}export{u as clearEditorSiteSlugCache,c as loadEditorSiteSlug};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { applyEaselChromeTheme as applyEditorChromeTheme } from "efficient-easel/screen/lib/chrome-theme";
|
package/dist/lib/editor-theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{applyEaselChromeTheme as o}from"efficient-easel/screen/lib/chrome-theme";export{o as applyEditorChromeTheme};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HeroGroupPlacement } from "./hero-group-placement.js";
|
|
2
2
|
export declare const HERO_ARROWS_PLACEMENTS: readonly ["top-left", "top-center", "top-right", "left", "center", "right", "bottom-left", "bottom-center", "bottom-right"];
|
|
3
3
|
export type HeroArrowsPlacement = HeroGroupPlacement;
|
|
4
|
-
export declare const HERO_ARROWS_PLACEMENT_LABELS: Readonly<Record<"left" | "
|
|
4
|
+
export declare const HERO_ARROWS_PLACEMENT_LABELS: Readonly<Record<"left" | "center" | "top-left" | "top-center" | "top-right" | "right" | "bottom-left" | "bottom-center" | "bottom-right", string>>;
|
|
5
5
|
export declare const HERO_ARROWS_PLACEMENT_DEFAULT: HeroArrowsPlacement;
|
|
6
6
|
export declare const HERO_ARROW_SHAPES: readonly ["outline", "solid", "square", "bare"];
|
|
7
7
|
export type HeroArrowShape = (typeof HERO_ARROW_SHAPES)[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LinkFilters, LinkPickerPage } from "efficient-easel/screen/lib/links/link-filters";
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { LinkFilterField, LinkKindChoice, LinkRules } from "efficient-easel/fields";
|
|
2
|
+
import type { LinkFilters, LinkPickerPage } from "./link-filters.js";
|
|
3
|
+
import { type LinkKind } from "./page-link-rules.js";
|
|
4
|
+
export type { LinkFilters, LinkPickerPage };
|
|
5
|
+
export type LinkPickerSetupInput = {
|
|
6
|
+
pages: readonly LinkPickerPage[];
|
|
7
|
+
posts: readonly {
|
|
8
|
+
slug: string;
|
|
9
|
+
title: string;
|
|
10
|
+
}[];
|
|
11
|
+
products: readonly {
|
|
12
|
+
href: string;
|
|
13
|
+
name: string;
|
|
14
|
+
}[];
|
|
15
|
+
offers: {
|
|
16
|
+
offersCommerce: boolean;
|
|
17
|
+
offersService: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type LinkPickerSetup = {
|
|
21
|
+
kinds: LinkKindChoice[];
|
|
22
|
+
rules: LinkRules;
|
|
23
|
+
filtersFor?: (target: string) => readonly LinkFilterField[] | null;
|
|
24
|
+
};
|
|
25
|
+
export declare function inferLinkKind(url: string, pagePaths: readonly string[], listing?: {
|
|
26
|
+
listingPaths: readonly string[];
|
|
27
|
+
targetOf: (url: string) => string;
|
|
28
|
+
}): LinkKind;
|
|
29
|
+
export declare function linkPickerSetup(input: LinkPickerSetupInput, filters?: LinkFilters | null): LinkPickerSetup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{anchorPath as d,isSafeLink as u,linkKindsFor as f,pageAnchors as P,pagePath as m,postPath as v}from"./page-link-rules.js";const r={choosePage:"Choose a page",chooseSection:"Choose a section",noSections:"No section anchors yet",sectionHint:"Jumps to a section on that page.",choosePost:"Choose a post",chooseProduct:"Choose a product"};function p(t,o,a){if(!t)return"page";if(t.startsWith("/journal/"))return"blog";if(t.startsWith("/wheels/"))return"product";if(t.includes("#")){const n=t.slice(0,t.indexOf("#"));if(n===""||n==="/"||o.includes(n))return"anchor"}return t==="/"||o.includes(t)||a&&a.listingPaths.includes(a.targetOf(t))?"page":"custom"}function O(t,o){const a=t.pages.map(e=>({value:m(e.slug),label:e.title})),n=o?.pageOptions?o.pageOptions(a):a,i=n.map(e=>e.value),c=t.pages.map(e=>({label:e.title,options:P(...e.docs).map(s=>({value:d(e.slug,s.slug),label:s.name}))})).filter(e=>e.options.length>0),g=e=>{switch(e){case"page":return{type:"select",options:n,placeholder:r.choosePage};case"anchor":return{type:"groups",groups:c,placeholder:c.length?r.chooseSection:r.noSections};case"blog":return{type:"select",options:t.posts.map(s=>({value:v(s.slug),label:s.title||s.slug})),placeholder:r.choosePost};case"product":return{type:"select",options:t.products.map(s=>({value:s.href,label:s.name||s.href})),placeholder:r.chooseProduct};case"custom":return{type:"text"}}},l=f(t.offers).map(e=>({value:e.value,label:e.label,target:g(e.value),...e.value==="anchor"?{hint:r.sectionHint}:{},...e.value==="blog"||e.value==="product"?{hideWhenEmpty:!0}:{}}));if(!o)return{kinds:l,rules:{kindOf:e=>p(e,i),targetOf:e=>e,readFilter:()=>null,withFilter:e=>e,isSafe:u}};const h=e=>{const s=o.withFilter(e,null);return o.listingPaths.includes(s)?s:e};return{kinds:l,rules:{kindOf:e=>p(e,i,{listingPaths:o.listingPaths,targetOf:h}),targetOf:h,readFilter:o.readFilter,withFilter:o.withFilter,isSafe:u},filtersFor:e=>o.listingPaths.includes(e)?o.filtersFor(e):null}}export{p as inferLinkKind,O as linkPickerSetup};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export declare function ColourControl({ value, onChange, label, id, caption, inherited, after, ariaLabel, }: {
|
|
2
3
|
value: string;
|
|
3
4
|
onChange: (next: string) => void;
|
|
4
5
|
label: string;
|
|
5
6
|
id?: string;
|
|
6
7
|
caption?: string;
|
|
8
|
+
inherited?: string;
|
|
9
|
+
after?: ReactNode;
|
|
7
10
|
ariaLabel?: string;
|
|
8
11
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as
|
|
1
|
+
"use client";import{jsx as m}from"react/jsx-runtime";import{ColourPicker as u}from"efficient-easel/pick";import{usePreviewHeader as c}from"../../components/PreviewHeaderContext.js";import{themeSwatches as f}from"./theme-swatches.js";function v({value:e,onChange:r,label:o,id:t,caption:i,inherited:n,after:a,ariaLabel:l}){return m(h,{value:e,onChange:r,label:l??o,id:t,caption:i,inherited:n,after:a})}function h({value:e,onChange:r,label:o,id:t,caption:i,inherited:n,after:a}){const{theme:l}=c();return m(u,{value:e,onChange:r,label:o,id:t,caption:i,inherited:n,after:a,theme:f(l)})}export{v as ColourControl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,Fragment as u,jsxs as p}from"react/jsx-runtime";import{useEffect as g,useState as M}from"react";import{MarkBar as S,markSelection as
|
|
1
|
+
import{jsx as e,Fragment as u,jsxs as p}from"react/jsx-runtime";import{useEffect as g,useState as M}from"react";import{MarkBar as S,markSelection as E,useCaretEdit as L}from"efficient-easel/copy";import{RevertIcon as v}from"efficient-easel/icons";import{IconButton as b,Tooltip as j}from"efficient-shell/ui";import{applyShopMark as z,shopMarkedAt as A,shopMarkupTools as T,stripMarkup as C}from"../markup.js";function H({style:t}){const n=r=>e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.9,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:r});switch(t){case"bold":return n(e("path",{d:"M7 5h6.5a3.5 3.5 0 0 1 0 7H7zm0 7h7.5a3.5 3.5 0 0 1 0 7H7z"}));case"italic":return n(p(u,{children:[e("line",{x1:"10",y1:"5",x2:"19",y2:"5"}),e("line",{x1:"5",y1:"19",x2:"14",y2:"19"}),e("line",{x1:"14",y1:"5",x2:"10",y2:"19"})]}));case"strike":return n(p(u,{children:[e("path",{d:"M16.5 6.5A4.2 4.2 0 0 0 12.7 4.7C10 4.7 8.4 6 8.4 7.9c0 1.6 1.2 2.5 3.4 3.1"}),e("path",{d:"M7.6 17.4A4.4 4.4 0 0 0 11.7 19.3c2.8 0 4.5-1.4 4.5-3.4 0-1-.4-1.8-1.2-2.4"}),e("line",{x1:"4",y1:"12",x2:"20",y2:"12"})]}));case"highlight":return n(p(u,{children:[e("path",{d:"M14.5 4.5l5 5-8 8H6.5v-5z"}),e("line",{x1:"4",y1:"21",x2:"20",y2:"21"})]}));case"quiet":return n(p(u,{children:[e("path",{d:"M12 4.5l5.5 7.5L12 19.5 6.5 12z"}),e("line",{x1:"9.4",y1:"12",x2:"14.6",y2:"12"})]}));default:return null}}const _=["bold","italic","strike","highlight"],D=Object.fromEntries(_.map(t=>[t,e(H,{style:t},t)])),y="Clear formatting";function B(t,n,r){return E(t,n,r,z)}function F(t){const[n,r]=M(null);return g(()=>{const o=t.current?.ownerDocument??(typeof document>"u"?null:document);if(!o)return;const a=()=>{const s=t.current;if(!s||o.activeElement!==s)return;const i=s.selectionStart??s.value.length,d=s.selectionEnd??i;r(c=>c&&c.start===i&&c.end===d?c:{start:i,end:d})};return o.addEventListener("selectionchange",a),()=>o.removeEventListener("selectionchange",a)},[t]),[n,r]}function I({target:t,value:n,onChange:r,disabled:o=!1,label:a="Formatting"}){const s=L({target:t,onChange:r}),[i,d]=F(t),c=l=>s(k=>{const h=B(n,l,k);return d({start:h.selectionStart,end:h.selectionEnd}),h}),m=T(),f={};if(i)for(const l of m)f[l.style]=A(n,i.start,i.end,l.style);const x=C(n);return e(S,{tools:m,onApply:c,pressed:f,disabled:o,glyphs:D,ariaLabel:a,actions:e("span",{className:"sf-markup-clear",children:e(j,{content:y,children:e(b,{size:"sm",onMouseDown:l=>l.preventDefault(),onClick:()=>r(x),disabled:o||x===n,"aria-label":y,children:e(v,{size:14})})})})})}var P=I;export{I as MarkupToolbar,P as default,B as markSelection};
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import type { Config } from "efficient-easel/blocks";
|
|
2
|
+
import { type PaletteSection } from "./palette-sections.js";
|
|
3
|
+
export { matchesQuery, type PaletteSection } from "./palette-sections.js";
|
|
2
4
|
export declare const CATEGORY_META: Record<string, {
|
|
3
5
|
label: string;
|
|
4
6
|
icon: string;
|
|
5
7
|
}>;
|
|
6
|
-
export
|
|
7
|
-
type: string;
|
|
8
|
-
cat: string;
|
|
9
|
-
name: string;
|
|
10
|
-
desc: string;
|
|
11
|
-
catLabel: string;
|
|
12
|
-
alias?: string;
|
|
13
|
-
};
|
|
8
|
+
export declare function categoryShortLabel(id: string): string | undefined;
|
|
14
9
|
export declare function buildPaletteSections(config: Config, descriptions?: Record<string, string>): PaletteSection[];
|
|
15
10
|
export declare function categoryLabel(config: Config, id: string): string;
|
|
16
11
|
export declare function categoryIcon(id: string): string;
|
|
17
|
-
export declare function matchesQuery(s: PaletteSection, q: string): boolean;
|
|
18
12
|
export declare const PINNED_SECTION_TYPE = "Flex";
|
|
19
13
|
export declare function pinnedSection(sections: PaletteSection[]): PaletteSection | null;
|
|
20
14
|
export declare function paletteWithoutPinned(sections: PaletteSection[]): PaletteSection[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{labelAtLevel as
|
|
1
|
+
import{buildPaletteSections as r,categoryLabel as l,paletteWithoutPinned as i,pinnedSection as c}from"./palette-sections.js";import{labelAtLevel as b,LEVEL_NAMED_TYPE as u}from"./section-catalog.js";import{matchesQuery as S}from"./palette-sections.js";const t={openers:{label:"Hero & intros",icon:"image"},shop:{label:"Shop & galleries",icon:"bag"},product:{label:"Product page",icon:"box"},checkout:{label:"Checkout & ordering",icon:"bag"},about:{label:"About & brand story",icon:"book"},content:{label:"Text & content",icon:"type"},proof:{label:"Stats & social proof",icon:"star"},promo:{label:"Promotions & sign-ups",icon:"sparkles"},blog:{label:"Blog & journal",icon:"newspaper"},navigation:{label:"Navigation & wayfinding",icon:"bookmark"},legal:{label:"Legal & documents",icon:"file"},contact:{label:"Contact, FAQ & forms",icon:"mail"},structure:{label:"Layout, structure & embeds",icon:"grid"}};function n(o){return t[o]?.label}function d(o,e={}){return r(o,{labelAtLevel:b,categoryLabel:n,descriptions:e})}function f(o,e){return l(o,e,n)}function m(o){return t[o]?.icon??"layers"}const a=u;function y(o){return c(o,a)}function x(o){return i(o,a)}export{t as CATEGORY_META,a as PINNED_SECTION_TYPE,d as buildPaletteSections,m as categoryIcon,f as categoryLabel,n as categoryShortLabel,S as matchesQuery,x as paletteWithoutPinned,y as pinnedSection};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AddTarget, AddTargetSource } from "efficient-easel/screen/lib/puck/add-target-types";
|
|
File without changes
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type AddTargetSource = "section" | "footer" | "container";
|
|
4
|
-
export interface AddTarget {
|
|
5
|
-
source: AddTargetSource;
|
|
6
|
-
slot: string;
|
|
7
|
-
choices: BlockChoice[] | null;
|
|
8
|
-
spec: SlotSectionSpec | null;
|
|
9
|
-
}
|
|
1
|
+
import type { AddTarget } from "./add-target-types.js";
|
|
2
|
+
export type { AddTarget, AddTargetSource } from "./add-target-types.js";
|
|
10
3
|
export declare function canAddTo(nodeType: string, nestDepth?: number): AddTarget | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{blockRuns as b}from"efficient-easel/screen/lib/puck/block-choice";export{b as blockRuns};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{offeredSets as S}from"../editor-blocks.js";import{currentEditorSession as l}from"../editor-session.js";import{
|
|
1
|
+
import{offeredSets as S}from"../editor-blocks.js";import{currentEditorSession as l}from"../editor-session.js";import{blocksOf as p}from"../website-session.js";import{presetFor as O}from"../sections/section-presets.js";import{blockTypesIn as a}from"./block-types-in.js";import{blockSetOf as h}from"./section-catalog.js";import{SLOT_SECTION_SPECS as E}from"./slot-specs.js";const w=()=>({}),m=new Map;function T(e){const n=m.get(e);if(n)return n;const t=new Set,f=E[e];if(f)for(const r of f.seeds(w))for(const s of a({type:f.childType,props:r}))t.add(s);const i=O(e);if(i){let r=0;for(const s of a(i(w,o=>`${o}-${r+=1}`)))t.add(s)}t.delete(e);const u=[...t].sort();return m.set(e,u),u}function x(e){if(!e||!e.sets&&!e.allow&&!e.deny?.length)return null;const n=S(e),t=e.allow?new Set(e.allow):null,f=new Set(e.deny??[]),i=new Set(Object.keys(e.host??{})),u=o=>{if(f.has(o))return!1;if(i.has(o))return!0;const c=h(o);return!c||!n[c]?!1:t?t.has(o):!0},r=new Map,s=o=>{const c=r.get(o);if(c!==void 0)return c;r.set(o,!1);const d=u(o)&&T(o).every(s);return r.set(o,d),d};return{sets:n,offers:s}}const F="block-offer";function _(e=l()){return e.cache(F,()=>x(p(e)))}function C(e,n=l()){const t=_(n);return t?t.offers(e):!0}export{C as blockIsOffered,_ as blockOfferOf,T as blocksLaidDownBy,x as resolveBlockOffer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { blockTypesIn } from "efficient-easel/screen/lib/puck/block-types-in";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{blockTypesIn as p}from"efficient-easel/screen/lib/puck/block-types-in";export{p as blockTypesIn};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{StickyIcon as i}from"efficient-easel/icons";import{group as l,plainText as e,toggle as o,withOffPage as t}from"../../../controls.js";const y={fields:{tabs:{type:"array",label:"Tabs",arrayFields:{label:e("Label"),count:e("Count")},getItemSummary:a=>a?.label?`${a.label}${a.count?`
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StickyIcon as i}from"efficient-easel/icons";import{group as l,plainText as e,toggle as o,withOffPage as t}from"../../../controls.js";const y={fields:{tabs:{type:"array",label:"Tabs",arrayFields:{label:e("Label"),count:e("Count")},getItemSummary:a=>a?.label?`${a.label}${a.count?` · ${a.count}`:""}`:"Tab"},activeTab:t(e("Active tab","All")),_gLinks:l("Links"),links:{type:"array",label:"Right links",arrayFields:{label:e("Label"),href:t(e("Link"))},getItemSummary:a=>a?.label||"Link"},_gStyle:l("Style"),sticky:o("Stick under header",!0,r(i,{}))}};export{y as CategoryBarFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{StylesIcon as i}from"efficient-easel/icons";import{copyText as n,group as t,plainText as s,select as u,text as e,textarea as a}from"../../../controls.js";import{CHART_PH as o}from"./render.js";const f={fields:{_gContent:t("Content"),eyebrow:e("Chip label",o.eyebrow),title:a("Heading",o.title),body:a("Body",""),items:{type:"array",label:"Data points",arrayFields:{label:n("Label"),value:s("Value")},defaultItemProps:{label:"",value:""},getItemSummary:l=>[l?.label,l?.value].filter(Boolean).join("
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StylesIcon as i}from"efficient-easel/icons";import{copyText as n,group as t,plainText as s,select as u,text as e,textarea as a}from"../../../controls.js";import{CHART_PH as o}from"./render.js";const f={fields:{_gContent:t("Content"),eyebrow:e("Chip label",o.eyebrow),title:a("Heading",o.title),body:a("Body",""),items:{type:"array",label:"Data points",arrayFields:{label:n("Label"),value:s("Value")},defaultItemProps:{label:"",value:""},getItemSummary:l=>[l?.label,l?.value].filter(Boolean).join(" · ")||"Point"},caption:e("Caption","Illustrative example"),_gStyle:t("Style"),chartStyle:u("Chart style",r(i,{}),[{label:"Bars (comparison / funnel)",value:"bars"},{label:"Line (trend)",value:"line"},{label:"Donut (split of a whole)",value:"donut"}],"bars"),valueSuffix:e("Value suffix","%")}};export{f as ChartFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as u}from"react/jsx-runtime";import d from"../../../../../components/FAQ.js";import{readPartStyles as a}from"../../../part-styles.js";import{hidableText as l}from"../../../hidable.js";import{parseSectionHeadPlacement as m}from"../../../../sections/section-head-placement.js";import{PH as f}from"../../placeholders.js";import{phRows as c,phHide as n}from"../../scaffold.js";const i={num:f.sectionNumber,title:"Frequently *asked.*",link:"View all questions"},h=[{question:"Your first question goes here?",answer:"Add your answer here
|
|
1
|
+
import{jsx as u}from"react/jsx-runtime";import d from"../../../../../components/FAQ.js";import{readPartStyles as a}from"../../../part-styles.js";import{hidableText as l}from"../../../hidable.js";import{parseSectionHeadPlacement as m}from"../../../../sections/section-head-placement.js";import{PH as f}from"../../placeholders.js";import{phRows as c,phHide as n}from"../../scaffold.js";const i={num:f.sectionNumber,title:"Frequently *asked.*",link:"View all questions"},h=[{question:"Your first question goes here?",answer:"Add your answer here — a sentence or two is plenty."},{question:"Your second question goes here?",answer:"Add your answer here. Keep it clear and concise so it stays easy to scan."},{question:"Your third question goes here?",answer:"Add your answer here."},{question:"Your fourth question goes here?",answer:"Add your answer here."},{question:"Your fifth question goes here?",answer:"Add your answer here."}],F={label:"Q&A",defaultProps:{num:"",title:"",linkText:"",linkHref:"/faq",defaultOpen:!0,items:[]},render:e=>{const r=m(e.headPlacement)==="own-box",t=s=>r?void 0:s,o=n(e.linkText,i.link,e.puck);return u(d,{num:t(n(e.num,i.num,e.puck)),title:t(n(e.title,i.title,e.puck)),link:t(o?{text:o,href:l(e.linkHref)||"/faq"}:void 0),omitHead:r,nodeId:typeof e.id=="string"?e.id:void 0,partStyles:a(e),items:c(e.items,h,e.puck),defaultOpen:e.defaultOpen,editing:e.puck?.isEditing})}};export{F as FAQRender,i as FAQ_PH};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as y}from"react/jsx-runtime";import H from"../../../../../components/FeaturedCover.js";import{hidableText as T}from"../../../hidable.js";import{CTA_PH as D,PH as o}from"../../placeholders.js";import{phHide as t}from"../../scaffold.js";const a={badge:"Featured",imageDate:o.date,category:o.category,readLabel:"0 min read",date:o.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article
|
|
1
|
+
import{jsx as y}from"react/jsx-runtime";import H from"../../../../../components/FeaturedCover.js";import{hidableText as T}from"../../../hidable.js";import{CTA_PH as D,PH as o}from"../../placeholders.js";import{phHide as t}from"../../scaffold.js";const a={badge:"Featured",imageDate:o.date,category:o.category,readLabel:"0 min read",date:o.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article — one or two sentences that draw the reader in.",ctaText:"Read the story",ctaHref:D.href},P={label:"Featured cover",defaultProps:{source:null,image:"",badge:"",imageDate:"",category:"",readLabel:"",date:"",title:"",dek:"",ctaText:"",ctaHref:""},render:({source:i,image:m,badge:l,imageDate:s,category:g,readLabel:n,date:f,title:c,dek:h,ctaText:b,ctaHref:x,puck:e})=>{const r=i,d=!!r?.slug;return y(H,{image:d?r.image:m,badge:t(l,a.badge,e),imageDate:d?r.date:t(s,a.imageDate,e),category:t(g,a.category,e),readLabel:t(n,a.readLabel,e),date:d?r.date:t(f,a.date,e),title:d?r.title:t(c,a.title,e),dek:d?r.dek:t(h,a.dek,e),ctaText:t(b,a.ctaText,e),ctaHref:d?r.href:T(x)})}};export{a as FEATUREDCOVER_PH,P as FeaturedCoverRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as a}from"react/jsx-runtime";import{FOOTPRINT_DEFAULTS as m}from"../../../../content/footprint.js";import{HeadquartersIcon as p,ThemeIcon as f}from"efficient-easel/icons";import{CoordsField as u,copyText as g,group as l,plainText as t,section as y,segmented as F,sourceField as h,text as T,textarea as n,toggle as S}from"../../../controls.js";import{needsGeocodeWork as O,resolveGeocodeRows as b}from"../../../geocode-resolve.js";import{SPLITTABLE_SECTIONS as I,headFieldsForPlacement as _,widthFieldsForParent as P}from"../../../../sections/section-head-placement.js";import{innerSpacingFields as v,WIDTH_ROW_KEYS as x}from"../../shared-fields.js";import{FOOTPRINT_PH as s}from"./render.js";const L={fields:{_gContent:l("Section"),sectionNumber:T("Section number",s.sectionNumber),heading:n("Heading",s.heading),tagline:n("Body",s.tagline),_gOffices:l("Offices"),offices:{type:"array",label:"Offices",arrayFields:{role:t("Role"),city:t("City"),country:t("Region
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import{FOOTPRINT_DEFAULTS as m}from"../../../../content/footprint.js";import{HeadquartersIcon as p,ThemeIcon as f}from"efficient-easel/icons";import{CoordsField as u,copyText as g,group as l,plainText as t,section as y,segmented as F,sourceField as h,text as T,textarea as n,toggle as S}from"../../../controls.js";import{needsGeocodeWork as O,resolveGeocodeRows as b}from"../../../geocode-resolve.js";import{SPLITTABLE_SECTIONS as I,headFieldsForPlacement as _,widthFieldsForParent as P}from"../../../../sections/section-head-placement.js";import{innerSpacingFields as v,WIDTH_ROW_KEYS as x}from"../../shared-fields.js";import{FOOTPRINT_PH as s}from"./render.js";const L={fields:{_gContent:l("Section"),sectionNumber:T("Section number",s.sectionNumber),heading:n("Heading",s.heading),tagline:n("Body",s.tagline),_gOffices:l("Offices"),offices:{type:"array",label:"Offices",arrayFields:{role:t("Role"),city:t("City"),country:t("Region · country"),address:g("Address"),group:t("Group"),hq:S("HQ",!1,a(p,{})),geocode:h(u,{label:"Coordinates"})},defaultItemProps:{role:"Sales & Distribution",city:"City",country:"Country",address:"",group:"",hq:!1,lat:0,lng:0},getItemSummary:e=>e?.city||"Office"},mapTheme:F("Map theme",a(f,{}),[{label:"Auto",value:"auto"},{label:"Dark",value:"dark"},{label:"Light",value:"light"}],m.mapTheme),_sStyle:y("Style"),...v("Footprint")},resolveData:async e=>{const o=e.props,r=o.offices??[];if(!O(r))return e;const c=await b(r,i=>[i.address,i.city,i.country].map(d=>String(d??"").replace(/\*/g,"").trim()).filter(Boolean).join(", "));return{...e,props:{...o,offices:c}}},resolveFields:(e,{fields:o,parent:r})=>_(P(o,r,x),e.props.headPlacement,I.Footprint.headRows)};export{L as FootprintFields};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as l}from"react/jsx-runtime";import{PAGE_WIDTH as a,centredCap as b}from"../../../../content/page-width.js";import{TYPE_SIZE_INHERIT as t}from"../../../../content/section-type-size.js";import r from"../../../../../components/IntroBleed.js";import{hidableText as d}from"../../../hidable.js";import{parseIntroBleedLayout as n}from"../../../../sections/intro-bleed-layout.js";import{phHide as o,ctaHide as c}from"../../scaffold.js";const i={eyebrow:"
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{PAGE_WIDTH as a,centredCap as b}from"../../../../content/page-width.js";import{TYPE_SIZE_INHERIT as t}from"../../../../content/section-type-size.js";import r from"../../../../../components/IntroBleed.js";import{hidableText as d}from"../../../hidable.js";import{parseIntroBleedLayout as n}from"../../../../sections/intro-bleed-layout.js";import{phHide as o,ctaHide as c}from"../../scaffold.js";const i={eyebrow:"— Label",title:`Section headline
|
|
2
2
|
*Highlight line*`,body:"A sentence or two of supporting copy."};function y(e){if(e===!1)return b(`var(--sf-page-width, ${a.default}px)`)}const M={label:"Scroll-Over Text",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",imageSrcMobile:"",heightDesktop:100,heightMobile:100,overlay:60,titleSizeDesktop:t,bodySizeDesktop:t,titleSizeMobile:t,bodySizeMobile:t,ctaText:"",ctaHref:"",buttonColor:"",buttonTextColor:"",sticky:!0,uppercase:!1,fullWidth:!0},render:e=>l(r,{eyebrow:o(e.eyebrow,i.eyebrow,e.puck),title:o(e.title,i.title,e.puck),body:o(e.body,i.body,e.puck),imageLabel:d(e.title)||i.title,imageSrc:e.imageSrc||void 0,imageSrcMobile:e.imageSrcMobile||void 0,cta:c(e.ctaText,e.ctaHref,e.puck),sticky:e.sticky,layout:n(e.layout),copyShareDesktop:e.copyShareDesktop,copyShareMobile:e.copyShareMobile,heightDesktop:e.heightDesktop,heightMobile:e.heightMobile,overlay:e.overlay,titleSizeDesktop:e.titleSizeDesktop,bodySizeDesktop:e.bodySizeDesktop,titleSizeMobile:e.titleSizeMobile,bodySizeMobile:e.bodySizeMobile,buttonColor:e.buttonColor||void 0,buttonTextColor:e.buttonTextColor||void 0,uppercase:e.uppercase,capStyle:y(e.fullWidth)})};export{i as INTRO_PH,M as IntroBleedRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{FOOTER_LOGO_PX as l,HEADER_LOGO_PX_MAX as i,HEADER_LOGO_PX_MIN as a}from"../../../../../components/Logo.js";import{HeightIcon as s}from"efficient-easel/icons";import{linkField as p,plainText as n,slider as c,upload as d}from"../../../controls.js";const O={fields:{src:d("Logo image","image/*"),alt:n("Alt text","Brand name","Read out in place of the picture, and shown if it can
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{FOOTER_LOGO_PX as l,HEADER_LOGO_PX_MAX as i,HEADER_LOGO_PX_MIN as a}from"../../../../../components/Logo.js";import{HeightIcon as s}from"efficient-easel/icons";import{linkField as p,plainText as n,slider as c,upload as d}from"../../../controls.js";const O={fields:{src:d("Logo image","image/*"),alt:n("Alt text","Brand name","Read out in place of the picture, and shown if it can’t load."),href:p("Link"),heightPx:c("Height",r(s,{}),a,i,1,l,"px"),reverse:{type:"select",label:"Logo color",options:[{label:"Auto contrast",value:"auto"},{label:"As uploaded",value:"off"}]}},resolveFields:(t,{fields:o})=>{if((t.props.src??"").trim())return o;const e={...o};return delete e.alt,e}};export{O as LogoBlockFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as D}from"react/jsx-runtime";import M from"../../../../../components/LongRead.js";import{hidableText as _}from"../../../hidable.js";import{parseSectionHeadPlacement as j}from"../../../../sections/section-head-placement.js";import{CTA_PH as w,PH as o}from"../../placeholders.js";import{phHide as t}from"../../scaffold.js";const a={headNum:o.sectionNumber,headTitle:o.headingAccent,headDesc:o.body,category:o.category,metaMiddle:"Section",readLabel:"0 min read",title:"Article *headline* goes here.",dek:"A short summary of the article goes here.",quote:"A short pull quote.",quoteAttribution:"
|
|
1
|
+
import{jsx as D}from"react/jsx-runtime";import M from"../../../../../components/LongRead.js";import{hidableText as _}from"../../../hidable.js";import{parseSectionHeadPlacement as j}from"../../../../sections/section-head-placement.js";import{CTA_PH as w,PH as o}from"../../placeholders.js";import{phHide as t}from"../../scaffold.js";const a={headNum:o.sectionNumber,headTitle:o.headingAccent,headDesc:o.body,category:o.category,metaMiddle:"Section",readLabel:"0 min read",title:"Article *headline* goes here.",dek:"A short summary of the article goes here.",quote:"A short pull quote.",quoteAttribution:"— "+o.date,ctaText:"Begin reading",ctaHref:w.href,imageLabel:"Featured *image*",metaPublished:o.date,metaReads:"0 min"},O={label:"Long read",defaultProps:{source:null,headNum:"",headTitle:"",headDesc:"",category:"",metaMiddle:"",readLabel:"",title:"",dek:"",quote:"",quoteAttribution:"",ctaText:"",ctaHref:"",image:"",imageLabel:"",metaPublished:"",metaReads:""},render:({source:l,headNum:n,headTitle:s,headDesc:h,category:g,metaMiddle:b,readLabel:u,title:c,dek:f,quote:L,quoteAttribution:x,ctaText:A,ctaHref:T,image:q,imageLabel:H,metaPublished:P,metaReads:R,headPlacement:y,puck:e})=>{const m=j(y)==="own-box",r=N=>m?void 0:N,d=l,i=!!d?.slug;return D(M,{headNum:r(t(n,a.headNum,e)),headTitle:r(t(s,a.headTitle,e)),headDesc:r(t(h,a.headDesc,e)),omitHead:m,category:t(g,a.category,e),metaMiddle:t(b,a.metaMiddle,e),readLabel:t(u,a.readLabel,e),title:i?d.title:t(c,a.title,e),dek:i?d.dek:t(f,a.dek,e),quote:t(L,a.quote,e),quoteAttribution:t(x,a.quoteAttribution,e),ctaText:t(A,a.ctaText,e),ctaHref:i?d.href:_(T),image:i?d.image:q,imageLabel:t(H,a.imageLabel,e),metaPublished:i?d.date:t(P,a.metaPublished,e),metaReads:t(R,a.metaReads,e)})}};export{a as LONGREAD_PH,O as LongReadRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as u}from"react/jsx-runtime";import A from"../../../../../components/Masthead.js";import{PH as H}from"../../placeholders.js";import{phRows as i,phHide as s}from"../../scaffold.js";const t={eyebrow:H.eyebrow,lead:"A short lead paragraph introducing this section
|
|
1
|
+
import{jsx as u}from"react/jsx-runtime";import A from"../../../../../components/Masthead.js";import{PH as H}from"../../placeholders.js";import{phRows as i,phHide as s}from"../../scaffold.js";const t={eyebrow:H.eyebrow,lead:"A short lead paragraph introducing this section — a sentence or two about its theme.",issueHeading:"In this issue",issueTotal:"— Articles in total"},h=[{lead:"Volume",rest:"No. 1"},{lead:"Season",rest:"Year"},{lead:"Frequency",rest:""}],m=[{text:"Article headline"},{text:"Feature story"},{text:"Interview"},{text:"Field notes"}],M={label:"Issue Header",defaultProps:{eyebrow:"",issueMeta:[],lead:"",issueHeading:"",issueList:[],issueTotal:""},render:({eyebrow:o,issueMeta:a,lead:r,issueHeading:d,issueList:n,issueTotal:l,puck:e})=>u(A,{eyebrow:s(o,t.eyebrow,e),issueMeta:i(a,h,e),lead:s(r,t.lead,e),issueHeading:s(d,t.issueHeading,e),issueList:i(n,m,e),issueTotal:s(l,t.issueTotal,e),editing:e?.isEditing})};export{t as MASTHEAD_PH,M as MastheadRender};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{jsx as t}from"react/jsx-runtime";import{BlockColumnIcon as i,PlacementIcon as c,StateIcon as d,TemplateIcon as b,TextLinesIcon as m}from"efficient-easel/icons";import{group as r,plainText as a,select as n,text as l,textarea as u,textList as o}from"../../../controls.js";import{cullMockupFields as p,MOCKUP_DEFAULT_VARIANT as y,MOCKUP_VARIANT_OPTIONS as f}from"../../../mockup-variant-fields.js";const T={fields:{_gContent:r("Content"),eyebrow:l("Chip label","In the product"),title:u("Heading",`Seen from
|
|
2
|
-
*the counter.*`),body:u("Body",""),_gCard:r("Mockup card"),variant:n("Card type",t(b,{}),f,y),cardHeader:l("Card header strip","Product record"),badge:l("Header badge","LIVE"),cardTitle:l("Card title",""),cardSubtitle:l("Card subtitle",""),pills:{type:"array",label:"Selector pills",arrayFields:{label:a("Label"),value:a("Value")},defaultItemProps:{label:"",value:""},getItemSummary:e=>[e?.label,e?.value].filter(Boolean).join(" ")||"Pill"},tiles:{type:"array",label:"Spec tiles",arrayFields:{label:a("Label"),value:a("Value")},defaultItemProps:{label:"",value:""},getItemSummary:e=>[e?.label,e?.value].filter(Boolean).join(" ")||"Tile"},rows:{type:"array",label:"Result / order rows",arrayFields:{lead:a("Lead"),detail:a("Detail"),state:n("State",t(d,{}),[{label:"Match / done (green)",value:"ok"},{label:"In progress (accent)",value:"warn"},{label:"No match (gray
|
|
2
|
+
*the counter.*`),body:u("Body",""),_gCard:r("Mockup card"),variant:n("Card type",t(b,{}),f,y),cardHeader:l("Card header strip","Product record"),badge:l("Header badge","LIVE"),cardTitle:l("Card title",""),cardSubtitle:l("Card subtitle",""),pills:{type:"array",label:"Selector pills",arrayFields:{label:a("Label"),value:a("Value")},defaultItemProps:{label:"",value:""},getItemSummary:e=>[e?.label,e?.value].filter(Boolean).join(" ")||"Pill"},tiles:{type:"array",label:"Spec tiles",arrayFields:{label:a("Label"),value:a("Value")},defaultItemProps:{label:"",value:""},getItemSummary:e=>[e?.label,e?.value].filter(Boolean).join(" ")||"Tile"},rows:{type:"array",label:"Result / order rows",arrayFields:{lead:a("Lead"),detail:a("Detail"),state:n("State",t(d,{}),[{label:"Match / done (green)",value:"ok"},{label:"In progress (accent)",value:"warn"},{label:"No match (gray ✕)",value:"no"}],"ok"),status:a("Status chip")},defaultItemProps:{lead:"",detail:"",state:"ok",status:""},getItemSummary:e=>[e?.lead,e?.detail].filter(Boolean).join(" · ")||"Row"},button:l("Accent button",""),footnote:l("Accent footnote",""),_gKanban:r("Kanban columns"),col1Title:l("Column 1 title",""),col1Cards:o("Column 1 cards",t(i,{}),"Job card label","verbatim"),col2Title:l("Column 2 title",""),col2Cards:o("Column 2 cards",t(i,{}),"Job card label","verbatim"),col3Title:l("Column 3 title",""),col3Cards:o("Column 3 cards",t(i,{}),"Job card label","verbatim"),col4Title:l("Column 4 title",""),col4Cards:o("Column 4 cards",t(i,{}),"Job card label","verbatim"),_gClaims:r("Claims bars"),barsHeading:l("Bars heading","Defect rate by product"),bars:{type:"array",label:"Bars",arrayFields:{label:a("Label"),value:a("Value")},defaultItemProps:{label:"",value:""},getItemSummary:e=>[e?.label,e?.value].filter(Boolean).join(" · ")||"Bar"},_gTerminal:r("Terminal"),termLines:o("Terminal lines",t(m,{}),"$ efficient …","verbatim"),_gBrowser:r("Browser mock"),urlText:l("URL pill",""),heroTitle:l("Hero line",""),heroButton:l("Hero button",""),products:{type:"array",label:"Product tiles",arrayFields:{name:a("Name"),price:a("Price")},defaultItemProps:{name:"",price:""},getItemSummary:e=>[e?.name,e?.price].filter(Boolean).join(" · ")||"Tile"},_gStyle:r("Style"),align:n("Mockup position",t(c,{}),[{label:"Right of the copy",value:"right"},{label:"Left of the copy",value:"left"}],"right")},resolveFields:(e,{fields:s})=>p(s,e.props.variant)};export{T as MockupFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as d}from"react/jsx-runtime";import S from"../../../../../components/OrderSummary.js";import{PH as u}from"../../placeholders.js";import{phRows as o,phHide as e}from"../../scaffold.js";const r={title:"Order summary",note:"A short reassurance note under the total."},O=[{label:"Product name",meta:"Finish
|
|
1
|
+
import{jsx as d}from"react/jsx-runtime";import S from"../../../../../components/OrderSummary.js";import{PH as u}from"../../placeholders.js";import{phRows as o,phHide as e}from"../../scaffold.js";const r={title:"Order summary",note:"A short reassurance note under the total."},O=[{label:"Product name",meta:"Finish · Size · ×1",amount:"$0,000"},{label:"Second item",meta:"Detail line",amount:"$000"}],_=[{label:"Subtotal",amount:"$0,000"},{label:"Delivery",amount:"$00"}],M={label:"Order Table",defaultProps:{eyebrow:"",title:"",rows:[],subRows:[],totalLabel:"",totalAmount:"",note:"",contained:!0},render:({eyebrow:a,title:l,rows:n,subRows:m,totalLabel:s,totalAmount:i,note:R,contained:b,puck:t})=>d(S,{eyebrow:e(a,u.eyebrow,t),title:e(l,r.title,t),rows:o(n,O,t),subRows:o(m,_,t),totalLabel:e(s,"Total",t),totalAmount:e(i,"$0,000",t),note:e(R,r.note,t),contained:b})};export{r as ORDER_SUMMARY_PH,M as OrderSummaryRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/ParagraphsA.js";import{PH as t}from"../../placeholders.js";import{phHide as e}from"../../scaffold.js";const r={eyebrow:t.eyebrow,lead:"Introduce your company in a paragraph or two.",foundersHeading:"Add a short heading.",foundersBody:"Add a short statement here
|
|
1
|
+
import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/ParagraphsA.js";import{PH as t}from"../../placeholders.js";import{phHide as e}from"../../scaffold.js";const r={eyebrow:t.eyebrow,lead:"Introduce your company in a paragraph or two.",foundersHeading:"Add a short heading.",foundersBody:"Add a short statement here — a sentence or two is plenty.",attribution:"— Name, Year"},H={label:"Lead Text",defaultProps:{eyebrow:"",lead:"",stats:[],foundersHeading:"",foundersBody:"",attribution:"",padTop:60,padBottom:80},render:({eyebrow:a,lead:d,stats:n,foundersHeading:s,foundersBody:i,attribution:p,padTop:f,padBottom:m,puck:o})=>y(b,{eyebrow:e(a,r.eyebrow,o),lead:e(d,t.body,o),stats:n,foundersHeading:e(s,r.foundersHeading,o),foundersBody:e(i,r.foundersBody,o),attribution:e(p,r.attribution,o),padTop:f,padBottom:m})};export{r as PARAGRAPHS_A_PH,H as ParagraphsARender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as n}from"react/jsx-runtime";import{BOX_DARKEN_STYLES as i}from"../../../../content/box-background.js";import o,{POST_CARD_HEIGHT as c,POST_CARD_LAYOUT_FALLBACK as m}from"../../../../../components/PostCard.js";import{hidableText as u}from"../../../hidable.js";import{PH as l}from"../../placeholders.js";import{phHide as d}from"../../scaffold.js";const r={title:"Add a *headline* for this post.",excerpt:"A short summary of the post
|
|
1
|
+
import{jsx as n}from"react/jsx-runtime";import{BOX_DARKEN_STYLES as i}from"../../../../content/box-background.js";import o,{POST_CARD_HEIGHT as c,POST_CARD_LAYOUT_FALLBACK as m}from"../../../../../components/PostCard.js";import{hidableText as u}from"../../../hidable.js";import{PH as l}from"../../placeholders.js";import{phHide as d}from"../../scaffold.js";const r={title:"Add a *headline* for this post.",excerpt:"A short summary of the post — one or two sentences.",category:l.category,date:l.date,readLabel:"0 min read"},b={label:"Post Card",defaultProps:{source:null,image:"",title:"",excerpt:"",href:"",category:"",date:"",readLabel:"",layout:m,showCover:!0,placement:"bottom-left",darken:55,darkenStyle:i[0].value,minHeight:c.fallback},render:e=>{const t=e.source,a=!!t?.slug;return n(o,{post:{slug:a?t.slug:"post-card",title:(a?t.title:d(e.title,r.title,e.puck))||"",excerpt:(a?t.dek:d(e.excerpt,r.excerpt,e.puck))||"",cover:(a?t.image:e.image)||"",meta:d(e.category,r.category,e.puck)||void 0,dateLabel:(a?t.date:d(e.date,r.date,e.puck))||void 0,read:d(e.readLabel,r.readLabel,e.puck)||void 0},href:(a?t.href:u(e.href))||void 0,layout:e.layout,showCover:e.showCover,placement:e.placement,darken:e.darken,darkenStyle:e.darkenStyle,minHeight:e.minHeight,scaffold:!!e.puck?.isEditing&&!a})}};export{r as POSTCARD_PH,b as PostCardRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as c}from"react/jsx-runtime";import u from"../../../../../components/ProcessSteps.js";import{parseSectionHeadPlacement as b}from"../../../../sections/section-head-placement.js";import{PH as e}from"../../placeholders.js";import{phRows as m,phHide as o,ctaHide as s}from"../../scaffold.js";const i={num:e.sectionNumber,title:e.headingAccent,description:e.body,cta:e.viewAll},d=[{image:"",tag:"A
|
|
1
|
+
import{jsx as c}from"react/jsx-runtime";import u from"../../../../../components/ProcessSteps.js";import{parseSectionHeadPlacement as b}from"../../../../sections/section-head-placement.js";import{PH as e}from"../../placeholders.js";import{phRows as m,phHide as o,ctaHide as s}from"../../scaffold.js";const i={num:e.sectionNumber,title:e.headingAccent,description:e.body,cta:e.viewAll},d=[{image:"",tag:"A · Step",meta:"Short detail line",title:"Step *one*",copy:"Describe this step in a sentence or two.",specs:[{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value}]},{image:"",tag:"B · Step",meta:"Short detail line",title:"Step *two*",copy:"Describe this step in a sentence or two.",specs:[{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value}]},{image:"",tag:"C · Step",meta:"Short detail line",title:"Step *three*",copy:"Describe this step in a sentence or two.",specs:[{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value},{label:e.label,value:e.value}]}],r={boxes:{type:"slot"}},g={label:"Image & Text Columns",fields:r,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120},render:t=>{const l=b(t.headPlacement)==="own-box",a=n=>l?void 0:n;return c(u,{num:a(o(t.num,i.num,t.puck)),title:a(o(t.title,i.title,t.puck)),description:a(o(t.description,e.body,t.puck)),omitHead:l,boxes:t.boxes,steps:m(t.steps,d,t.puck),columns:typeof t.columns=="number"?t.columns:3,cta:s(t.ctaText,t.ctaHref),padTop:l?0:typeof t.padTop=="number"?t.padTop:120,padBottom:typeof t.padBottom=="number"?t.padBottom:120,cardImage:t.cardImage,cardText:t.cardText,editing:t.puck?.isEditing})}};export{i as PROCESS_PH,g as ProcessStepsRender,r as ProcessStepsSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as b}from"react/jsx-runtime";import f from"../../../../../components/Series.js";import{resolveSectionBackground as p}from"../../../../content/section-background.js";import{parseSectionHeadPlacement as S}from"../../../../sections/section-head-placement.js";import{PH as n}from"../../placeholders.js";import{phRows as g,phHide as r}from"../../scaffold.js";import{SECTION_BG_BUILT_IN as L}from"../section-bg-built-in.js";const i={headNum:n.sectionNumber,headTitle:n.headingAccent,headDesc:n.body,viewLabel:"View series
|
|
1
|
+
import{jsx as b}from"react/jsx-runtime";import f from"../../../../../components/Series.js";import{resolveSectionBackground as p}from"../../../../content/section-background.js";import{parseSectionHeadPlacement as S}from"../../../../sections/section-head-placement.js";import{PH as n}from"../../placeholders.js";import{phRows as g,phHide as r}from"../../scaffold.js";import{SECTION_BG_BUILT_IN as L}from"../section-bg-built-in.js";const i={headNum:n.sectionNumber,headTitle:n.headingAccent,headDesc:n.body,viewLabel:"View series →"},w=[{num:"01",since:"Year",title:"Column *title.*",desc:"A short description of this recurring column.",entries:"0",entriesLabel:"entries"},{num:"02",since:"Year",title:"Column *title.*",desc:"A short description of this recurring column.",entries:"0",entriesLabel:"entries"},{num:"03",since:"Year",title:"Column *title.*",desc:"A short description of this recurring column.",entries:"0",entriesLabel:"entries"}],R={label:"Recurring Columns",defaultProps:{headNum:"",headTitle:"",headDesc:"",cards:[],viewLabel:"",background:"transparent"},render:({headNum:s,headTitle:a,headDesc:d,cards:c,viewLabel:m,background:l,headPlacement:h,puck:e})=>{const o=S(h)==="own-box",t=u=>o?void 0:u;return b(f,{headNum:t(r(s,i.headNum,e)),headTitle:t(r(a,i.headTitle,e)),headDesc:t(r(d,i.headDesc,e)),omitHead:o,cards:g(c,w,e),viewLabel:r(m,i.viewLabel,e),background:p(l,L.Series),editing:e?.isEditing})}};export{i as SERIES_PH,R as SeriesRender};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as l}from"react/jsx-runtime";import c from"../../../../../components/Split.js";import{hidableText as g}from"../../../hidable.js";import{phHide as t,ctaHide as d}from"../../scaffold.js";const i={eyebrow:"
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import c from"../../../../../components/Split.js";import{hidableText as g}from"../../../hidable.js";import{phHide as t,ctaHide as d}from"../../scaffold.js";const i={eyebrow:"— Label",title:`Section headline *here.*
|
|
2
2
|
*Highlight line*`,body:"Describe this section in a sentence or two."},m={text:"Learn more"};function x(e,n,r){const a=t(e,m.text,r);if(a!==void 0)return{text:a,href:n||"#"}}const y={label:"Image & Text Split",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60},render:e=>l(c,{eyebrow:t(e.eyebrow,i.eyebrow,e.puck),title:t(e.title,i.title,e.puck),body:t(e.body,i.body,e.puck),imageLabel:g(e.title)||i.title,imageSrc:e.imageSrc||void 0,reverse:e.reverse,uppercase:e.uppercase,textAlign:e.textAlign,cta:d(e.ctaText,e.ctaHref,e.puck),imageButton:x(e.imageBtnText,e.imageBtnHref,e.puck),textBgSrc:e.textBgSrc||void 0,textBgTint:(typeof e.overlay=="number"?e.overlay:60)/100,grayscale:e.grayscale})};export{m as IMGBTN_PH,i as SPLIT_PH,y as SplitRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{ColumnsIcon as a,StylesIcon as i}from"efficient-easel/icons";import{group as t,plainText as r,plainTextarea as n,select as p,slider as d,text as y,textarea as T}from"../../../controls.js";import{SPLITTABLE_SECTIONS as u,headFieldsForPlacement as S,widthFieldsForParent as I}from"../../../../sections/section-head-placement.js";import{SECTION_EYEBROW_LOOK_OPTIONS as f,eyebrowLookFor as _}from"../../../../sections/section-eyebrow-look.js";import{WIDTH_ROW_KEYS as E}from"../../shared-fields.js";import{TESTIMONIALS_PH as l}from"./render.js";const C={fields:{_gContent:t("Content"),eyebrow:y("Eyebrow",l.eyebrow),eyebrowLook:p("Eyebrow style",o(i,{}),[...f],_("Testimonials")),title:T("Heading",l.title),items:{type:"array",label:"Quotes",arrayFields:{quote:n("Quote"),name:r("Name"),role:r("Role
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{ColumnsIcon as a,StylesIcon as i}from"efficient-easel/icons";import{group as t,plainText as r,plainTextarea as n,select as p,slider as d,text as y,textarea as T}from"../../../controls.js";import{SPLITTABLE_SECTIONS as u,headFieldsForPlacement as S,widthFieldsForParent as I}from"../../../../sections/section-head-placement.js";import{SECTION_EYEBROW_LOOK_OPTIONS as f,eyebrowLookFor as _}from"../../../../sections/section-eyebrow-look.js";import{WIDTH_ROW_KEYS as E}from"../../shared-fields.js";import{TESTIMONIALS_PH as l}from"./render.js";const C={fields:{_gContent:t("Content"),eyebrow:y("Eyebrow",l.eyebrow),eyebrowLook:p("Eyebrow style",o(i,{}),[...f],_("Testimonials")),title:T("Heading",l.title),items:{type:"array",label:"Quotes",arrayFields:{quote:n("Quote"),name:r("Name"),role:r("Role · location")},defaultItemProps:{quote:"",name:"",role:""},getItemSummary:e=>e?.name||e?.quote||"Quote"},_gStyle:t("Style"),columns:d("Columns",o(a,{}),1,3,1,3)},resolveFields:(e,{fields:m,parent:s})=>S(I(m,s,E),e.props.headPlacement,u.Testimonials.headRows)};export{C as TestimonialsFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/Testimonials.js";import{parseSectionHeadPlacement as s}from"../../../../sections/section-head-placement.js";import{parseSectionEyebrowLook as l}from"../../../../sections/section-eyebrow-look.js";import{phRows as c,phHide as i}from"../../scaffold.js";const n={eyebrow:"Feedback",title:"What people *say.*"},u=[{quote:"A short customer quote goes here
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/Testimonials.js";import{parseSectionHeadPlacement as s}from"../../../../sections/section-head-placement.js";import{parseSectionEyebrowLook as l}from"../../../../sections/section-eyebrow-look.js";import{phRows as c,phHide as i}from"../../scaffold.js";const n={eyebrow:"Feedback",title:"What people *say.*"},u=[{quote:"A short customer quote goes here — replace it with a real testimonial from your customers.",name:"Customer name",role:"Role · Location"},{quote:"A second customer quote — what they loved, in a sentence or two.",name:"Customer name",role:"Role · Location"},{quote:"A third short quote to round out the row.",name:"Customer name",role:"Role · Location"}],T={label:"Testimonials",defaultProps:{eyebrow:"",title:"",items:[],columns:3},render:e=>{const o=s(e.headPlacement)==="own-box",t=r=>o?void 0:r;return m(a,{look:l(e.eyebrowLook,"Testimonials"),eyebrow:t(i(e.eyebrow,n.eyebrow,e.puck)),title:t(i(e.title,n.title,e.puck)),omitHead:o,items:c(e.items,u,e.puck),columns:e.columns,editing:e.puck?.isEditing})}};export{n as TESTIMONIALS_PH,T as TestimonialsRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as l}from"react/jsx-runtime";import c from"../../../../../components/TimelineTrack.js";import{SECTION_BG_INHERIT as m,resolveSectionBackground as u}from"../../../../content/section-background.js";import{parseSectionHeadPlacement as d}from"../../../../sections/section-head-placement.js";import{CTA_PH as b,PH as i}from"../../placeholders.js";import{phRows as T,phHide as n,ctaHide as f}from"../../scaffold.js";import{SECTION_BG_BUILT_IN as s}from"../section-bg-built-in.js";const r={eyebrow:i.eyebrow,title:i.headingAccent,intro:i.body,cta:b.text},k=[{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import c from"../../../../../components/TimelineTrack.js";import{SECTION_BG_INHERIT as m,resolveSectionBackground as u}from"../../../../content/section-background.js";import{parseSectionHeadPlacement as d}from"../../../../sections/section-head-placement.js";import{CTA_PH as b,PH as i}from"../../placeholders.js";import{phRows as T,phHide as n,ctaHide as f}from"../../scaffold.js";import{SECTION_BG_BUILT_IN as s}from"../section-bg-built-in.js";const r={eyebrow:i.eyebrow,title:i.headingAccent,intro:i.body,cta:b.text},k=[{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year",title:"Milestone",blurb:"A short line about this milestone.",future:!1},{date:"Year →",title:"Upcoming",blurb:"A milestone still to come.",future:!0}],y={label:"Milestone Timeline",defaultProps:{eyebrow:"",title:"",intro:"",entries:[],ctaText:"",ctaHref:"",background:m,padTop:120,padBottom:120},render:e=>{const t=d(e.headPlacement)==="own-box",o=a=>t?void 0:a;return l(c,{eyebrow:o(n(e.eyebrow,r.eyebrow,e.puck)),title:o(n(e.title,r.title,e.puck)),intro:o(n(e.intro,r.intro,e.puck)),omitHead:t,entries:T(e.entries,k,e.puck),cta:f(e.ctaText,e.ctaHref,e.puck),background:u(e.background,s.TimelineTrack),padTop:t?0:typeof e.padTop=="number"?e.padTop:120,padBottom:typeof e.padBottom=="number"?e.padBottom:120,editing:e.puck?.isEditing})}};export{r as TIMELINE_TRACK_PH,y as TimelineTrackRender};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const generalBlocks: Record<"Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "TimelineTrack" | "Footprint" | "Prose" | "ParagraphsA" | "Split" | "Cards" | "KeyFeatures" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Ticker" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "
|
|
2
|
-
export declare const assembleGeneralBlocks: () => Record<"Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "TimelineTrack" | "Footprint" | "Prose" | "ParagraphsA" | "Split" | "Cards" | "KeyFeatures" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Ticker" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "
|
|
1
|
+
export declare const generalBlocks: Record<"Text" | "Divider" | "Flex" | "LogoBlock" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "TimelineTrack" | "Footprint" | "Prose" | "ParagraphsA" | "Split" | "Cards" | "KeyFeatures" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Ticker" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Spacer" | "CustomHTML" | "Grid" | "Heading" | "Eyebrow" | "ImageBlock" | "ButtonBlock" | "PostCard" | "HeroSlide" | "HeroGroup" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
|
|
2
|
+
export declare const assembleGeneralBlocks: () => Record<"Text" | "Divider" | "Flex" | "LogoBlock" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "TimelineTrack" | "Footprint" | "Prose" | "ParagraphsA" | "Split" | "Cards" | "KeyFeatures" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Ticker" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Spacer" | "CustomHTML" | "Grid" | "Heading" | "Eyebrow" | "ImageBlock" | "ButtonBlock" | "PostCard" | "HeroSlide" | "HeroGroup" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
|