efficient-web-builder 41.0.0 → 42.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 +111 -0
- package/README.md +0 -21
- package/dist/editor/components/SectionEditor.d.ts +0 -3
- package/dist/editor/components/SectionEditor.js +1 -1
- package/dist/editor/components/StorefrontEditor.js +1 -1
- package/dist/editor/components/storefront-editor.css +97 -117
- package/dist/editor/components/usePinnedChromeSeed.js +1 -1
- package/dist/editor/components/useSectionToBoxPass.d.ts +2 -0
- package/dist/editor/components/useSectionToBoxPass.js +1 -1
- package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
- package/dist/editor/lib/document/controls.d.ts +1 -0
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/footer-blocks.js +1 -1
- package/dist/editor/lib/document/overrides.js +1 -1
- package/dist/editor/lib/document/part-anchors.d.ts +0 -1
- package/dist/editor/lib/document/part-anchors.js +1 -1
- package/dist/editor/lib/sections/section-dry-run.d.ts +36 -3
- package/dist/editor/lib/sections/section-dry-run.js +2 -2
- package/dist/format/lib/content/authored-props.js +1 -1
- package/dist/format/lib/content/box-layout.d.ts +4 -0
- package/dist/format/lib/content/box-layout.js +1 -1
- package/dist/format/lib/content/footer.d.ts +5 -0
- package/dist/format/lib/content/footer.js +1 -1
- package/dist/format/lib/content/section-padding.js +1 -1
- package/dist/format/lib/content/section-sticky.js +1 -1
- package/dist/format/lib/content/section-width.d.ts +4 -0
- package/dist/format/lib/content/section-width.js +1 -1
- package/dist/format/lib/document/blocks/general/Divider/meta.js +1 -1
- package/dist/format/lib/document/box-footer.js +1 -1
- package/dist/format/lib/document/overlay-portal.d.ts +0 -1
- package/dist/format/lib/document/overlay-portal.js +1 -1
- package/dist/format/lib/document/section-catalog.d.ts +1 -2
- package/dist/format/lib/document/section-catalog.js +10 -2
- package/dist/format/lib/editor-words-catalogue.d.ts +3 -0
- package/dist/format/lib/editor-words-catalogue.js +2 -2
- package/dist/format/lib/finite-number.d.ts +1 -0
- package/dist/format/lib/finite-number.js +1 -0
- package/dist/format/lib/marked-children.d.ts +1 -0
- package/dist/format/lib/marked-children.js +1 -0
- package/dist/format/lib/sections/divider-style.d.ts +10 -2
- package/dist/format/lib/sections/divider-style.js +1 -1
- package/dist/format/lib/site-theme-row.d.ts +1 -0
- package/dist/format/lib/source-rules/document-surfaces.js +4 -4
- package/dist/format/lib/source-rules/editor-drag-off.js +3 -3
- package/dist/format/lib/source-rules/panel-colour-tokens.js +6 -6
- package/dist/format/lib/source-rules/panel-no-divider-lines.js +4 -4
- package/dist/format/lib/source-rules/panel-one-arrow.js +1 -1
- package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +8 -8
- package/dist/format/lib/source-rules/support/document-folder.d.ts +2 -2
- package/dist/format/lib/source-rules/support/document-folder.js +1 -1
- package/dist/render/components/BoxTabPaneContext.d.ts +2 -0
- package/dist/render/components/BoxTabPaneContext.js +1 -0
- package/dist/render/components/BoxTabs.js +1 -1
- package/dist/render/components/Divider.d.ts +5 -4
- package/dist/render/components/Divider.js +1 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HeroSection.js +2 -2
- package/dist/render/components/PreviewHeaderContext.d.ts +3 -1
- package/dist/render/components/PreviewHeaderContext.js +1 -1
- package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +25 -0
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
- package/dist/render/lib/document/hero-media-parts.d.ts +2 -2
- package/dist/render/lib/document/page-render.js +1 -1
- package/dist/render/lib/document/passes/section-padding.d.ts +1 -0
- package/dist/render/lib/document/passes/section-padding.js +1 -1
- package/dist/render/lib/sections/section-to-box.d.ts +75 -15
- package/dist/render/lib/sections/section-to-box.js +1 -1
- package/dist/render/lib/text-styles/site-text-styles.d.ts +2 -0
- package/dist/render/lib/text-styles/site-text-styles.js +2 -2
- package/package.json +3 -3
- package/dist/editor/lib/puck/ColourControl.d.ts +0 -1
- package/dist/editor/lib/puck/ColourControl.js +0 -1
- package/dist/editor/lib/puck/MarkupToolbar.d.ts +0 -2
- package/dist/editor/lib/puck/MarkupToolbar.js +0 -1
- package/dist/editor/lib/puck/add-palette.d.ts +0 -1
- package/dist/editor/lib/puck/add-palette.js +0 -1
- package/dist/editor/lib/puck/add-target.d.ts +0 -1
- package/dist/editor/lib/puck/add-target.js +0 -1
- package/dist/editor/lib/puck/apply-card-corners.d.ts +0 -1
- package/dist/editor/lib/puck/apply-card-corners.js +0 -1
- package/dist/editor/lib/puck/block-offer.d.ts +0 -1
- package/dist/editor/lib/puck/block-offer.js +0 -1
- package/dist/editor/lib/puck/block-source-fields.d.ts +0 -1
- package/dist/editor/lib/puck/block-source-fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Banner/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Banner/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Cards/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Cards/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Chart/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Chart/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Countdown/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Countdown/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Divider/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Divider/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocBody/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocBody/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocTabs/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocTabs/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/FAQ/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/FAQ/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Flex/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Flex/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Footprint/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Footprint/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Grid/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Grid/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Heading/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Heading/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Hero/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Hero/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Integrations/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Integrations/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Logos/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Logos/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/LongRead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/LongRead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Manifesto/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Manifesto/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Masthead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Masthead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Mockup/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Mockup/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/PostCard/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/PostCard/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Prose/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Prose/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Series/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Series/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Split/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Split/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Stats/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Stats/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Testimonials/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Testimonials/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Text/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Text/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Ticker/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Ticker/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Timeline/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Timeline/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/index.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/index.js +0 -1
- package/dist/editor/lib/puck/blocks/shared-fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/shared-fields.js +0 -1
- package/dist/editor/lib/puck/build-config.d.ts +0 -1
- package/dist/editor/lib/puck/build-config.js +0 -1
- package/dist/editor/lib/puck/canvas-typing.d.ts +0 -1
- package/dist/editor/lib/puck/canvas-typing.js +0 -1
- package/dist/editor/lib/puck/card-row-fields.d.ts +0 -1
- package/dist/editor/lib/puck/card-row-fields.js +0 -1
- package/dist/editor/lib/puck/controls.d.ts +0 -1
- package/dist/editor/lib/puck/controls.js +0 -1
- package/dist/editor/lib/puck/enclosing-section.d.ts +0 -1
- package/dist/editor/lib/puck/enclosing-section.js +0 -1
- package/dist/editor/lib/puck/every-page.d.ts +0 -1
- package/dist/editor/lib/puck/every-page.js +0 -1
- package/dist/editor/lib/puck/field-groups.d.ts +0 -1
- package/dist/editor/lib/puck/field-groups.js +0 -1
- package/dist/editor/lib/puck/footer-blocks.d.ts +0 -1
- package/dist/editor/lib/puck/footer-blocks.js +0 -1
- package/dist/editor/lib/puck/general-registry.d.ts +0 -2
- package/dist/editor/lib/puck/general-registry.js +0 -1
- package/dist/editor/lib/puck/geocode-resolve.d.ts +0 -1
- package/dist/editor/lib/puck/geocode-resolve.js +0 -1
- package/dist/editor/lib/puck/heading-outline.d.ts +0 -1
- package/dist/editor/lib/puck/heading-outline.js +0 -1
- package/dist/editor/lib/puck/hidable-rows-drawn.d.ts +0 -1
- package/dist/editor/lib/puck/hidable-rows-drawn.js +0 -1
- package/dist/editor/lib/puck/locations-focus.d.ts +0 -1
- package/dist/editor/lib/puck/locations-focus.js +0 -1
- package/dist/editor/lib/puck/locked-blocks.d.ts +0 -1
- package/dist/editor/lib/puck/locked-blocks.js +0 -1
- package/dist/editor/lib/puck/logo-color-fields.d.ts +0 -1
- package/dist/editor/lib/puck/logo-color-fields.js +0 -1
- package/dist/editor/lib/puck/overrides.d.ts +0 -1
- package/dist/editor/lib/puck/overrides.js +0 -1
- package/dist/editor/lib/puck/page-root-fields.d.ts +0 -1
- package/dist/editor/lib/puck/page-root-fields.js +0 -1
- package/dist/editor/lib/puck/page-root.d.ts +0 -1
- package/dist/editor/lib/puck/page-root.js +0 -1
- package/dist/editor/lib/puck/panel-drop-empty-headings.d.ts +0 -1
- package/dist/editor/lib/puck/panel-drop-empty-headings.js +0 -1
- package/dist/editor/lib/puck/panel-heading-scope.d.ts +0 -1
- package/dist/editor/lib/puck/panel-heading-scope.js +0 -1
- package/dist/editor/lib/puck/part-anchors.d.ts +0 -1
- package/dist/editor/lib/puck/part-anchors.js +0 -1
- package/dist/editor/lib/puck/part-row-field.d.ts +0 -1
- package/dist/editor/lib/puck/part-row-field.js +0 -1
- package/dist/editor/lib/puck/part-typing.d.ts +0 -1
- package/dist/editor/lib/puck/part-typing.js +0 -1
- package/dist/editor/lib/puck/passes/inspector.d.ts +0 -1
- package/dist/editor/lib/puck/passes/inspector.js +0 -1
- package/dist/editor/lib/puck/pinned-in-place-seed.d.ts +0 -1
- package/dist/editor/lib/puck/pinned-in-place-seed.js +0 -1
- package/dist/editor/lib/puck/registry.d.ts +0 -1
- package/dist/editor/lib/puck/registry.js +0 -1
- package/dist/editor/lib/puck/section-text-suppress.d.ts +0 -1
- package/dist/editor/lib/puck/section-text-suppress.js +0 -1
- package/dist/editor/lib/puck/section-width-fields.d.ts +0 -1
- package/dist/editor/lib/puck/section-width-fields.js +0 -1
- package/dist/editor/lib/puck/show-when-resolve.d.ts +0 -1
- package/dist/editor/lib/puck/show-when-resolve.js +0 -1
- package/dist/editor/lib/puck/template-field.d.ts +0 -1
- package/dist/editor/lib/puck/template-field.js +0 -1
- package/dist/editor/lib/puck/text-part-shape.d.ts +0 -1
- package/dist/editor/lib/puck/text-part-shape.js +0 -1
- package/dist/editor/lib/puck/theme-swatches.d.ts +0 -1
- package/dist/editor/lib/puck/theme-swatches.js +0 -1
- package/dist/format/lib/puck/blocks/block-types.d.ts +0 -1
- package/dist/format/lib/puck/blocks/block-types.js +0 -1
- package/dist/format/lib/puck/blocks/general/Banner/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Banner/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Cards/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Cards/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/CategoryBar/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CategoryBar/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Chart/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Chart/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ContactLocations/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ContactLocations/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Countdown/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Countdown/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/fields.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/fields.js +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Divider/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Divider/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocBody/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocBody/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocMasthead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocMasthead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocTabs/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocTabs/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Eyebrow/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Eyebrow/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/FAQ/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/FAQ/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Flex/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Flex/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Footprint/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Footprint/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Grid/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Grid/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Heading/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Heading/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Hero/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Hero/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroGroup/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroGroup/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSingle/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSingle/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSlide/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSlide/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ImageBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ImageBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Integrations/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Integrations/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/IntroBleed/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/IntroBleed/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/LogoBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/LogoBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Logos/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Logos/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/LongRead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/LongRead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Manifesto/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Manifesto/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Masthead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Masthead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Mockup/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Mockup/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/OrderSummary/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/OrderSummary/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/PostCard/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/PostCard/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Prose/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Prose/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/SectionHeader/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/SectionHeader/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Series/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Series/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/fields.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/fields.js +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/SpecStrip/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/SpecStrip/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Split/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Split/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Stats/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Stats/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Testimonials/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Testimonials/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Text/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Text/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Ticker/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Ticker/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Timeline/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Timeline/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/metas.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/metas.js +0 -1
- package/dist/format/lib/puck/blocks/general/section-bg-built-in.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/section-bg-built-in.js +0 -1
- package/dist/format/lib/puck/blocks/general/text-part-shapes.json +0 -2162
- package/dist/format/lib/puck/blocks/placeholders.d.ts +0 -1
- package/dist/format/lib/puck/blocks/placeholders.js +0 -1
- package/dist/format/lib/puck/box-footer.d.ts +0 -1
- package/dist/format/lib/puck/box-footer.js +0 -1
- package/dist/format/lib/puck/cap-hero-groups.d.ts +0 -1
- package/dist/format/lib/puck/cap-hero-groups.js +0 -1
- package/dist/format/lib/puck/card-template-layers.d.ts +0 -1
- package/dist/format/lib/puck/card-template-layers.js +0 -1
- package/dist/format/lib/puck/container-blocks.d.ts +0 -1
- package/dist/format/lib/puck/container-blocks.js +0 -1
- package/dist/format/lib/puck/editor-page-context.d.ts +0 -1
- package/dist/format/lib/puck/editor-page-context.js +0 -1
- package/dist/format/lib/puck/field-noun.d.ts +0 -1
- package/dist/format/lib/puck/field-noun.js +0 -1
- package/dist/format/lib/puck/footer-block-row-name.d.ts +0 -1
- package/dist/format/lib/puck/footer-block-row-name.js +0 -1
- package/dist/format/lib/puck/general-order.d.ts +0 -1
- package/dist/format/lib/puck/general-order.js +0 -1
- package/dist/format/lib/puck/home-page.d.ts +0 -1
- package/dist/format/lib/puck/home-page.js +0 -1
- package/dist/format/lib/puck/left-view.d.ts +0 -1
- package/dist/format/lib/puck/left-view.js +0 -1
- package/dist/format/lib/puck/locations-tree.d.ts +0 -1
- package/dist/format/lib/puck/locations-tree.js +0 -1
- package/dist/format/lib/puck/media-drop.d.ts +0 -1
- package/dist/format/lib/puck/media-drop.js +0 -1
- package/dist/format/lib/puck/media-manifest.json +0 -147
- package/dist/format/lib/puck/mockup-variant-fields.d.ts +0 -1
- package/dist/format/lib/puck/mockup-variant-fields.js +0 -1
- package/dist/format/lib/puck/nestable-content-sections.d.ts +0 -1
- package/dist/format/lib/puck/nestable-content-sections.js +0 -1
- package/dist/format/lib/puck/neutralization-contracts.d.ts +0 -1
- package/dist/format/lib/puck/neutralization-contracts.js +0 -1
- package/dist/format/lib/puck/new-site-header-seed.d.ts +0 -1
- package/dist/format/lib/puck/new-site-header-seed.js +0 -1
- package/dist/format/lib/puck/one-h1.d.ts +0 -1
- package/dist/format/lib/puck/one-h1.js +0 -1
- package/dist/format/lib/puck/overlay-portal.d.ts +0 -1
- package/dist/format/lib/puck/overlay-portal.js +0 -1
- package/dist/format/lib/puck/own-box.d.ts +0 -1
- package/dist/format/lib/puck/own-box.js +0 -1
- package/dist/format/lib/puck/panel-bands.d.ts +0 -1
- package/dist/format/lib/puck/panel-bands.js +0 -1
- package/dist/format/lib/puck/part-inks.d.ts +0 -1
- package/dist/format/lib/puck/part-inks.js +0 -1
- package/dist/format/lib/puck/part-key.d.ts +0 -1
- package/dist/format/lib/puck/part-key.js +0 -1
- package/dist/format/lib/puck/passes/catalogue-labels.d.ts +0 -1
- package/dist/format/lib/puck/passes/catalogue-labels.js +0 -1
- package/dist/format/lib/puck/passes/document-position.d.ts +0 -1
- package/dist/format/lib/puck/passes/document-position.js +0 -1
- package/dist/format/lib/puck/passes/empty-headings.d.ts +0 -1
- package/dist/format/lib/puck/passes/empty-headings.js +0 -1
- package/dist/format/lib/puck/passes/hidden-nodes.d.ts +0 -1
- package/dist/format/lib/puck/passes/hidden-nodes.js +0 -1
- package/dist/format/lib/puck/passes/media-values.d.ts +0 -1
- package/dist/format/lib/puck/passes/media-values.js +0 -1
- package/dist/format/lib/puck/passes/registry-context.d.ts +0 -1
- package/dist/format/lib/puck/passes/registry-context.js +0 -1
- package/dist/format/lib/puck/passes/settings-groups.d.ts +0 -1
- package/dist/format/lib/puck/passes/settings-groups.js +0 -1
- package/dist/format/lib/puck/passes/show-when-rows.d.ts +0 -1
- package/dist/format/lib/puck/passes/show-when-rows.js +0 -1
- package/dist/format/lib/puck/passes/slot-rules.d.ts +0 -1
- package/dist/format/lib/puck/passes/slot-rules.js +0 -1
- package/dist/format/lib/puck/passes/types.d.ts +0 -1
- package/dist/format/lib/puck/passes/types.js +0 -1
- package/dist/format/lib/puck/phone-override.d.ts +0 -1
- package/dist/format/lib/puck/phone-override.js +0 -1
- package/dist/format/lib/puck/pinned-seed-gate.d.ts +0 -1
- package/dist/format/lib/puck/pinned-seed-gate.js +0 -1
- package/dist/format/lib/puck/renamed-props.d.ts +0 -1
- package/dist/format/lib/puck/renamed-props.js +0 -1
- package/dist/format/lib/puck/section-catalog.d.ts +0 -1
- package/dist/format/lib/puck/section-catalog.js +0 -1
- package/dist/format/lib/puck/section-descriptions.d.ts +0 -1
- package/dist/format/lib/puck/section-descriptions.js +0 -1
- package/dist/format/lib/puck/section-groups.d.ts +0 -1
- package/dist/format/lib/puck/section-groups.js +0 -1
- package/dist/format/lib/puck/show-when-attach.d.ts +0 -1
- package/dist/format/lib/puck/show-when-attach.js +0 -1
- package/dist/format/lib/puck/site-gap-fields.d.ts +0 -1
- package/dist/format/lib/puck/site-gap-fields.js +0 -1
- package/dist/format/lib/puck/snapshot-contracts.d.ts +0 -1
- package/dist/format/lib/puck/snapshot-contracts.js +0 -1
- package/dist/format/lib/puck/source-bound-parts.d.ts +0 -1
- package/dist/format/lib/puck/source-bound-parts.js +0 -1
- package/dist/format/lib/puck/source-row-name.d.ts +0 -1
- package/dist/format/lib/puck/source-row-name.js +0 -1
- package/dist/format/lib/puck/templateFields.d.ts +0 -1
- package/dist/format/lib/puck/templateFields.js +0 -1
- package/dist/format/lib/puck/text-seeds.d.ts +0 -1
- package/dist/format/lib/puck/text-seeds.js +0 -1
- package/dist/format/lib/source-rules/editor-puck-drag-off.d.ts +0 -2
- package/dist/format/lib/source-rules/editor-puck-drag-off.js +0 -1
- package/dist/format/lib/source-rules/puck-document-surfaces.d.ts +0 -2
- package/dist/format/lib/source-rules/puck-document-surfaces.js +0 -1
- package/dist/render/lib/puck/blocks/general/Banner/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Banner/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Breadcrumb/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Breadcrumb/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ButtonBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ButtonBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Cards/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Cards/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/CategoryBar/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/CategoryBar/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Chart/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Chart/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ContactLocations/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ContactLocations/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Countdown/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Countdown/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/CustomHTML/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/CustomHTML/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Divider/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Divider/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocBody/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocBody/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocMasthead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocMasthead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocMetaCards/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocMetaCards/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocTabs/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocTabs/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Eyebrow/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Eyebrow/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/FAQ/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/FAQ/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/FeaturedCover/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/FeaturedCover/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Flex/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Flex/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Footprint/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Footprint/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Grid/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Grid/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Heading/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Heading/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Hero/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Hero/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroGroup/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroGroup/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSingle/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSingle/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSlide/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSlide/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ImageBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ImageBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Integrations/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Integrations/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/IntroBleed/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/IntroBleed/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/KeyFeatures/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/KeyFeatures/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/LogoBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/LogoBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Logos/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Logos/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/LongRead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/LongRead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Manifesto/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Manifesto/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Masthead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Masthead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Mockup/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Mockup/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/OrderSummary/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/OrderSummary/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ParagraphsA/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ParagraphsA/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/PaymentBadges/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/PaymentBadges/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/PostCard/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/PostCard/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ProcessSteps/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ProcessSteps/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Prose/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Prose/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/SectionHeader/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/SectionHeader/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Series/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Series/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Spacer/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Spacer/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/SpecStrip/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/SpecStrip/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Split/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Split/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Stats/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Stats/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/StatsParagraph/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/StatsParagraph/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Testimonials/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Testimonials/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Text/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Text/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Ticker/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Ticker/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Timeline/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Timeline/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/TimelineTrack/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/TimelineTrack/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/render-config.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/render-config.js +0 -1
- package/dist/render/lib/puck/blocks/general/renders.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/renders.js +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-rows.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-rows.js +0 -1
- package/dist/render/lib/puck/blocks/scaffold.d.ts +0 -1
- package/dist/render/lib/puck/blocks/scaffold.js +0 -1
- package/dist/render/lib/puck/booking-preview.d.ts +0 -1
- package/dist/render/lib/puck/booking-preview.js +0 -1
- package/dist/render/lib/puck/editing-bridges.d.ts +0 -1
- package/dist/render/lib/puck/editing-bridges.js +0 -1
- package/dist/render/lib/puck/header-clearance.d.ts +0 -1
- package/dist/render/lib/puck/header-clearance.js +0 -1
- package/dist/render/lib/puck/header-ink.d.ts +0 -1
- package/dist/render/lib/puck/header-ink.js +0 -1
- package/dist/render/lib/puck/hero-media-parts.d.ts +0 -1
- package/dist/render/lib/puck/hero-media-parts.js +0 -1
- package/dist/render/lib/puck/migrate-legacy.d.ts +0 -1
- package/dist/render/lib/puck/migrate-legacy.js +0 -1
- package/dist/render/lib/puck/page-frame.d.ts +0 -1
- package/dist/render/lib/puck/page-frame.js +0 -1
- package/dist/render/lib/puck/page-render.d.ts +0 -2
- package/dist/render/lib/puck/page-render.js +0 -1
- package/dist/render/lib/puck/part-rows.d.ts +0 -1
- package/dist/render/lib/puck/part-rows.js +0 -1
- package/dist/render/lib/puck/part-styles.d.ts +0 -1
- package/dist/render/lib/puck/part-styles.js +0 -1
- package/dist/render/lib/puck/part-text.d.ts +0 -1
- package/dist/render/lib/puck/part-text.js +0 -1
- package/dist/render/lib/puck/passes/borders.d.ts +0 -1
- package/dist/render/lib/puck/passes/borders.js +0 -1
- package/dist/render/lib/puck/passes/cell-width.d.ts +0 -1
- package/dist/render/lib/puck/passes/cell-width.js +0 -1
- package/dist/render/lib/puck/passes/clickable-parts.d.ts +0 -1
- package/dist/render/lib/puck/passes/clickable-parts.js +0 -1
- package/dist/render/lib/puck/passes/corners.d.ts +0 -1
- package/dist/render/lib/puck/passes/corners.js +0 -1
- package/dist/render/lib/puck/passes/index.d.ts +0 -1
- package/dist/render/lib/puck/passes/index.js +0 -1
- package/dist/render/lib/puck/passes/section-anchor.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-anchor.js +0 -1
- package/dist/render/lib/puck/passes/section-animation.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-animation.js +0 -1
- package/dist/render/lib/puck/passes/section-height.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-height.js +0 -1
- package/dist/render/lib/puck/passes/section-padding.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-padding.js +0 -1
- package/dist/render/lib/puck/passes/section-sticky.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-sticky.js +0 -1
- package/dist/render/lib/puck/passes/section-theme.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-theme.js +0 -1
- package/dist/render/lib/puck/passes/section-width.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-width.js +0 -1
- package/dist/render/lib/puck/render-registry.d.ts +0 -1
- package/dist/render/lib/puck/render-registry.js +0 -1
- package/dist/render/lib/puck/sanitize.d.ts +0 -1
- package/dist/render/lib/puck/sanitize.js +0 -1
- package/dist/render/lib/puck/selection-parent.d.ts +0 -1
- package/dist/render/lib/puck/selection-parent.js +0 -1
- package/dist/render/lib/puck/show-when.d.ts +0 -1
- package/dist/render/lib/puck/show-when.js +0 -1
- package/dist/render/lib/puck/slot-specs.d.ts +0 -1
- package/dist/render/lib/puck/slot-specs.js +0 -1
- package/dist/render/lib/puck/text-parts.d.ts +0 -1
- package/dist/render/lib/puck/text-parts.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{resolveSectionPadding as
|
|
1
|
+
import{resolveSectionPadding as B}from"../../../../../format/lib/content/section-padding.js";import{SECTION_PAD_INNER_DEFAULTS as T}from"../../passes/section-padding.js";import{hasWords as _,headParts as H,registerSectionToBox as E}from"../../../sections/section-to-box.js";import{BUTTON as g,DIM as l,DROP_COMMON as s,DROP_SIDE_PADDING as c,INNER_BOX as e,SAME_KEYS as d,SECTION_BOX as p,TEXT as i,headingCaseOf as h,smallText as r,wrapperPad as m,wrapperPadKeys as u}from"./section-to-box-row-parts.js";import{finiteNumber as N}from"../../../../../format/lib/finite-number.js";function a(t,o){const n=B(t,T[o]);return{sectionPaddingTop:n.top,sectionPaddingBottom:n.bottom}}const y=t=>[["padTop","sectionPaddingTop",(o,n)=>a(n,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,n)=>a(n,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,n)=>a(n,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,n)=>a(n,t).sectionPaddingBottom]],P={top:72,bottom:72,topPhone:72,bottomPhone:72},[v,O]=H("Prose"),A={name:"Editorial Text",on:!1,boxProps:t=>({...p,direction:"column",gap:28,sectionBorder:{top:1},...m(t,P)}),box:[["topBorder","sectionBorder",t=>t===!1?void 0:{top:1}],...d,...u(P)],parts:[{kind:"group",name:"Heading",props:{...e,gap:16},parts:[{...v,props:i},{...O,props:i,style:{textStyle:"heading-3",lineHeight:1,letterSpacing:-.02}}]},{kind:"text",key:"body",props:l,style:{textStyle:"body-1",lineHeight:1.7,width:680,paragraphSpacing:18},was:{size:16}}],site:h("title"),drop:{...s,...c,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (JJ's export, 2026-10-24)"}},R={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},k=(t,o)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:t,parts:[{kind:"button",key:"label",href:"href",variant:{key:"variant",map:{primary:"primary",outline:"ghost"},fallback:"ghost"},style:{letterSpacing:.3},props:{...g,...R,...o}}]}),b=t=>_(t.title),D={name:"Call-to-Action Heading",on:!1,boxProps:t=>({...p,direction:"row",align:"center",justify:b(t)?"between":"end",gap:60,share:"content",sectionBorder:{bottom:1},...a(t,"TitleWithButtons")}),box:[...d,...y("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:e,parts:[{kind:"text",key:"title",role:"heading",props:i,style:{textStyle:"heading-1",lineHeight:.94,letterSpacing:-.035,width:1e3}}]},{kind:"group",name:"Buttons",props:{...e,gap:14},parts:[k(b,{widthFit:"fill",iconPosition:"end"}),k(t=>!b(t),{})]}],site:h("title"),drop:{...s,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (JJ's export, 2026-10-24)"}},w={top:40,bottom:64,topPhone:24,bottomPhone:36},I={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},W={name:"Section Header",on:!1,boxProps:t=>({...p,direction:"column",gap:0,...m(t,w)}),box:[...d,"fullWidth","pageWidth",...u(w)],parts:[{kind:"group",name:"Header",props:{...e,direction:"row",align:"end",justify:"between",gap:40,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:24,sectionPaddingBottomPhone:20},parts:[{kind:"group",name:"Title",props:{...e,direction:"row",align:"end",gap:40,share:"content"},parts:[{kind:"group",name:"Number",props:{...e,align:"start",gap:12},parts:[{kind:"image",key:"logoSrc",alt:"logoAlt",props:{aspect:"auto",contained:!1}},r("num")]},{kind:"text",key:"title",role:"heading",props:i,style:{lineHeight:.95,letterSpacing:-.025}}]},{kind:"group",name:"Words",props:{...e,align:"end",gap:12},parts:[{kind:"text",key:"description",props:{...l,align:"right"},style:{textStyle:"body-5",lineHeight:1.5,width:340},was:{size:14}},{kind:"button",key:"linkText",href:"linkHref",variant:"ghost",props:{...g,align:"right",...I},style:{textStyle:"body-5",color:"labels"}}]}]}],site:h("title"),drop:{...s,...c,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (JJ's export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},C={name:"Lead Text",on:!1,boxProps:t=>({...p,direction:"column",gap:40,sectionBorder:{bottom:1},...a(t,"ParagraphsA")}),box:[...d,...y("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...e,direction:"row",justify:"between",gap:60,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:40},parts:[r("eyebrow",{color:"labels",letterSpacing:.24}),{kind:"group",name:"Stats",props:{...e,align:"end"},parts:[{kind:"list",key:"stats",name:"Stat",props:{...e,direction:"row",share:"content",justify:"end",gap:8},parts:[r("value",{color:"text",letterSpacing:.18,lineHeight:1.8}),r("label",{color:"labels",letterSpacing:.18,lineHeight:1.8})]}]}]},{kind:"group",name:"Words",props:{...e,direction:"row",align:"end",gap:60,share:"bigLeft"},parts:[{kind:"text",key:"lead",props:i,style:{textStyle:"body-1",lineHeight:1.45,letterSpacing:-.005,width:780,paragraphSpacing:0},was:{size:22,sizePhone:20}},{kind:"group",name:"Founders",props:{...e,gap:8},parts:[{kind:"group",name:"Note",props:{...e,gap:6},parts:[{kind:"text",key:"foundersHeading",props:i,style:{textStyle:"body-1",weight:500,letterSpacing:-.01,lineHeight:1.7},was:{size:18,sizePhone:16}},{kind:"text",key:"foundersBody",props:l,style:{textStyle:"body-5",lineHeight:1.7},was:{size:14,sizePhone:12}}]},r("attribution",{letterSpacing:.24,lineHeight:1.7})]}]}],drop:{...s}},f={top:24,bottom:24,topPhone:24,bottomPhone:24},S={schema:"xtreme_mudder",site:"xtreme-mudder"},z="#F2F2EF",L={kind:"add-theme-preset",copyOf:0,set:{background:z},reason:"Banner card with no picture"},M=t=>t.site?.schema===S.schema&&t.site.site===S.site,x=t=>typeof t.imageSrc!="string"||!t.imageSrc;function X(t,o){return!x(t)||typeof o.cardTheme!="number"?{}:{sectionAccent:o.cardTheme}}const F={name:"Banner",on:!1,boxProps:t=>({...p,direction:"column",gap:0,...m(t,f)}),box:[...d,"contained",...u(f)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:(t,o)=>({...e,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24,...X(t,o)}),box:[["imageSrc","bgImage"],["overlay","darken",t=>Math.min(Math.max(N(t)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...e,gap:20},parts:[r("eyebrow"),{kind:"text",key:"title",role:"heading",props:i,style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none",width:680}},{kind:"text",key:"body",props:l,style:{textStyle:"body-1",lineHeight:1.6,width:680},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],site:(t,o)=>x(t.props)&&M(o)?[L]:[],drop:{...s,...c}},J={Prose:A,TitleWithButtons:D,SectionHeader:W,ParagraphsA:C,Banner:F};function q(){E(J)}export{J as GENERAL_SECTION_TO_BOX,S as XM_SITE,q as registerGeneralSectionRows};
|
|
@@ -12,8 +12,8 @@ export declare const VIDEO_FILE_LABEL = "Video file";
|
|
|
12
12
|
export declare const VIDEO_FILE_PROMPT = "Upload a video file";
|
|
13
13
|
export declare function forMediaType(type: "image" | "video", fallback: "image" | "video"): {
|
|
14
14
|
readonly field: "mediaType";
|
|
15
|
-
readonly is: "
|
|
16
|
-
readonly default: "
|
|
15
|
+
readonly is: "video" | "image";
|
|
16
|
+
readonly default: "video" | "image";
|
|
17
17
|
};
|
|
18
18
|
export declare const HERO_MEDIA_PART_TYPES: ReadonlySet<string>;
|
|
19
19
|
export declare function inPart<F extends object>(part: HeroMediaPart, field: F): F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as t}from"react/jsx-runtime";import{Render as m}from"efficient-easel/render";import{capHeroGroups as a}from"../../../format/lib/document/cap-hero-groups.js";import{oneH1 as i}from"../../../format/lib/document/one-h1.js";import{migrateLegacyPageData as n}from"./migrate-legacy.js";import{migrateRenamedProps as p}from"../../../format/lib/document/renamed-props.js";import{convertSectionsInPage as f}from"../sections/section-to-box.js";import{registerGeneralSectionRows as s}from"./blocks/general/section-to-box-rows.js";function c({config:
|
|
1
|
+
"use client";import{jsx as t}from"react/jsx-runtime";import{Render as m}from"efficient-easel/render";import{capHeroGroups as a}from"../../../format/lib/document/cap-hero-groups.js";import{oneH1 as i}from"../../../format/lib/document/one-h1.js";import{migrateLegacyPageData as n}from"./migrate-legacy.js";import{migrateRenamedProps as p}from"../../../format/lib/document/renamed-props.js";import{convertSectionsInPage as f,pageConvertContextOf as g}from"../sections/section-to-box.js";import{registerGeneralSectionRows as s}from"./blocks/general/section-to-box-rows.js";function c({config:e,data:o,metadata:r}){return s(),t(m,{config:e,metadata:r,data:i(a(f(p(n(o)),g(r))))})}export{c as default};
|
|
@@ -5,5 +5,6 @@ export declare const SECTION_PAD_INNER_DEFAULTS: Record<string, {
|
|
|
5
5
|
}>;
|
|
6
6
|
export declare const SECTION_PAD_INNER: Set<string>;
|
|
7
7
|
export declare const PAD_ON_ROOT: ReadonlySet<string>;
|
|
8
|
+
export declare const PADS_ITS_OWN_SPACE: ReadonlySet<string>;
|
|
8
9
|
export declare const sectionPadding: BlockPass;
|
|
9
10
|
export declare const blockPadding: BlockPass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as f}from"react/jsx-runtime";import{isBackgroundBox as
|
|
1
|
+
import{jsx as f}from"react/jsx-runtime";import{isBackgroundBox as _}from"../../../../format/lib/content/box-background.js";import{resolveSectionPadding as h,sectionPadAttrs as r}from"../../../../format/lib/content/section-padding.js";const P={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120},DetailRows:{top:100,bottom:100}},c=new Set(Object.keys(P)),l=new Set(["Flex","Text","Heading"]),u=new Set(["Divider"]),T=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),g=new Set(["ProductGrid"]);function a(t,n,o=!1){const d=t.render;t.render=e=>{if(n?.(e))return d(e);const i=o?r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone,e.sectionPaddingLeft,e.sectionPaddingRight,e.sectionPaddingLeftPhone,e.sectionPaddingRightPhone):r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone),s=d(e);return i?f("div",{className:i.className,style:i.style,children:s}):s}}const A={name:"sectionPadding",applies:(t,n,o)=>n.isSection(t)&&!T.has(t)&&!!o&&typeof o.render=="function",panel(t,n,o){c.has(n)||g.has(n)||(t.fields={...t.fields,...o.sidesPaddingFields()})},draw(t,n){if(c.has(n)){const o=t.render,d=P[n];t.render=e=>{const i=h(e,d);return o({...e,padTop:i.top,padBottom:i.bottom})};return}if(g.has(n)){a(t);return}l.has(n)||u.has(n)||a(t,n==="Flex"?o=>_(o.bgImage):void 0,!0)}},S=["Heading","Text"],m=["LogoBlock"],D={name:"blockPadding",applies:(t,n,o)=>(S.includes(t)||m.includes(t))&&!!o&&typeof o.render=="function",panel(t,n,o){t.fields={...t.fields,...o.sidesPaddingFields()}},draw(t,n){l.has(n)||a(t,void 0,!0)}};export{u as PADS_ITS_OWN_SPACE,l as PAD_ON_ROOT,c as SECTION_PAD_INNER,P as SECTION_PAD_INNER_DEFAULTS,D as blockPadding,A as sectionPadding};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StoredTextStyle } from "../text-styles/site-text-styles.js";
|
|
1
2
|
type Props = Record<string, unknown>;
|
|
2
3
|
export type SectionNode = {
|
|
3
4
|
type: string;
|
|
@@ -28,19 +29,35 @@ export type SiteFacts = {
|
|
|
28
29
|
site: string;
|
|
29
30
|
headingCase: string | null;
|
|
30
31
|
textStyles: boolean | null;
|
|
32
|
+
textStylesList?: readonly StoredTextStyle[] | null;
|
|
31
33
|
themePresets: number | null;
|
|
32
|
-
cardShadow?: string | null;
|
|
33
34
|
ownThemeRow?: boolean | null;
|
|
34
35
|
deleted?: boolean;
|
|
35
36
|
};
|
|
36
37
|
export type ConvertContext = {
|
|
37
38
|
site?: SiteFacts;
|
|
39
|
+
cardTheme?: number;
|
|
40
|
+
};
|
|
41
|
+
export type PageConvertContext = Pick<ConvertContext, "cardTheme">;
|
|
42
|
+
export declare function pageConvertContextOf(metadata: Readonly<Record<string, unknown>> | undefined): PageConvertContext;
|
|
43
|
+
export type Restyled = {
|
|
44
|
+
key: string;
|
|
45
|
+
was: {
|
|
46
|
+
size: number;
|
|
47
|
+
sizePhone?: number;
|
|
48
|
+
};
|
|
49
|
+
textStyle?: string;
|
|
50
|
+
size?: number;
|
|
51
|
+
sizePhone?: number;
|
|
38
52
|
};
|
|
39
53
|
export type SectionConversion = {
|
|
40
54
|
node: SectionNode;
|
|
55
|
+
nodes: SectionNode[];
|
|
41
56
|
carried: Carried[];
|
|
42
57
|
dropped: Dropped[];
|
|
43
58
|
siteWrites: SiteWrite[];
|
|
59
|
+
restyled: Restyled[];
|
|
60
|
+
skipped?: string;
|
|
44
61
|
};
|
|
45
62
|
export type TextRole = "heading" | "body" | "eyebrow";
|
|
46
63
|
export type BoxEntry = string | readonly [string, string] | readonly [string, string, (value: unknown, props: Props) => unknown];
|
|
@@ -50,14 +67,41 @@ export type ButtonVariantOf = {
|
|
|
50
67
|
fallback: string;
|
|
51
68
|
};
|
|
52
69
|
export type PartRow = PartRowKind & {
|
|
53
|
-
when?: (node: Props) => boolean;
|
|
70
|
+
when?: (node: Props, item?: Props) => boolean;
|
|
71
|
+
};
|
|
72
|
+
export type OwnProps = Props | ((node: Props, ctx: ConvertContext) => Props);
|
|
73
|
+
export type ListItemLook = {
|
|
74
|
+
props?: Props;
|
|
75
|
+
reverse?: boolean;
|
|
76
|
+
};
|
|
77
|
+
export type ListPart = {
|
|
78
|
+
kind: "list";
|
|
79
|
+
key: string;
|
|
80
|
+
name: string;
|
|
81
|
+
parts: readonly PartRow[];
|
|
82
|
+
flat?: boolean;
|
|
83
|
+
props?: Props;
|
|
84
|
+
item?: (item: Props, index: number, node: Props) => ListItemLook;
|
|
85
|
+
perRow?: (node: Props) => number;
|
|
86
|
+
rowName?: string;
|
|
87
|
+
rowProps?: Props;
|
|
88
|
+
};
|
|
89
|
+
export type BlockSeed = {
|
|
90
|
+
type: string;
|
|
91
|
+
props?: Props;
|
|
92
|
+
slots?: Readonly<Record<string, readonly BlockSeed[]>>;
|
|
54
93
|
};
|
|
94
|
+
export type SlotFill = BlockSeed | ListPart;
|
|
55
95
|
type PartRowKind = {
|
|
56
96
|
kind: "text";
|
|
57
97
|
key: string;
|
|
58
98
|
role?: TextRole;
|
|
59
99
|
style?: Props;
|
|
60
100
|
props?: Props;
|
|
101
|
+
was?: {
|
|
102
|
+
size: number;
|
|
103
|
+
sizePhone?: number;
|
|
104
|
+
};
|
|
61
105
|
} | {
|
|
62
106
|
kind: "button";
|
|
63
107
|
key: string;
|
|
@@ -70,33 +114,47 @@ type PartRowKind = {
|
|
|
70
114
|
key: string;
|
|
71
115
|
alt?: string;
|
|
72
116
|
props?: Props;
|
|
73
|
-
} | {
|
|
74
|
-
kind: "list";
|
|
75
|
-
key: string;
|
|
76
|
-
name: string;
|
|
77
|
-
parts: readonly PartRow[];
|
|
78
|
-
flat?: boolean;
|
|
79
|
-
props?: Props;
|
|
80
|
-
} | {
|
|
117
|
+
} | ListPart | {
|
|
81
118
|
kind: "group";
|
|
82
119
|
name: string;
|
|
83
120
|
parts: readonly PartRow[];
|
|
84
|
-
props?:
|
|
121
|
+
props?: OwnProps;
|
|
122
|
+
box?: readonly BoxEntry[];
|
|
123
|
+
keepEmpty?: boolean;
|
|
124
|
+
} | {
|
|
125
|
+
kind: "block";
|
|
126
|
+
type: string;
|
|
85
127
|
box?: readonly BoxEntry[];
|
|
128
|
+
props?: OwnProps;
|
|
129
|
+
slot?: string;
|
|
130
|
+
parts?: readonly PartRow[];
|
|
86
131
|
keepEmpty?: boolean;
|
|
87
132
|
} | {
|
|
88
133
|
kind: "core";
|
|
89
134
|
keep: readonly string[];
|
|
135
|
+
as?: string;
|
|
136
|
+
rename?: Readonly<Record<string, string>>;
|
|
137
|
+
props?: Props;
|
|
138
|
+
slots?: Readonly<Record<string, readonly SlotFill[]>>;
|
|
90
139
|
};
|
|
91
140
|
export interface SectionToBoxRow {
|
|
92
141
|
name: string;
|
|
93
142
|
on: boolean;
|
|
94
143
|
box?: readonly BoxEntry[];
|
|
95
|
-
boxProps?:
|
|
144
|
+
boxProps?: OwnProps;
|
|
96
145
|
parts: readonly PartRow[];
|
|
97
146
|
drop?: Readonly<Record<string, string>>;
|
|
98
147
|
site?: (node: SectionNode, ctx: ConvertContext) => readonly SiteWrite[];
|
|
148
|
+
skip?: (props: Props) => string | undefined;
|
|
149
|
+
also?: readonly SectionPiece[];
|
|
99
150
|
}
|
|
151
|
+
export type SectionPiece = {
|
|
152
|
+
name: string;
|
|
153
|
+
box?: readonly BoxEntry[];
|
|
154
|
+
boxProps?: OwnProps;
|
|
155
|
+
parts: readonly PartRow[];
|
|
156
|
+
};
|
|
157
|
+
export declare function sectionBoxIdOf(oldId: string, piece: number): string;
|
|
100
158
|
export declare function registerBoxNativeSections(types: Readonly<Record<string, string>>): void;
|
|
101
159
|
export declare function boxNativeReason(type: string): string | undefined;
|
|
102
160
|
export declare function registerSectionToBox(rows: Readonly<Record<string, SectionToBoxRow>>): void;
|
|
@@ -108,9 +166,11 @@ export declare const hasWords: (v: unknown) => boolean;
|
|
|
108
166
|
export declare function convertSection(node: SectionNode, row: SectionToBoxRow, ctx?: ConvertContext): SectionConversion;
|
|
109
167
|
export declare function convertSectionsInPage<D extends {
|
|
110
168
|
content?: unknown;
|
|
111
|
-
}>(data: D): D;
|
|
112
|
-
export
|
|
169
|
+
}>(data: D, page?: PageConvertContext): D;
|
|
170
|
+
export type SectionToBoxEdit = {
|
|
113
171
|
index: number;
|
|
114
172
|
node: SectionNode;
|
|
115
|
-
|
|
173
|
+
nodes: SectionNode[];
|
|
174
|
+
};
|
|
175
|
+
export declare function sectionToBoxEdits(content: unknown, page?: PageConvertContext): SectionToBoxEdit[];
|
|
116
176
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{readHidable as
|
|
1
|
+
import{readHidable as K}from"efficient-easel/draw";import{BOX_TYPE as V,CONTAINER_BLOCKS_SLOT as Y}from"../../../format/lib/document/container-blocks.js";import{headingTextSeed as D,labelTextSeed as F}from"../../../format/lib/document/text-seeds.js";import{SPLITTABLE_SECTIONS as G}from"../../../format/lib/sections/section-head-placement.js";import{siteCardThemeOf as q}from"../../../format/lib/content/section-width.js";import{finiteNumber as _}from"../../../format/lib/finite-number.js";const E=V,v=Y;function ct(e){const r=q(e);return r===null?{}:{cardTheme:r}}function J(e,r){return r===0?`${e}~box`:`${e}~box-${r+1}`}const P={Flex:"the Box itself",Hero:"its slides hold Boxes of real blocks (Hero › Slide › Box)",Divider:"one block with no text, picture or button",CustomHTML:"the HTML box is the whole section; it has no parts"};function at(e){for(const[r,i]of Object.entries(e)){if(r in P&&P[r]!==i)throw new Error(`lib/sections/section-to-box: "${r}" is already Box-native`);P[r]=i}}function ft(e){return P[e]}const Q=new Set(["id"]),S={};function dt(e){for(const[r,i]of Object.entries(e)){if(r in S&&S[r]!==i)throw new Error(`lib/sections/section-to-box: "${r}" already has a row`);S[r]=i}}function pt(e){return S[e]}function lt(){return Object.keys(S)}function ut(e){return S[e]?.on===!0}function yt(e){const r=G[e];if(!r)throw new Error(`lib/sections/section-to-box: "${e}" has no head row in SPLITTABLE_SECTIONS`);const i=[{kind:"text",key:r.num,role:"eyebrow"},{kind:"text",key:r.title,role:"heading"}];return r.description&&i.push({kind:"text",key:r.description,role:"body"}),r.headRows.includes("linkText")&&r.headRows.includes("linkHref")&&i.push({kind:"button",key:"linkText",href:"linkHref"}),i}const j=e=>K(e),ht=e=>j(e).text.trim()!=="",U=e=>e==="heading"?D():e==="eyebrow"?F():{};function Z(e,r,i){const x={...e._partStyles?.text??{},...r??{},...i??{}};return Object.keys(x).length?{_partStyles:{text:x}}:{}}function tt(e,r){if(e===void 0)return{};if(typeof e=="string")return{variant:e};const i=r[e.key];return{variant:typeof i=="string"&&Object.hasOwn(e.map,i)?e.map[i]:e.fallback}}function R(e,r,i,f){const x={...r};for(const y of e){const[h,m,T]=typeof y=="string"?[y,y,void 0]:y;if(i[h]===void 0)continue;const O=T?T(i[h],i):i[h];O===void 0?delete x[m]:x[m]=O,f(h,m,O===void 0)}return x}function z(e,r,i={}){const f=e.props,x=r.skip?.(f);if(x!==void 0)return{node:e,nodes:[e],carried:[],dropped:[],siteWrites:[],restyled:[],skipped:x};const y=String(f.id??e.type),h=[],m=[],T=[],O=new Set,I=(n,o)=>{h.push({key:n,home:o}),O.add(n)},M=f._partStyles??{};let W=0;const $=(n,o)=>({type:n,props:{...o,id:`${y}~${n}-${++W}`}}),N=(n,o,l,d,u,a,k)=>{if(u){for(const s of n??[]){const c=typeof s=="string"?s:s[0];l[c]!==void 0&&k(c,`nothing — the ${d} has no parts, so it is not drawn`)}return}const t=typeof o=="function"?o(f,i):o??{};return R(n??[],t,l,(s,c,p)=>k(s,p?`nothing — the old value draws nothing (${d}: no ${c})`:`${a}${d}: ${c}`))},A=n=>n.map(o=>{const l={...o.props??{}};for(const[d,u]of Object.entries(o.slots??{}))l[d]=A(u);return $(o.type,l)}),C=(n,o,l)=>{const d=Array.isArray(o[n.key])?o[n.key]:[],u=d.map((s,c)=>{const p=s??{},b=n.item?.(p,c,f)??{},g=B(b.reverse?[...n.parts].reverse():n.parts,p,!1,`item ${c+1}: `);return n.flat?b.props?g.map(w=>({...w,props:{...w.props,...b.props,id:w.props.id}})):g:[$(E,{name:`${n.name} ${c+1}`,...n.props??{},...b.props??{},[v]:g})]}),a=n.perRow?.(f),k=n.perRow?Number.isInteger(a)&&a>=1?a:1:0;if(l(n.key,(d.length?n.flat?`each item's parts (${d.length} items), in order`:`one Box per item (${d.length}), its parts inside`:"nothing — the list is empty")+(k&&d.length?`, in rows of ${k}`:"")),!k)return u.flat();const t=[];for(let s=0;s*k<u.length;s++)t.push($(E,{name:`${n.rowName??`${n.name} row`} ${s+1}`,...n.rowProps??{},[v]:u.slice(s*k,(s+1)*k).flat()}));return t},B=(n,o,l,d)=>{const u=[],a=(t,s)=>l?I(t,s):void 0,k=t=>l?M[t]:void 0;for(const t of n)if(!(t.when&&!t.when(f,l?void 0:o)))switch(t.kind){case"text":{const s=j(o[t.key]);if(!s.text.trim()){a(t.key,"nothing — empty words draw nothing, so no block");break}const c=U(t.role??"body"),{_partStyles:p,...b}=c,g=Z(c,t.style,k(t.key));if(t.was&&l){const w=g._partStyles?.text??{};T.push({key:t.key,was:t.was,...typeof w.textStyle=="string"?{textStyle:w.textStyle}:{},..._(w.size)!==void 0?{size:_(w.size)}:{},..._(w.sizePhone)!==void 0?{sizePhone:_(w.sizePhone)}:{}})}u.push($("Text",{text:s.text,...b,...t.props??{},...g,...s.hidden?{_hidden:!0}:{}})),a(t.key,`${d}Text block: its words${s.hidden?", hidden":""}`);break}case"button":{const s=j(o[t.key]);if(!s.text.trim()){a(t.key,"nothing — no words, no button"),a(t.href,"nothing — no button to link"),typeof t.variant=="object"&&a(t.variant.key,"nothing — no button to style");break}const c=typeof o[t.href]=="string"&&o[t.href]?o[t.href]:"#",p={...t.style??{},...k(t.key)??{}};u.push($("ButtonBlock",{label:s.text,href:c,...t.props??{},...tt(t.variant,o),...Object.keys(p).length?{_partStyles:{label:p}}:{},...s.hidden?{_hidden:!0}:{}})),a(t.key,`${d}Button block: its words`),a(t.href,`${d}Button block: its link`),typeof t.variant=="object"&&a(t.variant.key,`${d}Button block: its Style`);break}case"image":{const s=o[t.key];if(typeof s!="string"||!s){a(t.key,"nothing — no picture, no block"),t.alt&&a(t.alt,"nothing — no picture to describe");break}const c=t.alt&&typeof o[t.alt]=="string"?o[t.alt]:"";u.push($("ImageBlock",{src:s,alt:c,...t.props??{}})),a(t.key,`${d}Image block: its picture`),t.alt&&a(t.alt,`${d}Image block: its alt text`);break}case"list":{u.push(...C(t,o,a));break}case"group":{const s=B(t.parts,o,l,d),c=N(t.box,t.props,o,`${t.name} Box`,!s.length&&!t.keepEmpty,d,a);c&&u.push($(E,{name:t.name,...c,[v]:s}));break}case"block":{const s=t.parts?B(t.parts,o,l,d):[],c=N(t.box,t.props,o,`${t.type} block`,!!t.parts&&!s.length&&!t.keepEmpty,d,a);c&&u.push($(t.type,{...c,...t.slot?{[t.slot]:s}:{}}));break}case"core":{const s=t.as??e.type,c={headPlacement:"own-box",...t.props??{}};for(const p of t.keep)o[p]!==void 0&&(c[p]=o[p],a(p,`the ${s} block inside the Box`));for(const[p,b]of Object.entries(t.rename??{}))o[p]!==void 0&&(c[b]=o[p],a(p,`the ${s} block inside the Box: ${b}`));for(const[p,b]of Object.entries(t.slots??{}))c[p]=b.flatMap(g=>"kind"in g?C(g,o,a):A([g]));u.push($(s,c));break}}return u},X=(n,o)=>{const l=o===0?"Box":`${n.name} Box`,d=B(n.parts,f,!0,o===0?"":`${l}: `),u=typeof n.boxProps=="function"?n.boxProps(f,i):n.boxProps??{},a=R(n.box??[],u,f,(k,t,s)=>I(k,s?`nothing — the old value draws nothing (${l}: no ${t})`:`${l}: ${t}`));return{type:E,props:{name:n.name,...a,[v]:d,id:J(y,o)}}},L=[r,...r.also??[]].map(X);f._partStyles!==void 0&&I("_partStyles","each old part's style moved to its new part");for(const[n,o]of Object.entries(r.drop??{}))n in f&&(m.push({key:n,why:o}),O.add(n));for(const n of Object.keys(f))Q.has(n)||O.has(n)||m.push({key:n,why:"not in the row — not carried"});return{node:L[0],nodes:L,carried:h,dropped:m,siteWrites:[...r.site?.(e,i)??[]],restyled:T}}const H=e=>typeof e.cardTheme=="number"?{cardTheme:e.cardTheme}:{};function kt(e,r={}){const i=e.content;if(!Array.isArray(i))return e;let f=!1;const x=i.flatMap(y=>{const h=y&&typeof y.type=="string"?S[y.type]:void 0;if(!h?.on)return[y];const m=z(y,h,H(r));return m.skipped!==void 0?[y]:(f=!0,m.nodes)});return f?{...e,content:x}:e}function xt(e,r={}){if(!Array.isArray(e))return[];const i=[];return e.forEach((f,x)=>{const y=f&&typeof f.type=="string"?S[f.type]:void 0;if(!y?.on)return;const h=z(f,y,H(r));h.skipped===void 0&&i.push({index:x,node:h.node,nodes:h.nodes})}),i}export{v as SECTION_BOX_SLOT,E as SECTION_BOX_TYPE,ft as boxNativeReason,z as convertSection,kt as convertSectionsInPage,ut as convertsToBox,ht as hasWords,yt as headParts,ct as pageConvertContextOf,at as registerBoxNativeSections,dt as registerSectionToBox,J as sectionBoxIdOf,xt as sectionToBoxEdits,pt as sectionToBoxRow,lt as sectionToBoxTypes};
|
|
@@ -33,6 +33,7 @@ export type OldSiteText = {
|
|
|
33
33
|
};
|
|
34
34
|
export declare function textStylesFromOld(old: OldSiteText): StoredTextStyle[];
|
|
35
35
|
export declare function storedTextStyles(value: unknown): StoredTextStyle[];
|
|
36
|
+
export declare function listToWrite(saved: unknown): StoredTextStyle[];
|
|
36
37
|
export declare function resolveTextStyles(saved: unknown, old: OldSiteText): StoredTextStyle[];
|
|
37
38
|
export declare function applyListChange({ saved, old, cur, next, sizeOf, }: {
|
|
38
39
|
saved: unknown;
|
|
@@ -80,4 +81,5 @@ export declare function pushIntoStyle({ saved, old, styleId, values, }: {
|
|
|
80
81
|
saved: StoredTextStyle[];
|
|
81
82
|
old: OldSiteText;
|
|
82
83
|
};
|
|
84
|
+
export declare function setStyleValues(list: readonly StoredTextStyle[], styleId: string, values: StoredTextStyleValues): StoredTextStyle[];
|
|
83
85
|
export declare function eyebrowStyleId(list: readonly Pick<StoredTextStyle, "id" | "kind">[]): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defaultTextStyles as
|
|
2
|
-
`)}const
|
|
1
|
+
import{defaultTextStyles as E,textStyleCaseCss as X}from"efficient-easel/text-styles/model";import{FONT_OPTIONS as Y,normalizeFonts as I}from"../../../format/lib/fonts.js";import{PART_PHONE_MAX_CSS as G,STYLE_ID_OF_ROLE as U,TEXT_STYLE_ATTR as Z,partSpacingOf as q}from"../document/part-styles.js";import{faceClassOf as L}from"../../../format/lib/text-style-face.js";import{compressionMetrics as B,headingTypographyFromRow as K,normalizeHeadingCompression as k,normalizeSizes as j}from"../../../format/lib/theme.js";import{finiteNumber as h}from"../../../format/lib/finite-number.js";const T=e=>e==="sentence"?"none":void 0,_=e=>typeof e=="string"&&e?e:void 0,F=["font","color","size","sizePhone","weight","italic","lineHeight","letterSpacing","paragraphSpacing","letterCase","largestSize"];function p(e){const i={};for(const n of F)e[n]!==void 0&&(i[n]=e[n]);return i}function H(e,i){const{auto:n,...t}=e,o=new Set(i??[]),r=F.filter(a=>o.has(a)&&e.values[a]===void 0);return r.length?{...t,auto:r}:t}function R(e){const i=e.fonts,n=e.sizes,t=e.typography,o=B(e.compression),r={"heading-1":{font:_(i.heading),size:h(n.headingLarge),weight:h(t.weight),lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,letterCase:T(t.case),largestSize:h(t.maxPx)},"heading-2":{font:_(i.heading2),size:h(n.headingMedium),weight:h(t.weight2),lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,letterCase:T(t.case2)},"heading-3":{font:_(i.heading3),size:h(n.headingSmall),weight:h(t.weight3),lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,letterCase:T(t.case3)},"body-1":{font:_(i.body),size:h(n.body)},"body-5":{font:_(i.label),size:h(n.label)}};return E().map(({id:a,kind:l,name:c})=>({id:a,kind:l,name:c,values:p(r[a]??{})}))}function C(e){return Array.isArray(e)&&e.every(n=>n&&typeof n=="object"&&typeof n.id=="string"&&(n.kind==="heading"||n.kind==="body")&&typeof n.name=="string")?e.map(n=>H({...n,values:p(n.values??{})},Array.isArray(n.auto)?n.auto:void 0)):null}function ue(e){return C(e)??[]}function M(e){return C(e)??E().map(({id:i,kind:n,name:t})=>({id:i,kind:n,name:t,values:{}}))}function O(e,i){const n=R(i),t=C(e);return t?t.map(o=>{const r={...w(n,o.id)};for(const a of o.auto??[])delete r[a];return{...o,values:p({...r,...o.values})}}):n}const w=(e,i)=>e.find(n=>n.id===i)?.values??{},V=["heading-1","heading-2","heading-3"];function fe({saved:e,old:i,cur:n,next:t,sizeOf:o}){const r=R(i),a=M(e),l=O(a,i),c=[],y=t.map(s=>{const d=n.find(f=>f.id===s.id),b=a.find(f=>f.id===s.id);if(!d||!b)return Q([s],o)[0];const u={...b.values},z=new Set(b.auto??[]),v=s.values,P=d.values,A=[...new Set([...Object.keys(v),...Object.keys(P)])].filter(f=>JSON.stringify(v[f])!==JSON.stringify(P[f]));A.sort((f,m)=>+(f==="letterSpacing")-+(m==="letterSpacing"));for(const f of A){const m=f==="lineSpacing"?"lineHeight":f,$=v[f];if($===void 0){delete u[m],w(r,s.id)[m]!==void 0&&(c.push([s.id,m]),z.add(m));continue}if(z.delete(m),f==="lineSpacing")u.lineHeight=x($/100,3);else if(f==="letterSpacing"){const J=l.find(W=>W.id===s.id),N=o({...s,values:p({...J?.values??{},...u})});u.letterSpacing=N?x($/N,4):0}else u[m]=$}return H({id:s.id,kind:s.kind,name:s.name,values:p(u)},z)});let g=i.compression;if(c.some(([s,d])=>(d==="lineHeight"||d==="letterSpacing")&&V.includes(s))&&k(g)!=="normal"){for(const s of V){const d=y.find(u=>u.id===s);if(!d)continue;const b={...d.values};for(const u of["lineHeight","letterSpacing"])c.some(([z,v])=>z===s&&v===u)||b[u]===void 0&&!(d.auto??[]).includes(u)&&(b[u]=w(r,s)[u]);d.values=p(b)}g="normal"}return{saved:y,old:{...i,compression:g}}}function ge(e,i){const n={text_styles:e.saved};return e.old.compression!==i.compression&&(n.heading_compression=k(e.old.compression)),n}const x=(e,i)=>Number(e.toFixed(i));function pe(e,i){return e.map(n=>{const{lineHeight:t,letterSpacing:o,...r}=n.values,a={...r};return t!==void 0&&(a.lineSpacing=x(t*100,1)),o!==void 0&&(a.letterSpacing=x(o*i(n),2)),{id:n.id,kind:n.kind,name:n.name,values:a}})}function Q(e,i){return e.map(n=>{const{lineSpacing:t,letterSpacing:o,...r}=n.values,a={id:n.id,kind:n.kind,name:n.name,values:p({...r})},l={...a.values};if(t!==void 0&&(l.lineHeight=x(t/100,3)),o!==void 0){const c=i({...a,values:{...a.values}});l.letterSpacing=c?x(o/c,4):0}return{...a,values:p(l)}})}function he(e){const i={fonts:I({heading:e.heading_font??void 0,heading2:e.heading_2_font??void 0,heading3:e.heading_3_font??void 0,body:e.body_font??void 0,accent:e.accent_font??void 0,label:e.label_font??void 0}),sizes:j({headingLarge:e.heading_size_large_px,headingMedium:e.heading_size_medium_px,headingSmall:e.heading_size_small_px,accent:e.accent_size_px,body:e.body_size_px,label:e.label_size_px}),compression:k(e.heading_compression),typography:K(e)},n=e.text_styles??null,t=Array.isArray(n)?D(O(n,i),i):i;return{fonts:I(t.fonts),sizes:j(t.sizes),compression:k(t.compression),typography:t.typography,textStyles:n}}function D(e,i){const n=s=>e.find(d=>d.id===s)?.values??{},t=n("heading-1"),o=n("heading-2"),r=n("heading-3"),a=n("body-1"),l=n("body-5"),c=i.fonts,y=i.sizes,g=i.typography,S=s=>s==="none"?"sentence":"authored";return{fonts:{...c,heading:t.font??c.heading,heading2:o.font??t.font??c.heading2,heading3:r.font??t.font??c.heading3,body:a.font??c.body,label:l.font??c.label},sizes:{...y,headingLarge:t.size??null,headingMedium:o.size??null,headingSmall:r.size??null,body:a.size??null,label:l.size??null},compression:i.compression,typography:{...g,case:S(t.letterCase),weight:t.weight??null,maxPx:t.largestSize??null,weight2:o.weight??null,weight3:r.weight??null,case2:S(o.letterCase),case3:S(r.letterCase)}}}function me(e){const i=C(e.textStyles);if(!i||i.every(o=>Object.keys(o.values).length===0&&!o.auto))return e;const n={fonts:e.fonts??{},sizes:e.sizes??{},compression:String(e.headingCompression??"normal"),typography:e.headingTypography??{}},t=D(O(i,n),n);return{...e,fonts:t.fonts,sizes:t.sizes,headingCompression:t.compression,headingTypography:t.typography}}function ee(e){return e==="accent"?"var(--accent)":e==="text"?"var(--fg)":e==="labels"?"var(--fg-dim)":/^#[0-9a-f]{6}$/i.test(e)?e:null}function ne(e){const i=":is([data-sf-bullet], [data-sf-number])";return[`${e} br:not(br + br) { display: block; content: ""; margin-top: var(--sf-part-para) }`,`${e} ${i}:not(:first-child) { margin-top: var(--sf-part-para) }`,`${e} ${i}:not(:last-child) { margin-bottom: var(--sf-part-para) }`]}function ye(e){const i=[];for(const n of e){const t=n.values,o=`.${L(n)}`,r=`[${Z}="${n.id}"]`,a=`${o}, ${r}`,l=[],c=t.font!==void 0?Y.find(s=>s.key===t.font)?.cssVar:void 0;if(c&&l.push(`font-family: var(${c})`),t.size!==void 0){const s=t.largestSize!==void 0?Math.min(t.size,t.largestSize):t.size;l.push(`font-size: ${s}px`)}const y=t.color!==void 0?ee(t.color):null;y&&l.push(`color: ${y}`),t.italic===!0&&l.push("font-style: italic"),t.weight!==void 0&&l.push(`font-weight: ${t.weight}`);const g=[];t.lineHeight!==void 0&&g.push(`line-height: ${t.lineHeight}`),t.letterSpacing!==void 0&&g.push(`letter-spacing: ${t.letterSpacing}em`),n.kind==="body"&&l.push(...g);const S=X(t.letterCase);if(S&&l.push(`text-transform: ${S}`),t.paragraphSpacing&&l.push(`--sf-part-para: ${t.paragraphSpacing}px`),l.length&&i.push(`${a} { ${l.join("; ")} }`),n.kind==="heading"&&g.length&&i.push(`${a}, ${o}:is(h1, h2, h3, h4), ${r}:is(h1, h2, h3, h4) { ${g.join("; ")} }`),t.paragraphSpacing&&i.push(...ne(`:is(${a})`)),t.sizePhone!==void 0){const s=te[n.id],d=[`${a} { font-size: ${t.sizePhone}px }`];s&&d.push(`.sf-themed-content { --size-${s}: ${t.sizePhone}px !important }`),i.push(`@media ${G} { ${d.join(" ")} }`)}}return i.join(`
|
|
2
|
+
`)}const te={"heading-1":"headingLarge","heading-2":"headingMedium","heading-3":"headingSmall","body-1":"body","body-5":"label"};function Se(e){return e!==!0&&e!==!1?"":`em.text-accent { font-style: ${e?"italic":"normal"} }`}function be(e){return e?U[e]:void 0}function ie(e){const i=q(e);return p({font:e.font,color:e.color,size:e.size,weight:e.weight,italic:e.italic,lineHeight:i.lineHeight,letterSpacing:i.letterSpacingEm,paragraphSpacing:e.paragraphSpacing,letterCase:e.case})}function xe(e){return Object.keys(ie(e)).length>0}function ze({saved:e,old:i,styleId:n,values:t}){const o=M(e);return{saved:oe(o,n,t),old:i}}function oe(e,i,n){return e.map(t=>t.id===i?H({...t,values:p({...t.values,...n})},t.auto):t)}function ve(e){const i=e.filter(n=>n.kind==="body").map(n=>Number(/^body-(\d+)$/.exec(n.id)?.[1])).filter(n=>Number.isInteger(n)&&n>0);return i.length?`body-${Math.max(...i)}`:"body-1"}export{Se as accentItalicCss,fe as applyListChange,ve as eyebrowStyleId,L as faceClassOf,Q as fromPanelStyles,xe as hasStyleChange,ge as listChangePatch,M as listToWrite,ie as partStyleToTextStyleValues,ze as pushIntoStyle,O as resolveTextStyles,oe as setStyleValues,he as siteTextFromRow,ue as storedTextStyles,be as styleIdOfRole,ye as textStylesCss,R as textStylesFromOld,D as textStylesToOld,me as themeWithTextStyles,pe as toPanelStyles};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-web-builder",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "42.0.0",
|
|
4
4
|
"description": "The EFFICIENT website builder: the website editor, the general sections and the renderer that draws them, compiled. Hostable by any EFFICIENT product; nothing here imports a host.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@tabler/icons-react": "^3.46.0",
|
|
56
|
-
"efficient-easel": "^
|
|
56
|
+
"efficient-easel": "^22.0.0",
|
|
57
57
|
"efficient-shell": "^10.0.0",
|
|
58
58
|
"isomorphic-dompurify": "^3.18.0",
|
|
59
59
|
"next": ">=16",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@types/node": "^20",
|
|
73
73
|
"@types/react": "^19",
|
|
74
74
|
"@types/react-dom": "^19",
|
|
75
|
-
"efficient-easel": "^
|
|
75
|
+
"efficient-easel": "^22.0.0",
|
|
76
76
|
"efficient-shell": "^10.0.0",
|
|
77
77
|
"esbuild": "^0.28.0",
|
|
78
78
|
"happy-dom": "^20.14.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/ColourControl.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/ColourControl.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/MarkupToolbar.js";export{default}from"../document/MarkupToolbar.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/add-palette.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/add-palette.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/add-target.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/add-target.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/apply-card-corners.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/apply-card-corners.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/block-offer.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/block-offer.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../document/block-source-fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../document/block-source-fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Banner/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Banner/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Breadcrumb/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Breadcrumb/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/ButtonBlock/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/ButtonBlock/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Cards/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Cards/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/CategoryBar/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/CategoryBar/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Chart/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Chart/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/ContactLocations/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/ContactLocations/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Countdown/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Countdown/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Divider/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Divider/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/DocBody/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/DocBody/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/DocMasthead/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/DocMasthead/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/DocMetaCards/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/DocMetaCards/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/DocTabs/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/DocTabs/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Eyebrow/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Eyebrow/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/FAQ/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/FAQ/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/FeaturedCover/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/FeaturedCover/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Flex/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Flex/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Footprint/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Footprint/fields.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../../document/blocks/general/Grid/fields.d.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"../../../../document/blocks/general/Grid/fields.js";
|