efficient-web-builder 41.1.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 +99 -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 +28 -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 +0 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
- 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 +36 -6
- 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-row-parts.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.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
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Storefront editor chrome — themed to the efficient-shell design system.
|
|
3
3
|
*
|
|
4
4
|
* The editor is efficient-easel's engine (`efficient-easel/easel`), hosted by
|
|
5
|
-
* StorefrontEditorChrome. Until blueprint 6.3 (2026-10-02) it was
|
|
6
|
-
* (
|
|
7
|
-
* reasoning below was measured against
|
|
8
|
-
*
|
|
5
|
+
* StorefrontEditorChrome. Until blueprint 6.3 (2026-10-02) it was the old editor library
|
|
6
|
+
* (the old editor library) driven through its composition API, and much of the
|
|
7
|
+
* reasoning below was measured against the old editor library's sheets; where a note names a
|
|
8
|
+
* The old editor library class or the old editor library's stylesheet, read it as history unless it says otherwise.
|
|
9
9
|
* This file:
|
|
10
10
|
* 1. Tunes the canvas's own marks — the engine's lists, outlines and drop
|
|
11
11
|
* cells (`efficient-easel/easel.css`, `drag.css`) — to the storefront's
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
background: var(--sf-hover);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
/* ── Left panel: section tree (wraps
|
|
147
|
+
/* ── Left panel: section tree (wraps the old editor library's outline part) ────────────────────── */
|
|
148
148
|
|
|
149
149
|
/* `.sf-row`, its states and the `.sf-tree > .sf-row + …` seam WERE HERE. The
|
|
150
150
|
Layers rows became the shell's `TreeRow` in redesign 2b and the seam matched
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
color: var(--sf-text);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
/* ── Center: device-framed preview (wraps
|
|
480
|
+
/* ── Center: device-framed preview (wraps the old editor library's preview part) ──────────────── */
|
|
481
481
|
.sf-frame--tablet,
|
|
482
482
|
.sf-frame--mobile {
|
|
483
483
|
/* device frames don't stretch to full width but still fill height */
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
/* The Cart / Checkout surfaces are previewed in-canvas by rendering the real
|
|
505
|
-
components inside the
|
|
505
|
+
components inside the old editor library preview iframe (same-document, no nested `<iframe
|
|
506
506
|
src>`) — see components/EditorPreviewSurface. No editor-side frame CSS is
|
|
507
507
|
needed; the ribbon is styled inline in that component. */
|
|
508
508
|
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
The owner, 2026-09-01: hovering a section shows too many dashed lines. He
|
|
518
518
|
wants to find the hover target directly, and ONE is enough.
|
|
519
519
|
|
|
520
|
-
He was right, and the hover outline was never the cause.
|
|
520
|
+
He was right, and the hover outline was never the cause. The old editor library draws FIVE
|
|
521
521
|
dashed outlines and four of them are STATES -- they paint only while a
|
|
522
522
|
merchant is hovering, selecting or dragging. The fifth has no state in its
|
|
523
523
|
selector at all:
|
|
@@ -530,30 +530,30 @@
|
|
|
530
530
|
hero. Hovering added the fifth, and his eye had to find it among the four
|
|
531
531
|
that were already there.
|
|
532
532
|
|
|
533
|
-
So the standing one goes and the four states stay.
|
|
534
|
-
`[data-
|
|
535
|
-
scoping to `:not([data-
|
|
536
|
-
as
|
|
533
|
+
So the standing one goes and the four states stay. The old editor library set
|
|
534
|
+
`[data-old-dragging]` on `[data-easel-entry]` for the length of a drag, so
|
|
535
|
+
scoping to `:not([data-old-dragging])` left every drag affordance exactly
|
|
536
|
+
as the old editor library shipped it -- a merchant still sees where a block can land, which is
|
|
537
537
|
the one thing that must not be traded away for this. (The engine sets no
|
|
538
538
|
such attribute and draws its drop targets over the frame, not in it, so the
|
|
539
539
|
scope is gone; the note on the rule below says why that is safe.)
|
|
540
540
|
|
|
541
|
-
ONLY the outline.
|
|
541
|
+
ONLY the outline. The old editor library's rule paints a background tint as well, and that is
|
|
542
542
|
left alone: an empty slot stays a visible block, so nothing becomes
|
|
543
543
|
unfindable -- it just stops drawing a line round itself.
|
|
544
544
|
|
|
545
|
-
SPECIFICITY, NOT `!important`. Ours was (0,4,0) against
|
|
546
|
-
`storefront-editor.css` was imported after
|
|
545
|
+
SPECIFICITY, NOT `!important`. Ours was (0,4,0) against the old editor library's (0,2,0), and
|
|
546
|
+
`storefront-editor.css` was imported after the old editor library's stylesheet at every call site so
|
|
547
547
|
source order settled any tie (it is imported after the engine's
|
|
548
548
|
`efficient-easel/easel.css` now; guard §9). An `!important` here would also beat
|
|
549
549
|
`._DropZone--isDestination_`, which IS `!important`, and blind the merchant
|
|
550
550
|
mid-drag.
|
|
551
551
|
|
|
552
|
-
`[class*=]`, NOT the literal class.
|
|
552
|
+
`[class*=]`, NOT the literal class. The old editor library's CSS-module names carry a build
|
|
553
553
|
hash (`_DropZone_1i2sv_1`); a literal one would stop matching on the next
|
|
554
|
-
|
|
554
|
+
the old editor library bump with no error at all, and the field of outlines would come back
|
|
555
555
|
silently. `scripts/test-one-hover-outline.tsx` asserts all of this, and
|
|
556
|
-
asserts
|
|
556
|
+
asserts the old editor library still draws the rule we are overriding -- if it ever stops,
|
|
557
557
|
this becomes dead code and the guard turns that into a red rather than
|
|
558
558
|
leaving something that looks load-bearing.
|
|
559
559
|
|
|
@@ -562,11 +562,11 @@
|
|
|
562
562
|
The paragraph above is right about the standing box and wrong about what
|
|
563
563
|
else it took. `:empty` does not stop being true while a slot is HOVERED or
|
|
564
564
|
SELECTED -- it only says the slot holds nothing -- and this selector is
|
|
565
|
-
LONGER than the
|
|
565
|
+
LONGER than the old editor library rules that paint those two states:
|
|
566
566
|
|
|
567
|
-
ours [data-easel-entry]:not([data-
|
|
568
|
-
|
|
569
|
-
|
|
567
|
+
ours [data-easel-entry]:not([data-old-dragging]) …:empty (0,4,0)
|
|
568
|
+
the old editor library --hoveringOverArea_:not(--isRootZone_) (0,2,0)
|
|
569
|
+
the old editor library --isAreaSelected_ (0,1,0)
|
|
570
570
|
|
|
571
571
|
So on an empty slot this rule won everywhere instead of only at rest.
|
|
572
572
|
Measured in the real editor on the `sharpen` homepage, merged main
|
|
@@ -580,20 +580,20 @@
|
|
|
580
580
|
background tint the paragraph above relies on is true while nothing is
|
|
581
581
|
happening -- and something IS happening here.
|
|
582
582
|
|
|
583
|
-
THE TWO EXCLUSIONS ARE
|
|
583
|
+
THE TWO EXCLUSIONS ARE THE OLD EDITOR LIBRARY'S OWN CONDITIONS, NEGATED, NOT NEW ONES. The old editor library
|
|
584
584
|
paints a non-drag dashed outline on a zone in exactly two cases:
|
|
585
585
|
|
|
586
586
|
._DropZone--isAreaSelected_
|
|
587
587
|
._DropZone--hoveringOverArea_:not(._DropZone--isRootZone_)
|
|
588
588
|
|
|
589
589
|
and this rule now stands aside for each, character for character. §6 of
|
|
590
|
-
the guard BUILDS those two exclusions out of
|
|
591
|
-
ours do not match, so a sixth state upstream becomes a red on the day
|
|
590
|
+
the guard BUILDS those two exclusions out of the old editor library's stylesheet and fails if
|
|
591
|
+
ours do not match, so a sixth state upstream becomes a red on the day the old editor library
|
|
592
592
|
ships it rather than a silent hole like this one.
|
|
593
593
|
|
|
594
|
-
⚠️ WHY THE HOVER EXCLUSION KEEPS ITS `:not(--isRootZone_)`, AND MUST.
|
|
594
|
+
⚠️ WHY THE HOVER EXCLUSION KEEPS ITS `:not(--isRootZone_)`, AND MUST. The old editor library
|
|
595
595
|
computes `hoveringOverArea = inNextDeepestArea || isRootZone`, so THE ROOT
|
|
596
|
-
ZONE CARRIES IT AT ALL TIMES -- that is why
|
|
596
|
+
ZONE CARRIES IT AT ALL TIMES -- that is why the old editor library's own rule qualifies it.
|
|
597
597
|
A bare `:not(--hoveringOverArea_)` here would therefore stop neutralising
|
|
598
598
|
the root zone, and an empty page would get its standing dashed box back:
|
|
599
599
|
half of the defect this rule exists to remove, restored quietly by a fix
|
|
@@ -609,17 +609,17 @@
|
|
|
609
609
|
|
|
610
610
|
Whether any of this is really PAINTED is not a question CSS text can
|
|
611
611
|
answer. `scripts/probe-empty-slot-outline.mjs` rendered these states in a
|
|
612
|
-
browser over
|
|
612
|
+
browser over the old editor library's classes; it went with the old editor library (blueprint 6.3), so measure
|
|
613
613
|
the engine's canvas in the live editor. */
|
|
614
614
|
/* Since blueprint 5.5 the lists are efficient-easel's `.es-zone`, and the
|
|
615
|
-
states this section answers are its classes: `.is-area-selected` (
|
|
615
|
+
states this section answers are its classes: `.is-area-selected` (the old editor library's
|
|
616
616
|
`--isAreaSelected_`), `.is-hovering-area` (`--hoveringOverArea_`) and
|
|
617
617
|
`.is-root` (`--isRootZone_`). The reasoning above is unchanged; only the
|
|
618
|
-
names moved, from
|
|
618
|
+
names moved, from the old editor library's hashed modules to classes this repo can spell.
|
|
619
619
|
|
|
620
620
|
⚠️ NO DRAG SCOPE ANY MORE, AND A DRAG STILL SHOWS WHERE A BLOCK CAN LAND.
|
|
621
|
-
This rule and A/B below were scoped to `:not([data-
|
|
622
|
-
drag kept
|
|
621
|
+
This rule and A/B below were scoped to `:not([data-old-dragging])` so a
|
|
622
|
+
drag kept the old editor library's in-frame drop targets (`--isDestination_`). Nothing has
|
|
623
623
|
set that attribute since 5.5 — the engine has no such state — so the
|
|
624
624
|
`:not()` matched every time and only added specificity: dead code that
|
|
625
625
|
looked load-bearing. The engine draws a drag's targets in the HOST page,
|
|
@@ -662,13 +662,13 @@
|
|
|
662
662
|
the block you are POINTING AT [data-easel-overlay-portal]:hover
|
|
663
663
|
|
|
664
664
|
MEASURED, not inferred, by scripts/probe-hover-outline-count.mjs (retired
|
|
665
|
-
with
|
|
665
|
+
with the old editor library in blueprint 6.3) against both stylesheets in the app's own import
|
|
666
666
|
order, with a real pointer:
|
|
667
667
|
|
|
668
668
|
pointing at a block 2 dashed boxes
|
|
669
669
|
pointing at a block you have clicked 3 dashed boxes <- his picture
|
|
670
670
|
|
|
671
|
-
⚠️ THE ROOT ZONE IS THE THIRD ONE, AND IT SURPRISES PEOPLE.
|
|
671
|
+
⚠️ THE ROOT ZONE IS THE THIRD ONE, AND IT SURPRISES PEOPLE. The old editor library's
|
|
672
672
|
`isAreaSelected` rule carries no `:not(--isRootZone_)`, unlike its hover
|
|
673
673
|
rule, so selecting a top-level section outlines the whole page as well as
|
|
674
674
|
the section. That is why the count goes 2 -> 3 on a click rather than
|
|
@@ -686,14 +686,14 @@
|
|
|
686
686
|
has no block in it and therefore no overlay to carry the line, so rule B
|
|
687
687
|
below gives it one of its own. Solid, like everything else here.
|
|
688
688
|
|
|
689
|
-
⚠️ A DRAG IS NOT TOUCHED, AND MUST NOT BE. Under
|
|
690
|
-
inside `:not([data-
|
|
691
|
-
`--isEnabled_` shipped exactly as
|
|
689
|
+
⚠️ A DRAG IS NOT TOUCHED, AND MUST NOT BE. Under the old editor library every rule here sat
|
|
690
|
+
inside `:not([data-old-dragging])`, so `--isDestination_` and
|
|
691
|
+
`--isEnabled_` shipped exactly as the old editor library wrote them. Dashed means something
|
|
692
692
|
during a drag — it is where a block can land — and that is the one
|
|
693
693
|
affordance card 66395 said must never be traded away for this. It still
|
|
694
694
|
holds, by other means: the engine draws a drag's targets over the frame
|
|
695
695
|
(the drop line, the `.es-canvas-empty` cell), where nothing here reaches,
|
|
696
|
-
so the scope went with
|
|
696
|
+
so the scope went with the old editor library — see the note on the empty-slot rule above.
|
|
697
697
|
|
|
698
698
|
SPECIFICITY, NOT `!important`, the same as the rule above. A is (0,4,0)
|
|
699
699
|
against the engine's (0,3,0) state rules; its first selector carries
|
|
@@ -702,11 +702,11 @@
|
|
|
702
702
|
source order. Nothing is lost on the root: the engine never outlines a
|
|
703
703
|
selected root list, and an EMPTY selected root still gets B. B is (0,5,0)
|
|
704
704
|
so it wins over A on an empty zone. C has no upstream rule left to answer
|
|
705
|
-
(
|
|
705
|
+
(the old editor library's overlay-portal sheet went in 5.5). Ours is imported after the
|
|
706
706
|
engine's sheet at every call site all the same (guard §9).
|
|
707
707
|
|
|
708
|
-
`[class*=]`, NOT the literal class names —
|
|
709
|
-
build hash, and a literal one would stop matching on the next
|
|
708
|
+
`[class*=]`, NOT the literal class names — the old editor library's CSS-module names carry a
|
|
709
|
+
build hash, and a literal one would stop matching on the next old editor library bump with
|
|
710
710
|
no error at all, silently putting all three boxes back. */
|
|
711
711
|
|
|
712
712
|
/* A · a zone draws no line while you point at it or after you click it. */
|
|
@@ -718,13 +718,12 @@
|
|
|
718
718
|
/* ⚠️ EVERY COLOUR BELOW CARRIES ITS OWN FALLBACK, AND THAT IS NOT DECORATION.
|
|
719
719
|
These rules paint inside the canvas FRAME, whose document has no `.es-editor`
|
|
720
720
|
root, so no `--es-*` token is defined there (efficient-easel/easel.css
|
|
721
|
-
falls back the same way). Until blueprint 5.5 they leaned on
|
|
722
|
-
`puck.css`, which declared its `--puck-color-azure-*` ramp on the frame's
|
|
721
|
+
falls back the same way). Until blueprint 5.5 they leaned on the old editor library's stylesheet, which declared its `--old-azure-*` ramp on the frame's
|
|
723
722
|
`:root` and drew the pointed-at block's colour and offset itself. 5.5 took
|
|
724
|
-
that sheet off the canvas: a bare `var(--
|
|
723
|
+
that sheet off the canvas: a bare `var(--old-azure-08)` then resolved
|
|
725
724
|
to nothing, and an `outline` with an unresolvable colour is no outline at all
|
|
726
725
|
— the empty slot stopped answering when pointed at, silently. The colours are
|
|
727
|
-
|
|
726
|
+
the old editor library's ramp as the shell re-tints it (`--es-accent-line` = azure-08,
|
|
728
727
|
`--es-accent-tint-strong` = azure-09). */
|
|
729
728
|
|
|
730
729
|
/* B · …except an EMPTY one, which has no block to carry the line for it. */
|
|
@@ -734,11 +733,11 @@
|
|
|
734
733
|
}
|
|
735
734
|
|
|
736
735
|
/* C · the block you are pointing at: one line, solid, 1px, 2px off the words.
|
|
737
|
-
|
|
736
|
+
the old editor library's own overlay-portal sheet drew it 2px dashed and this file narrowed it;
|
|
738
737
|
since that sheet left with 5.5 the whole line is declared here.
|
|
739
738
|
ITS COLOUR IS THE ENGINE'S HOVER COLOUR (2026-10-16): the accent at 60%, as
|
|
740
739
|
`.es-canvas-outline.is-hover` draws it in efficient-easel easel.css, so a
|
|
741
|
-
pointed-at word and a pointed-at block look the same. It was
|
|
740
|
+
pointed-at word and a pointed-at block look the same. It was the old editor library's azure-09
|
|
742
741
|
(#dbeafe), a tint of white: next to the engine's box it read as a second,
|
|
743
742
|
lighter box, and once E below took that box away it was all but invisible
|
|
744
743
|
on a light page. */
|
|
@@ -747,7 +746,7 @@
|
|
|
747
746
|
outline-offset: 2px;
|
|
748
747
|
}
|
|
749
748
|
|
|
750
|
-
/* …and the rest of what
|
|
749
|
+
/* …and the rest of what the old editor library's overlay-portal sheet (lib/overlay-portal/
|
|
751
750
|
styles.css) gave a text-part anchor, carried here for the same reason: the
|
|
752
751
|
anchor takes the pointer, and draws a ring while the caret is in it. The
|
|
753
752
|
OPEN part's own hairline (PART_PICK_CSS, (0,3,0)) still outranks the ring
|
|
@@ -763,7 +762,7 @@
|
|
|
763
762
|
|
|
764
763
|
/* D · …and ONLY the innermost one.
|
|
765
764
|
⚠️ FOUND IN THE REAL EDITOR, NOT ON THE BOARD, AND IT IS THE HALF THE BOARD
|
|
766
|
-
COULD NOT SEE.
|
|
765
|
+
COULD NOT SEE. The old editor library nests an overlay per component, and `:hover` matches
|
|
767
766
|
every ancestor in that chain — so pointing at the heading of a section put
|
|
768
767
|
FOUR overlays in `:hover` at once. Measured at /edit/preview-footer with a
|
|
769
768
|
real pointer: 4 hovered overlays, 4 painted lines. Rules A-C removed every
|
|
@@ -816,25 +815,6 @@
|
|
|
816
815
|
|
|
817
816
|
/* @tokens canvas-end */
|
|
818
817
|
|
|
819
|
-
/* ── A Gap only Box on the canvas draws what the page draws ───────────────────
|
|
820
|
-
A Box set to "Gap only" (`sf-box-gap-only`, lib/content/box-layout) takes
|
|
821
|
-
away its blocks' own top and bottom padding; the host's unlayered rules are
|
|
822
|
-
`.sf-box-gap-only > *` and `.sf-box-gap-only > .sf-section-pad > *`. On the
|
|
823
|
-
canvas two elements stand between the Box and each block's root: the
|
|
824
|
-
editor's item (`[data-easel-block]`) and the part host
|
|
825
|
-
(`[data-sf-part-host]`, components/PreviewPartAnchors, `display: contents`).
|
|
826
|
-
A child selector stops at the item, so on the canvas every block kept its
|
|
827
|
-
frame (a Heading +48px, a Text +32px) and the Box was taller than on the
|
|
828
|
-
page. These are the host's two rules again, through the two elements.
|
|
829
|
-
Unlayered, for the host's reason: it must beat the `py-4` / `py-6` utility.
|
|
830
|
-
`scripts/test-gap-only-canvas.tsx` compares the canvas with the page.
|
|
831
|
-
Outside the canvas region above, whose rules may name only `[data-puck-…]`
|
|
832
|
-
(`scripts/test-editor-css-tokens.ts`); it holds no colour, radius or face. */
|
|
833
|
-
.sf-box-gap-only > [data-easel-block] > [data-sf-part-host] > *,
|
|
834
|
-
.sf-box-gap-only > [data-easel-block] > [data-sf-part-host] > .sf-section-pad > * {
|
|
835
|
-
padding-block: 0;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
818
|
/* ── Canvas "Add section" seams (overlay between preview sections) ──────────
|
|
839
819
|
Absolutely positioned over .sf-preview-host (the iframe's box), one band per
|
|
840
820
|
seam between top-level sections, placed at the boundary Y measured from the
|
|
@@ -843,7 +823,7 @@
|
|
|
843
823
|
insertion line + a dark "Add section" pill; clicking opens the picker targeted
|
|
844
824
|
at that seam. It sits inside the scaled device frame, so it tracks the zoom. */
|
|
845
825
|
|
|
846
|
-
/* ── Right panel: inspector (wraps
|
|
826
|
+
/* ── Right panel: inspector (wraps the old editor library's fields part) ──────────────────────── */
|
|
847
827
|
/* The head — chip, the panel's name as its h2 (card 66127), the kind line and
|
|
848
828
|
the Duplicate / Copy-to-page / Remove buttons — is editor-shell's
|
|
849
829
|
`.es-insp-head` (efficient-easel/chrome.css), lifted from this sheet (redesign 2a). */
|
|
@@ -910,16 +890,16 @@
|
|
|
910
890
|
/* THE DROPDOWN ARROW, WRITTEN ONCE — card 66399.c.
|
|
911
891
|
Read by `.sf-insp-body select` at rest AND by the hover rule beside it. The
|
|
912
892
|
hover rule HAS to restate the image (overriding without `!important`
|
|
913
|
-
replaces only the properties you name, and
|
|
893
|
+
replaces only the properties you name, and the old editor library's hover repaints the arrow
|
|
914
894
|
darker), so without this token the glyph would be spelled out twice —
|
|
915
895
|
putting back the second copy card 66399 had just removed, and leaving the
|
|
916
|
-
two to drift apart on the next
|
|
896
|
+
two to drift apart on the next old editor library bump.
|
|
917
897
|
|
|
918
898
|
⚠️ NOT AN `--es-*` ALIAS, and deliberately not one. Every other `--sf-*`
|
|
919
899
|
above is a design value we choose, so it belongs in the shell. This is
|
|
920
|
-
|
|
921
|
-
rows
|
|
922
|
-
|
|
900
|
+
THE OLD EDITOR LIBRARY'S OWN GLYPH, matched to the package polygon for polygon so the six
|
|
901
|
+
rows the old editor library drew and the 55 the panel drew could not look different. Since
|
|
902
|
+
the old editor library left (blueprint 6.3) it is the panel's one arrow, declared here once;
|
|
923
903
|
`scripts/test-panel-one-arrow.tsx` §4 fails if a second copy appears or a
|
|
924
904
|
select resolves to anything else. */
|
|
925
905
|
--sf-select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>");
|
|
@@ -947,7 +927,7 @@
|
|
|
947
927
|
its minimum width.
|
|
948
928
|
|
|
949
929
|
WHY 280, WHICH IS NOT A ROUND NUMBER AND NOT AN OPINION. All 88 registered
|
|
950
|
-
sections were rendered as real inspector panels — the live
|
|
930
|
+
sections were rendered as real inspector panels — the live the old editor library config's own
|
|
951
931
|
fields, each field's own `render()`, over this sheet and the shell's two — and
|
|
952
932
|
swept across the resizable band in Chromium, counting elements whose
|
|
953
933
|
`scrollWidth` exceeds their `clientWidth`:
|
|
@@ -989,7 +969,7 @@
|
|
|
989
969
|
.sf-insp-body::-webkit-scrollbar-thumb { border-width: var(--space-2); }
|
|
990
970
|
}
|
|
991
971
|
|
|
992
|
-
/* Floating-styled form controls for
|
|
972
|
+
/* Floating-styled form controls for the old editor library's native fields — and ONLY those.
|
|
993
973
|
|
|
994
974
|
⚠️ A FIELD THE SHELL DRAWS IS SKIPPED: `:not(:where(.rosh-focus-ring))` on
|
|
995
975
|
every selector of this rule, its placeholder, its textarea and its focus
|
|
@@ -1050,31 +1030,31 @@
|
|
|
1050
1030
|
.sf-insp-body select {
|
|
1051
1031
|
width: 100%;
|
|
1052
1032
|
border: 1px solid var(--sf-input-border);
|
|
1053
|
-
/* ⚠️ LONGHAND, NEVER `background:` — card 66397.
|
|
1033
|
+
/* ⚠️ LONGHAND, NEVER `background:` — card 66397. The old editor library draws this control's
|
|
1054
1034
|
dropdown arrow as a 100x100 SVG polygon and then shrinks it with longhands
|
|
1055
1035
|
(`background-size: 12px`, `background-repeat: no-repeat`). The shorthand
|
|
1056
1036
|
that used to sit here reset every longhand it did not name, so on hover —
|
|
1057
|
-
where
|
|
1037
|
+
where the old editor library re-declares only the IMAGE — the full-size tile repeated 2.48
|
|
1058
1038
|
times across the 248px row and drew a dark bar with three triangles. That
|
|
1059
1039
|
is what Lewis filed. It shipped in 486bf97fd and was never a regression.
|
|
1060
1040
|
|
|
1061
|
-
Setting only the colour leaves
|
|
1062
|
-
needs no override of the package's rules and no hashed
|
|
1041
|
+
Setting only the colour leaves the old editor library's own geometry alone, which is why this
|
|
1042
|
+
needs no override of the package's rules and no hashed the old editor library class name to
|
|
1063
1043
|
rot on the next bump. `scripts/test-panel-one-arrow.tsx` §3 holds the
|
|
1064
|
-
invariant (moved there when
|
|
1044
|
+
invariant (moved there when the old editor library left): the arrow is drawn ONCE or not at
|
|
1065
1045
|
all, never tiled, at rest or on hover.
|
|
1066
1046
|
|
|
1067
1047
|
🎨 THE ARROW COMING BACK IS THE OWNER'S OWN RULING, not a side effect. It
|
|
1068
|
-
puts a visible arrow into the panel's six
|
|
1048
|
+
puts a visible arrow into the panel's six the old editor library selects, which have not had
|
|
1069
1049
|
one since the editor shipped. He was shown the row as it is today, this,
|
|
1070
1050
|
and an arrow-less alternative — three shots of the real panel at its own
|
|
1071
1051
|
320px — and on 2026-09-01 he chose this one: "the little arrow is fine."
|
|
1072
1052
|
Do not quietly take it away again; it is a decision, with a date.
|
|
1073
1053
|
|
|
1074
1054
|
🎯 AND IT IS THE SAME ARROW ON EVERY ROW — card 66399. That ruling put an
|
|
1075
|
-
arrow on the SIX selects
|
|
1055
|
+
arrow on the SIX selects the old editor library draws. The panel draws 55 more from its own
|
|
1076
1056
|
markup (the `select()` helper's custom field, and the `<select>`s panel
|
|
1077
|
-
components write themselves), and
|
|
1057
|
+
components write themselves), and the old editor library never styles those: nothing set
|
|
1078
1058
|
`appearance`, so each one drew whatever arrow the merchant's own browser
|
|
1079
1059
|
draws. Measured on origin/main at 320px and again at the 220px minimum, the
|
|
1080
1060
|
Divider block's "Style" row and its "Spacing" row — three rows apart in one
|
|
@@ -1082,15 +1062,15 @@
|
|
|
1082
1062
|
the 12px triangle. A merchant could ask why two rows look different and the
|
|
1083
1063
|
only true answer was "because of which library declared them".
|
|
1084
1064
|
|
|
1085
|
-
So the five declarations below repeat
|
|
1065
|
+
So the five declarations below repeat the old editor library's OWN geometry, exactly, onto
|
|
1086
1066
|
every select the panel draws. Two things follow from that, and both are the
|
|
1087
1067
|
point rather than a side effect:
|
|
1088
1068
|
|
|
1089
|
-
• THE SIX DO NOT MOVE.
|
|
1069
|
+
• THE SIX DO NOT MOVE. The old editor library's `select._Input-input_…` is (0,1,1) and this
|
|
1090
1070
|
rule is (0,1,1) too, so the two collide at equal weight and source order
|
|
1091
1071
|
decides — but they now declare the SAME values, so it does not matter
|
|
1092
1072
|
which wins. Nothing here has to out-specify the package, and no hashed
|
|
1093
|
-
|
|
1073
|
+
the old editor library class is named where it would rot on the next bump.
|
|
1094
1074
|
• NEITHER TRAP IS SPRUNG. `appearance: none` alone leaves a row with NO
|
|
1095
1075
|
arrow, which looks exactly like a stylesheet that failed to load; the
|
|
1096
1076
|
image alone leaves the browser's arrow beside ours, TWO on one row.
|
|
@@ -1100,9 +1080,9 @@
|
|
|
1100
1080
|
that would break if that were forgotten, because it is the rule that holds
|
|
1101
1081
|
the image. `scripts/test-panel-one-arrow.tsx` resolves the whole cascade per
|
|
1102
1082
|
markup shape and fails if any shape's arrow differs from any other's, and if
|
|
1103
|
-
this image ever stops matching the one
|
|
1083
|
+
this image ever stops matching the one the old editor library ships.
|
|
1104
1084
|
|
|
1105
|
-
✅ NOW UNIFIED, one state along — card 66399.c.
|
|
1085
|
+
✅ NOW UNIFIED, one state along — card 66399.c. The old editor library darkens its own arrow on
|
|
1106
1086
|
HOVER at (0,4,1), and that rule can reach only its six. This card's rule
|
|
1107
1087
|
below holds it off at (0,5,1) so all 61 rows answer the pointer the same
|
|
1108
1088
|
way; `scripts/test-panel-one-hover.tsx` is the guard for it.
|
|
@@ -1110,7 +1090,7 @@
|
|
|
1110
1090
|
⚠️ THAT NUMBER WAS WRONG HERE UNTIL 66399.c. It read (0,4,2), and so did the
|
|
1111
1091
|
arrow guard's header and sh#1024's body. `:has(> select)` counts in the
|
|
1112
1092
|
ELEMENT column, not the class one — and one column out is exactly the
|
|
1113
|
-
difference between three of our classes tying with
|
|
1093
|
+
difference between three of our classes tying with the old editor library and losing to it. */
|
|
1114
1094
|
background-color: var(--sf-field-bg);
|
|
1115
1095
|
appearance: none;
|
|
1116
1096
|
-webkit-appearance: none;
|
|
@@ -1127,7 +1107,7 @@
|
|
|
1127
1107
|
|
|
1128
1108
|
/* ── EVERY DROPDOWN ANSWERS THE POINTER THE SAME WAY — card 66399.c ─────────
|
|
1129
1109
|
Card 66399 gave all 61 panel dropdowns the same arrow AT REST. Under the
|
|
1130
|
-
pointer they still split:
|
|
1110
|
+
pointer they still split: the old editor library repaints its own six — ground, arrow AND
|
|
1131
1111
|
border — from a rule the other 55 have no equivalent of, so one row lights up
|
|
1132
1112
|
and the row three above it does nothing.
|
|
1133
1113
|
|
|
@@ -1144,27 +1124,27 @@
|
|
|
1144
1124
|
also why nothing needs to change in `efficient-easel`: the shell already owns the
|
|
1145
1125
|
VALUE (`--es-hover`), and this is the shop agreeing with it.
|
|
1146
1126
|
|
|
1147
|
-
⚠️ WHY FOUR CLASSES, AND WHY THAT IS NOT COSMETIC.
|
|
1127
|
+
⚠️ WHY FOUR CLASSES, AND WHY THAT IS NOT COSMETIC. The old editor library's hover rule is
|
|
1148
1128
|
(0,4,1) — `._Input_`(class) + `:has(> select)`(ELEMENT: `:has()` takes its
|
|
1149
1129
|
argument's specificity) + `:hover`(class) + `._Input-input_`(class) +
|
|
1150
1130
|
`:not([disabled])`(attribute). Measured, three of our classes TIES it and then
|
|
1151
|
-
wins only because `storefront-editor.css` is imported after
|
|
1131
|
+
wins only because `storefront-editor.css` is imported after the old editor library's stylesheet at
|
|
1152
1132
|
every editor entry; move an import anywhere and the six rows silently revert
|
|
1153
|
-
to
|
|
1154
|
-
from load order. No `!important`, and no hashed
|
|
1133
|
+
to the old editor library's azure with nothing going red. The fourth class buys independence
|
|
1134
|
+
from load order. No `!important`, and no hashed the old editor library class name that would rot
|
|
1155
1135
|
on the next bump.
|
|
1156
1136
|
|
|
1157
1137
|
⚠️ ALL THREE DECLARATIONS ARE LOAD-BEARING. Overriding without `!important`
|
|
1158
1138
|
replaces only the properties you NAME, so the arrow and the border are
|
|
1159
|
-
restated at their RESTING values purely to hold
|
|
1139
|
+
restated at their RESTING values purely to hold the old editor library's darker pair off. They
|
|
1160
1140
|
are not a second opinion about how the row should look.
|
|
1161
1141
|
|
|
1162
1142
|
AND IT STANDS ASIDE EVERYWHERE ELSE. It needs `:hover`, so it cannot touch the
|
|
1163
1143
|
row at rest; it is inside `.sf-insp-body`, so it cannot reach the storefront's
|
|
1164
|
-
own selects; and carrying no `!important` is what keeps
|
|
1144
|
+
own selects; and carrying no `!important` is what keeps the old editor library's drag paint
|
|
1165
1145
|
(`[data-dnd-placeholder]`, which IS `!important`) out of its reach. Card 66395
|
|
1166
1146
|
§6 is the precedent for getting that wrong — a shop rule that out-specified
|
|
1167
|
-
|
|
1147
|
+
the old editor library the same way went on to win states it should have stood aside for, and
|
|
1168
1148
|
every guard stayed green. `scripts/test-panel-one-hover.tsx` resolves the
|
|
1169
1149
|
whole cascade per markup shape and asserts what must NOT move as well as what
|
|
1170
1150
|
must. */
|
|
@@ -1488,7 +1468,7 @@
|
|
|
1488
1468
|
color: var(--sf-text-secondary);
|
|
1489
1469
|
}
|
|
1490
1470
|
|
|
1491
|
-
/* Collapsed-panel state hook (when
|
|
1471
|
+
/* Collapsed-panel state hook (when the old editor library's UI flags hide a side) */
|
|
1492
1472
|
.sf-panel--hidden {
|
|
1493
1473
|
display: none;
|
|
1494
1474
|
}
|
|
@@ -1586,12 +1566,12 @@
|
|
|
1586
1566
|
Deleted rather than left dead: a rule nobody renders is a rule the next person
|
|
1587
1567
|
edits and watches do nothing.
|
|
1588
1568
|
CARD 66300.a FINISHED THE JOB. The last selector that named `.sf-field-section`
|
|
1589
|
-
went with them: a `[class*="
|
|
1569
|
+
went with them: a `[class*="_OldFields-field_"]:first-child` descendant that
|
|
1590
1570
|
pulled the first header flush to the panel top. It had matched nothing since the
|
|
1591
1571
|
rule above was deleted in this same pull request. The two comments that described
|
|
1592
1572
|
the pair went with it, and so did the section header that had nothing left under
|
|
1593
1573
|
it — the real "floating custom controls" rules live further up, at
|
|
1594
|
-
`Floating-styled form controls for
|
|
1574
|
+
`Floating-styled form controls for the old editor library's native fields`.
|
|
1595
1575
|
MEASURED BEFORE CUTTING, with controls in the same sweep, so the zero is a
|
|
1596
1576
|
measurement and not a query that finds nothing: `.sf-field-section` and
|
|
1597
1577
|
`.sf-field-group` return ZERO renders across app/, components/, lib/ AND the
|
|
@@ -1603,7 +1583,7 @@
|
|
|
1603
1583
|
|
|
1604
1584
|
/* ── The settings TABS (card 8802; the Inspector's since blueprint 4.4) ───────
|
|
1605
1585
|
The strip is `.es-tabs` from `efficient-easel/panel.css`, drawn by
|
|
1606
|
-
efficient-easel's `Inspector` (components/SiteFields) above its rows.
|
|
1586
|
+
efficient-easel's `Inspector` (components/SiteFields) above its rows. The old editor library's
|
|
1607
1587
|
flat list of hashed wrappers, which made `lib/document/controls.tsx` mark each
|
|
1608
1588
|
bucket and hide the others' rows with a DOM pass, is gone: a row on another
|
|
1609
1589
|
tab is `hidden` by the Inspector itself, and a bucket header is a marker
|
|
@@ -1703,10 +1683,10 @@
|
|
|
1703
1683
|
one setting to the next 50px
|
|
1704
1684
|
the last setting to the next heading 74px
|
|
1705
1685
|
|
|
1706
|
-
36px OF EVERY ONE OF THOSE WAS NEVER A DECISION.
|
|
1707
|
-
`.
|
|
1686
|
+
36px OF EVERY ONE OF THOSE WAS NEVER A DECISION. The old editor library wraps each field in
|
|
1687
|
+
`._OldFields-field_` and gives it `padding: 16px 16px 12px` plus an 8px
|
|
1708
1688
|
`margin-top` between wrappers. That padding was the air around a RULED cell
|
|
1709
|
-
—
|
|
1689
|
+
— the old editor library draws a `border-top` between fields. Card 66334 deleted every one of
|
|
1710
1690
|
those lines, on the owner's word, and left the padding behind. It has been
|
|
1711
1691
|
dead air stacked on top of the shell's rhythm ever since, and it is why a
|
|
1712
1692
|
panel that reads as "too loose" measures as one nobody has loosened.
|
|
@@ -1782,7 +1762,7 @@
|
|
|
1782
1762
|
Since 2026-10-14 the sheet has NO heading there (Lewis: one kind of group
|
|
1783
1763
|
heading per panel, the folding band): it draws an empty
|
|
1784
1764
|
`.sf-theme-module-break` where `SURFACES` stood, and these two selectors
|
|
1785
|
-
carry the rule to it. The sheet does not draw
|
|
1765
|
+
carry the rule to it. The sheet does not draw the old editor library field wrappers: it renders
|
|
1786
1766
|
its rows as bare `SettingsField`s inside its own container. Same 30px, same full
|
|
1787
1767
|
bleed, same token-read cancel — one block, because a second copy of his
|
|
1788
1768
|
number is the thing that goes stale.
|
|
@@ -1827,7 +1807,7 @@
|
|
|
1827
1807
|
}
|
|
1828
1808
|
/* A HEADING OWNS ITS FIRST SETTING, so that setting sits closer to it than to
|
|
1829
1809
|
the settings below it. The shell says this as
|
|
1830
|
-
`.es-group-body > .es-field:first-child`, which cannot fire here:
|
|
1810
|
+
`.es-group-body > .es-field:first-child`, which cannot fire here: the old editor library's
|
|
1831
1811
|
inspector is a FLAT sibling list, so a heading never wraps the rows it heads
|
|
1832
1812
|
and there is no `:first-child` to select. Same rule, said the only way this
|
|
1833
1813
|
DOM can say it — the row after the heading's wrapper. Without it the
|
|
@@ -1899,7 +1879,7 @@
|
|
|
1899
1879
|
needs the rule, and this sheet goes to one of them. It loads before this
|
|
1900
1880
|
sheet, where the rule stood; no rule here meets it on `display !important`. */
|
|
1901
1881
|
/* ── A field that draws NO CONTROL here (card 66178) ──────────────────────────
|
|
1902
|
-
|
|
1882
|
+
the old editor library owned the wrapper around every top-level field and ruled the gap between
|
|
1903
1883
|
two of them, so a field whose render returned nothing still took its
|
|
1904
1884
|
`16px 16px 12px` and still drew the line: a hairline with only blank space on
|
|
1905
1885
|
one side. (Since blueprint 4.4 the row is efficient-easel's `.es-insp-row`.) It was three of
|
|
@@ -1926,7 +1906,7 @@
|
|
|
1926
1906
|
it: the rule below is drawn by a PACKAGE, it is the majority of what is
|
|
1927
1907
|
actually on screen, and it cannot be deleted from here.
|
|
1928
1908
|
|
|
1929
|
-
|
|
1909
|
+
the old editor library rules the gap between every pair of top-level fields, so it draws once
|
|
1930
1910
|
per field for the whole panel — 28 lines in a single section panel, measured.
|
|
1931
1911
|
That is most of the panel's lines on its own, which is why removing the shop's
|
|
1932
1912
|
own two heading rules (card 66300) did not change what he saw.
|
|
@@ -1936,21 +1916,21 @@
|
|
|
1936
1916
|
text parts. It was held here under a written expiry, because a rule that lives
|
|
1937
1917
|
in another repo could not be reached from this one. editor-shell 0.29.0 (card
|
|
1938
1918
|
66350) deleted it AT SOURCE and card 66351 deleted this repo's copy with it —
|
|
1939
|
-
the ending the
|
|
1919
|
+
the ending the old editor library rule below cannot have, since `The old editor library` is not ours
|
|
1940
1920
|
to change. That seam is now held from both ends by
|
|
1941
1921
|
`scripts/test-drill-rows-separated-by-air.ts`: it fails if the shell starts
|
|
1942
1922
|
drawing on it again, and it fails if a local override for it reappears here.
|
|
1943
1923
|
|
|
1944
|
-
⚠️ SPECIFICITY, NOT `!important`.
|
|
1924
|
+
⚠️ SPECIFICITY, NOT `!important`. The old editor library's rule is (0,3,0) —
|
|
1945
1925
|
`wrapFields field + field` — so this restates all three parts to match it, and
|
|
1946
|
-
wins on order: `storefront-editor.css` is imported after
|
|
1926
|
+
wins on order: `storefront-editor.css` is imported after the old editor library's stylesheet and after
|
|
1947
1927
|
`panel.css` at every call site. The `[class*=]` form is this file's existing
|
|
1948
|
-
idiom for
|
|
1949
|
-
would break on the next
|
|
1928
|
+
idiom for the old editor library's hashed module names (see the three rules above); a bare class
|
|
1929
|
+
would break on the next old editor library bump, silently, by putting the lines back.
|
|
1950
1930
|
|
|
1951
1931
|
This is an override of a live upstream rule, not dead code:
|
|
1952
1932
|
`scripts/test-panel-no-divider-lines.tsx` §2 asserts the upstream rule still
|
|
1953
|
-
exists before checking it, so if
|
|
1933
|
+
exists before checking it, so if the old editor library ever drops its own line, the guard says
|
|
1954
1934
|
to delete the override rather than leave it lying here — which is exactly what
|
|
1955
1935
|
happened to the drill one above. */
|
|
1956
1936
|
|
|
@@ -2463,7 +2443,7 @@
|
|
|
2463
2443
|
|
|
2464
2444
|
⚠️ NOT CAUSED BY THE PANEL-SPACING CARD. Checked rather than assumed: the
|
|
2465
2445
|
same three tabs measure 38 / 38 / 0 on `ad353cf60`, the commit before that
|
|
2466
|
-
card's three PRs. Those changed `.sf-field` and
|
|
2446
|
+
card's three PRs. Those changed `.sf-field` and the old editor library's field wrappers; this
|
|
2467
2447
|
panel draws the shell's `.es-field`, whose 38 has stood since card 66301 —
|
|
2468
2448
|
the owner's own re-scale on 2026-08-31.
|
|
2469
2449
|
|
|
@@ -3919,7 +3899,7 @@ input.sf-list-marking {
|
|
|
3919
3899
|
}
|
|
3920
3900
|
|
|
3921
3901
|
/* ── A slot section's children, listed in its OWN panel (card 66186) ──────────
|
|
3922
|
-
The Hero Slideshow's Content tab was empty: `slides` is a slot, and
|
|
3902
|
+
The Hero Slideshow's Content tab was empty: `slides` is a slot, and the old editor library draws
|
|
3923
3903
|
a slot as nothing in the inspector, so the slides were reachable only from the
|
|
3924
3904
|
Sections tree. The rows are the shell's `.es-drill` (single source, as in
|
|
3925
3905
|
`.sf-entries` above) and the heading is the panel's own `.sf-field-group`, so
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,
|
|
1
|
+
"use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,g=w===L,h=J().getState,P=q(null);j(()=>{if(!W({docId:S,saveStatus:H,seededDocId:P.current})||(P.current=S,!Y))return;const p=h().appState.data,n=p.content,d=C?.content??[],r=(e,s)=>e.some(i=>i?.type===s);if(!B){const e=new Set(O(n)),s=e.size?n.filter(c=>!e.has(c.props.id)):n;if(e.size&&t.setDocument({...p,content:s}),g)return;const i=V(s,d);if(i.includes(a)){const c=s.length,o=t.insertSection(a,c);t.replaceComponent(l,c,{type:a,props:{id:o,blocks:b()}})}i.includes(E)&&t.insertNode(l,0,N());return}if(g){const e=X(n);if(e!==n&&t.setDocument({...p,content:[...e]}),!e.find(i=>i.type===a)&&!r(d,a)&&!r(e,f)&&!r(d,f)){const i=(o,m)=>T(D,o,m),c={type:a,props:{blocks:b()}};t.insertNode(l,e.length,U(c,i,I(f)))}return}if(A){const e=!!_?.pinnedChrome?.state().docId,s=$(n,{hasChromeDoc:e}),i=new Set([...s.remove,...O(n.filter(o=>!s.remove.includes(String(o.props.id))))]),c=i.size?n.filter(o=>!i.has(String(o.props.id))):n;if(c.length!==n.length&&t.setDocument({...p,content:c}),s.seedFooter&&!r(d,a)&&!r(d,f)){const o=(u,Z)=>T(D,u,Z),m={type:a,props:{blocks:b()}};t.insertNode(l,c.length,U(m,o,I(f)))}if(s.seedHeader&&!r(d,E)){const o=c[0]?.type===R?1:0;t.insertNode(l,o,N())}if(s.seedSiteHeader&&!r(d,R)&&!r(d,a)&&!r(d,f)){const o=S;ee({blocks:te(z),make:(m,u)=>T(D,m,u),id:I(R),siteId:v??null,token:x.current,latest:()=>h().appState.data.content,stillOpen:()=>P.current===o,write:m=>{const u=h().appState.data;t.setDocument({...u,content:[...m]})}})}return}const k=n.filter(e=>e.type!==a),G=new Set(O(k)),F=G.size?k.filter(e=>!G.has(e.props.id)):k;F.length!==n.length&&t.setDocument({...p,content:F}),!r(F,E)&&!r(d,E)&&t.insertNode(l,0,N())},[S,H,C,h,t,B,Y,g,A,_,z,v,x])}export{De as usePinnedChromeSeed};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import type { ScreenDocumentOps } from "efficient-easel/screen/lib/screen-parts";
|
|
2
|
+
import { type SectionToBoxEdit } from "../../render/lib/sections/section-to-box.js";
|
|
2
3
|
export declare function useSectionToBoxPass(ops: ScreenDocumentOps): void;
|
|
4
|
+
export declare function applySectionToBoxEdits(edits: readonly SectionToBoxEdit[], ops: Pick<ScreenDocumentOps, "replaceComponent" | "insertNode">, done: Set<string>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useEffect as
|
|
1
|
+
"use client";import{useEffect as p,useRef as d}from"react";import{useEasel as f}from"efficient-easel/easel";import{ROOT_ZONE as s}from"efficient-easel/draw";import{usePreviewHeader as m}from"../../render/components/PreviewHeaderContext.js";import{siteCardThemeMetadata as u}from"../../format/lib/content/section-width.js";import{pageConvertContextOf as x,sectionToBoxEdits as l}from"../../render/lib/sections/section-to-box.js";function B(n){const o=f(e=>e.appState.data.content),r=d(new Set),{cardThemeIndex:t}=m();p(()=>{const e=x(u(t));E(l(o,e),n,r.current)},[o,n,t])}function E(n,o,r){for(const{index:t,nodes:e}of[...n].sort((i,c)=>c.index-i.index)){const i=String(e[0].props.id);r.has(i)||(r.add(i),o.replaceComponent(s,t,e[0]),e.slice(1).forEach((c,a)=>{o.insertNode(s,t+1+a,c),o.replaceComponent(s,t+1+a,c)}))}}export{E as applySectionToBoxEdits,B as useSectionToBoxPass};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as r,StylesIcon as d,WeightIcon as c,WidthIcon as p}from"efficient-easel/icons";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{NoControlMark as m,noControlField as f}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{select as g,sidesPaddingFields as I,slider as i,swapPadding as h,toggle as y}from"../../../controls.js";import{DEFAULT_DIVIDER_STYLE as s,DIVIDER_SPACE_PX as D,DIVIDER_STYLE_OPTIONS as E,parseDividerSpacing as _}from"../../../../../../format/lib/sections/divider-style.js";import{withRowRules as S}from"../../../../../../render/lib/document/show-when.js";const P={any:[{field:"style",set:!1},{field:"style",is:s}]},R={not:{field:"style",is:"none"}},v={fields:S({style:g("Style",e(d,{}),E,s),spacing:{...f({type:"custom",render:()=>e(m,{})},"always"),reachedBy:"sectionPaddingTop"},thickness:i("Thickness",e(c,{}),1,8,1,1,"px"),lengthPct:i("Length",e(p,{}),10,100,1,100,"%"),hideOnMobile:a("mobile",y("Hide",!1,e(r,{})))},[[["thickness"],P],[["lengthPct"],R]]),resolveFields:(t,{fields:n})=>{const o=D[_(t.props.spacing)],l=I({fallback:{top:o,bottom:o}});return h(n,l)}};export{v as DividerFields};
|