efficient-web-builder 74.2.0 → 74.4.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 +38 -0
- package/dist/editor/components/SectionTextPartBridge.d.ts +2 -8
- package/dist/editor/components/SectionTextPartBridge.js +1 -1
- package/dist/editor/lib/document/blocks/general/Contents/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -1
- package/dist/editor/lib/document/own-pad-fields.d.ts +4 -3
- package/dist/editor/lib/document/own-pad-fields.js +1 -1
- package/dist/format/lib/content/faq-row-anchor.d.ts +1 -0
- package/dist/format/lib/content/faq-row-anchor.js +1 -0
- package/dist/format/lib/content/unique-ids.d.ts +1 -0
- package/dist/format/lib/content/unique-ids.js +1 -0
- package/dist/format/lib/document/passes/types.d.ts +3 -2
- package/dist/format/lib/document/section-catalog.js +2 -2
- package/dist/format/lib/editor-words-catalogue.d.ts +4 -0
- package/dist/format/lib/editor-words-catalogue.js +3 -3
- package/dist/render/components/Banner.d.ts +3 -1
- package/dist/render/components/Banner.js +1 -1
- package/dist/render/components/BoxAccordionRow.d.ts +2 -1
- package/dist/render/components/BoxAccordionRow.js +1 -1
- package/dist/render/components/BoxTabPaneContext.d.ts +12 -0
- package/dist/render/components/BoxTabPaneContext.js +1 -1
- package/dist/render/components/Cards.d.ts +3 -1
- package/dist/render/components/Cards.js +1 -1
- package/dist/render/components/ChartSection.d.ts +3 -1
- package/dist/render/components/ChartSection.js +1 -1
- package/dist/render/components/ContactLocations.d.ts +3 -1
- package/dist/render/components/ContactLocations.js +2 -2
- package/dist/render/components/ContentsCurrentMark.d.ts +7 -0
- package/dist/render/components/ContentsCurrentMark.js +1 -0
- package/dist/render/components/ContentsList.d.ts +2 -1
- package/dist/render/components/ContentsList.js +1 -1
- package/dist/render/components/Countdown.d.ts +3 -1
- package/dist/render/components/Countdown.js +1 -1
- package/dist/render/components/DocBody.d.ts +3 -1
- package/dist/render/components/DocBody.js +5 -5
- package/dist/render/components/DocMasthead.d.ts +3 -1
- package/dist/render/components/DocMasthead.js +1 -1
- package/dist/render/components/DocMetaCards.d.ts +3 -1
- package/dist/render/components/DocMetaCards.js +1 -1
- package/dist/render/components/FAQ.d.ts +5 -1
- package/dist/render/components/FAQ.js +1 -1
- package/dist/render/components/FeaturedCover.d.ts +3 -1
- package/dist/render/components/FeaturedCover.js +1 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/Grid.d.ts +3 -1
- package/dist/render/components/Grid.js +1 -1
- package/dist/render/components/IntegrationsSection.d.ts +3 -1
- package/dist/render/components/IntegrationsSection.js +1 -1
- package/dist/render/components/KeyFeatures.d.ts +3 -1
- package/dist/render/components/KeyFeatures.js +1 -1
- package/dist/render/components/Logos.d.ts +3 -1
- package/dist/render/components/Logos.js +1 -1
- package/dist/render/components/LongRead.d.ts +3 -1
- package/dist/render/components/LongRead.js +1 -1
- package/dist/render/components/Masthead.d.ts +3 -1
- package/dist/render/components/Masthead.js +1 -1
- package/dist/render/components/MockupSection.d.ts +3 -1
- package/dist/render/components/MockupSection.js +1 -1
- package/dist/render/components/OpenFromLink.d.ts +3 -0
- package/dist/render/components/OpenFromLink.js +1 -0
- package/dist/render/components/OrderSummary.d.ts +3 -1
- package/dist/render/components/OrderSummary.js +1 -1
- package/dist/render/components/PaymentBadges.d.ts +3 -1
- package/dist/render/components/PaymentBadges.js +1 -1
- package/dist/render/components/Prose.d.ts +3 -1
- package/dist/render/components/Prose.js +1 -1
- package/dist/render/components/SectionHeader.d.ts +2 -1
- package/dist/render/components/SectionHeader.js +1 -1
- package/dist/render/components/Series.d.ts +3 -1
- package/dist/render/components/Series.js +1 -1
- package/dist/render/components/Stats.d.ts +3 -1
- package/dist/render/components/Stats.js +1 -1
- package/dist/render/components/Testimonials.d.ts +3 -1
- package/dist/render/components/Testimonials.js +1 -1
- package/dist/render/components/TickerSection.d.ts +3 -1
- package/dist/render/components/TickerSection.js +1 -1
- package/dist/render/lib/content/section-own-pads.d.ts +35 -0
- package/dist/render/lib/content/section-own-pads.js +1 -0
- package/dist/render/lib/content/section-padding.d.ts +9 -3
- package/dist/render/lib/content/section-padding.js +1 -1
- package/dist/render/lib/document/blocks/general/Banner/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Chart/render.js +1 -1
- package/dist/render/lib/document/blocks/general/ContactLocations/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Contents/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Countdown/render.js +1 -1
- package/dist/render/lib/document/blocks/general/DocBody/render.js +1 -1
- package/dist/render/lib/document/blocks/general/DocMasthead/render.js +1 -1
- package/dist/render/lib/document/blocks/general/DocMetaCards/render.js +1 -1
- package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -1
- package/dist/render/lib/document/blocks/general/FeaturedCover/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Grid/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Integrations/render.js +2 -2
- package/dist/render/lib/document/blocks/general/KeyFeatures/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Logos/render.js +1 -1
- package/dist/render/lib/document/blocks/general/LongRead/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Masthead/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Mockup/render.js +2 -2
- package/dist/render/lib/document/blocks/general/OrderSummary/render.js +1 -1
- package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Prose/render.js +1 -1
- package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Series/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Stats/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Testimonials/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Ticker/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
- package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-integrations.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-promo.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-proof.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
- package/dist/render/lib/document/editing-bridges.d.ts +5 -1
- package/dist/render/lib/document/editing-bridges.js +1 -1
- package/dist/render/lib/document/part-styles.d.ts +3 -1
- package/dist/render/lib/document/part-styles.js +2 -2
- package/dist/render/lib/document/passes/clickable-parts.js +1 -1
- package/dist/render/lib/document/passes/section-padding.d.ts +3 -3
- package/dist/render/lib/document/passes/section-padding.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 74.4.0 - 2026-11-22
|
|
4
|
+
|
|
5
|
+
From main at `622db175`: #832.
|
|
6
|
+
|
|
7
|
+
A minor: two new block settings, both off by default (the Contents block can mark the row of the section a reader is in; a FAQ question can be opened from a link), and the Product Hero's SKU part is in the commerce set. No new peer, no removed path. No stored key or value moves. With both settings off, the blocks draw main's bytes.
|
|
8
|
+
|
|
9
|
+
**For hosts:**
|
|
10
|
+
- No host step. storefront-blocks removes its ProductSku allowance in the bump that takes this release.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Contents: mark the current section.** A toggle on the Contents block, off by default. On, the row whose section is on screen gets `data-current` and `aria-current="location"` as the reader scrolls (`ContentsCurrentMark`), drawn in the strong text colour as a hovered row. Page only, not the editor canvas. (#832)
|
|
15
|
+
- **FAQ: open from a link.** A toggle on the FAQ block ("Open from a link"), off by default. On, each question row gets an id, and a page opened at `#<id>` (or a hash change) opens that row's answer (`OpenFromLink`). Both the fixed FAQ and the Box card FAQ. Row id: `<section Anchor>--<question slug>`, else `faq--<question slug>` (`lib/content/faq-row-anchor`); the "--" joint cannot equal a section Anchor id. An edit of the question or the Anchor changes the id. (#832)
|
|
16
|
+
- **One rule for unique ids on a list** (`lib/content/unique-ids`): a repeat gets `-2`, `-3`, and the count goes on while the id is taken. The doc contents (`DocBody`) uses it. (#832)
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- The Product Hero's SKU part travels with commerce: `UNLISTED_BLOCK_SETS` gets `ProductSku: "commerce"`. (#832)
|
|
21
|
+
|
|
22
|
+
## 74.3.0 - 2026-11-22
|
|
23
|
+
|
|
24
|
+
From main at `9ce39b74`: #830.
|
|
25
|
+
|
|
26
|
+
A minor: a stored section top or bottom padding is drawn once, on the section, for 25 sections; the Padding row's older-value note is per side; a card text region takes its block's size cap. New exports and a new optional block setting; no new peer, no removed path. No stored key or value moves. A section with nothing stored, or an older value without `padTotal`, draws main's bytes (310-case fixture in `test-section-one-padding`).
|
|
27
|
+
|
|
28
|
+
**For hosts:**
|
|
29
|
+
- No host step. storefront-blocks declares the product name cap (`partSizeCaps: { "@name": true }`) in its own PR (batch 2).
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- **A stored top or bottom total is drawn once, on the section.** Before, a section with a vertical padding of its own drew a stored Padding top or bottom in the outer wrapper (`.sf-section-pad`) and its own class inside it, so "top 40" drew 40 plus its own padding. Now, once a top or bottom is a total (its key in `padTotal`, written by an edit of the Padding row), the element that draws the section's own padding draws it once (`sectionRootPad`, `withRootPad`, `lib/content/section-own-pads`) and the wrapper keeps the sides only. Sections: Banner, Cards, Chart, ContactLocations, Countdown, DocBody, DocMasthead, DocMetaCards, FAQ, FeaturedCover, Grid, Integrations, KeyFeatures, Logos, LongRead, Masthead, Mockup, OrderSummary, PaymentBadges, Prose, SectionHeader, Series, Stats, Testimonials, Ticker. Manifesto and Split are not changed (their padding is on a words column, `NO_OWN_PAD`). Look change on newly edited values only. A guard, `test-section-one-padding`, fails a new section with its own vertical padding until it names its frame in `SECTION_OWN_PADS`. (#830)
|
|
34
|
+
- **The Padding row's older-value note is per side.** While a top or bottom value is an older one, the row of that side gives the frame of that side ("plus 40 px (older setting)"), and nothing when that frame is 0. Before, only the top rows spoke, with the top frame. (#830)
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- **A card text region takes its block's size cap.** A block that names a kind in `partSizeCaps` (for example `{ "@name": true }`) caps the region's size in the published sheet and on the canvas (`BlockSizeCapsProvider`, `lib/document/editing-bridges`). Each block sets its own caps; a nested block gets none of its parent's. A block that names no kind draws the same bytes. (#830)
|
|
39
|
+
- One home for the own pads of these sections: `lib/content/section-own-pads` (`FAQ_OWN`, `LONG_READ_OWN`, `GRID_OWN`, `TESTIMONIALS_OWN`, ...). The section-to-box rows read the same names; converter output is unchanged. (#830)
|
|
40
|
+
|
|
3
41
|
## 74.2.0 - 2026-11-22
|
|
4
42
|
|
|
5
43
|
From main at `65a9e17d`: #827, #828.
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export default function SectionTextPartBridge({ nodeId, sectionType, partStyles, children, }: {
|
|
4
|
-
nodeId: string;
|
|
5
|
-
sectionType: string;
|
|
6
|
-
partStyles?: PartStyles;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}): import("react").JSX.Element;
|
|
1
|
+
import type { SectionTextBridgeProps } from "../../render/lib/document/editing-bridges.js";
|
|
2
|
+
export default function SectionTextPartBridge({ nodeId, sectionType, partStyles, sizeCaps, children, }: SectionTextBridgeProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as
|
|
1
|
+
"use client";import{jsx as E}from"react/jsx-runtime";import{useEffect as _,useRef as I}from"react";import{markOverlayPortal as O}from"../../format/lib/document/overlay-portal.js";import{measureStyleBase as w,styleTagsOf as C}from"./PreviewPartAnchors.js";import{shownTier as D}from"efficient-easel/screen/lib/document/device-fields";import{usePreviewDevice as K,usePreviewParts as N}from"efficient-easel/draw/client";import{usePartStyle as j}from"./PreviewPartStyleContext.js";import{REGION_PART_ATTR as v,encodePartId as k}from"../../render/lib/document/text-parts.js";import{TEXT_REGION_ATTR as z,textRegionOfAttr as B,textRegionPartKey as G}from"../../format/lib/sections/text-regions.js";import{regionsForSection as X}from"../../format/lib/sections/section-text-regions.js";import{TEXT_STYLE_ATTR as n,blockCapsPartSize as q,isTextStyleId as J,regionCanvasDeclarations as L,regionCanvasRestore as Y,regionSheetStyle as $,regionShownDeclarations as H}from"../../render/lib/document/part-styles.js";function M({nodeId:s,sectionType:m,partStyles:y,sizeCaps:u,children:b}){const p=I(null),{selectedPartId:S}=N(),{setPartStyle:d}=j(),f=D(K()),F=JSON.stringify([y??null,u??null]);return _(()=>{const g=p.current,o=X(m);if(!g||!s||!o)return;const l=[],T=Array.from(g.querySelectorAll(`[${z}]`));for(const t of T){const r=B(o,t.getAttribute(z));if(!r)continue;const A=O(t);A&&l.push(A);const a=G(r),c=k(s,a);t.setAttribute(v,c);const i=y?.[a];if(o[r].sized&&$(i)){const e=L(i,f,{sizeCap:q(u,a)}),h={fontFamily:t.style.fontFamily,fontSize:t.style.fontSize},P=t.getAttribute(n);e.fontFamily&&(t.style.fontFamily=e.fontFamily),e.fontSize&&(t.style.fontSize=e.fontSize);const x={fontFamily:e.fontFamily?t.style.fontFamily:void 0,fontSize:e.fontSize?t.style.fontSize:void 0},R=i?.textStyle;J(R)&&t.setAttribute(n,R),l.push(()=>{Y(t.style,h,x),P===null?t.removeAttribute(n):t.setAttribute(n,P)})}if(c===S){const e=w(t,H(i,o[r],f));d({partId:c,...C(t),base:e})}}return()=>{for(const t of l)t();for(const t of T)t.removeAttribute(v)}},[s,m,S,d,f,F]),E("div",{ref:p,style:{display:"contents"},children:b})}export{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{HashIcon as i,StickyIcon as m}from"efficient-easel/icons";import{group as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{HashIcon as i,StickyIcon as m,TargetIcon as p}from"efficient-easel/icons";import{group as e,select as _}from"efficient-easel/screen/lib/document/box-fields";import{deviceField as t}from"efficient-easel/screen/lib/document/device-fields";import{LIST_NUMBER_FORMS as c,LIST_NUMBER_FORM_DEFAULT as d}from"../../../../../../format/lib/content/list-number.js";import{CONTENTS_NUMBER_FORM_KEY as n}from"../../../../../../render/lib/content/page-contents.js";import{SECTION_STICK_LABEL as r}from"../../../../../../format/lib/content/section-sticky.js";import{text as f,toggle as s}from"../../../controls.js";import{CONTENTS_PH as a}from"../../../../../../format/lib/document/blocks/general/Contents/meta.js";const M={fields:{title:t("desktop",f("Heading",a.title)),_gList:t("desktop",e("List")),[n]:t("desktop",_("Number",o(i,{}),c,d)),markCurrent:t("desktop",s("Mark the current section",!1,o(p,{}),"The row of the section a reader is in stands out as they scroll.")),_gStick:t("desktop",e(r)),sticky:t("desktop",s(r,!0,o(m,{})))}};export{M as ContentsFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{ChevronIcon as l,LinkIcon as p}from"efficient-easel/icons";import{copyText as u,linkField as c,plainTextarea as f,text as r,textarea as h,toggle as a}from"../../../controls.js";import{group as o}from"efficient-easel/screen/lib/document/box-fields";import{SPLITTABLE_SECTIONS as d,headFieldsForPlacement as T}from"../../../../../../format/lib/sections/section-head-placement.js";import{withRowsShownWhen as A}from"../../../../../../format/lib/document/show-when-attach.js";import{ENTRANCE_STORE_KEYS as E,LEGACY_ENTRANCE_KEY as F}from"../../../../../../render/lib/animation/entrance.js";import{drawsCopiesInTheBox as _}from"../../../../../../format/lib/content/copies-in-box.js";import{FAQ_PH as n,FAQSlots as w}from"../../../../../../format/lib/document/blocks/general/FAQ/meta.js";const m="faqOnTemplate",g={not:{context:m,is:!0}},x={[m]:t=>_("FAQ",t.props??{})},N=new Set([F,...E]);function O(t){return Object.keys(t).filter(e=>["num","title","linkText","linkHref","anchor"].includes(e)||e.startsWith("sectionPadding")||e.startsWith("sectionHeight")||N.has(e))}const y={fields:{_gContent:o("Content"),num:r("Number",n.num),title:h("Heading",n.title),linkText:r("Button",n.link),linkHref:c("Link"),_gQuestions:o("Questions"),items:{type:"array",label:"Questions",arrayFields:{question:u("Question"),answer:f("Answer")},getItemSummary:t=>t.question||"Question"},_gLayout:o("Layout"),defaultOpen:a("Open first answer",!0,i(l,{})),openFromLink:a("Open from a link",!1,i(p,{}),"A link to a question opens its answer. Each question gets an anchor made from its words, after the section's Anchor."),...w},resolveFields:(t,{fields:e})=>{const s=T(e,t.props.headPlacement,d.FAQ.headRows);return A(s,O(s),g)},showWhenFacts:x};export{y as FAQFields};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OwnFrame } from "../../../render/lib/content/section-padding.js";
|
|
2
2
|
type Props = Record<string, unknown>;
|
|
3
|
-
type FrameOf = (props: Props) =>
|
|
4
|
-
type
|
|
3
|
+
type FrameOf = (props: Props) => OwnFrame;
|
|
4
|
+
type Side = "top" | "bottom";
|
|
5
|
+
type Note = (props: Props, frame: number, side?: Side) => string | null;
|
|
5
6
|
export declare function ownPadFallbackAt(frameOf: FrameOf, values: Props, key: string | undefined): {
|
|
6
7
|
top: number;
|
|
7
8
|
bottom: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as d,Fragment as f,jsxs as p}from"react/jsx-runtime";import{useSelectedHost as c}from"efficient-easel/easel";import{VIEW_TIERS as b,viewKeyAt as O}from"efficient-easel/draw";import{SECTION_PAD_KEYS as m,padTotalKeys as P,sideFrameAt as i}from"../../../render/lib/content/section-padding.js";import{sidesPaddingFields as j}from"./box-fields.js";const u=e=>b.find(r=>Object.values(m).some(o=>O(o,r)===e))??"desktop";function w(e,r,o){const n=e(r),t=u(o);return{top:i(n,"top",t),bottom:i(n,"bottom",t)}}const x=e=>e.startsWith(m.bottom)?"bottom":"top";function F(e,r,o,n){const t=x(n);return r(o,i(e(o),t,u(n)),t)}function S({frameOf:e,note:r,rowKey:o}){const n=c()?.values,t=n?F(e,r,n,o):null;return t?d("p",{className:"es-field-hint",children:t}):null}const _=new Set(P());function N(e,r,o){const n=j({tablet:!0,siteSide:!0,...o?{label:o}:{},useFallback:t=>{const s=c()?.values;return s?w(e,s,t.name):{top:0,bottom:0}}});return Object.fromEntries(Object.entries(n).map(([t,s])=>{const a=s.render;return!_.has(t)||typeof a!="function"?[t,s]:[t,{...s,render:l=>p(f,{children:[a(l),d(S,{frameOf:e,note:r,rowKey:t})]})}]}))}export{w as ownPadFallbackAt,F as ownPadNoteAt,N as ownPaddingFields};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function faqRowAnchors(questions: readonly (string | undefined)[], sectionAnchor?: unknown): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{slugify as i}from"efficient-shell/format";import{anchorSlug as m}from"./anchor-name.js";import{stripMarkup as p}from"../markup.js";import{uniqueIds as s}from"./unique-ids.js";const u="faq",c="--";function N(o,t){const n=m(t)||u;return s(o.map(f=>{const r=i(p(f??""));return r?`${n}${c}${r}`:""}))}export{N as faqRowAnchors};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function uniqueIds(bases: readonly string[]): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function d(r){const t=new Set;return r.map(n=>{if(!n)return"";let e=n,u=2;for(;t.has(e);)e=`${n}-${u++}`;return t.add(e),e})}export{d as uniqueIds};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from "react";
|
|
2
|
-
import type { TextFit
|
|
2
|
+
import type { TextFit } from "efficient-easel/draw";
|
|
3
3
|
import type { AnimationTabKind } from "../../../../editor/lib/animation/fields.js";
|
|
4
|
+
import type { OwnFrame } from "../../../../render/lib/content/section-padding.js";
|
|
4
5
|
export type PassRenderProps = Record<string, unknown>;
|
|
5
6
|
export type PassResolveFields = (data: {
|
|
6
7
|
props?: Record<string, unknown>;
|
|
@@ -46,7 +47,7 @@ export type PassInspector = {
|
|
|
46
47
|
unitKey?: string;
|
|
47
48
|
fallback?: Partial<Record<"top" | "right" | "bottom" | "left", number>>;
|
|
48
49
|
}) => FieldMap;
|
|
49
|
-
ownPaddingFields?: (frameOf: (props: Record<string, unknown>) =>
|
|
50
|
+
ownPaddingFields?: (frameOf: (props: Record<string, unknown>) => OwnFrame, note: (props: Record<string, unknown>, frame: number, side?: "top" | "bottom") => string | null, label?: string) => FieldMap;
|
|
50
51
|
sectionShapeFields: () => FieldMap;
|
|
51
52
|
cardShapeFields: () => FieldMap;
|
|
52
53
|
cellWidthFields: () => FieldMap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ownEntry as
|
|
1
|
+
import{ownEntry as r}from"../own-entry.js";const T=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"},{type:"DocTabs",label:"Tab Bar",set:"general"},{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Banner",label:"Banner",set:"general"}]}];function E(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const h="2027-02-05",c="2027-02-14",l={CategoryBar:{label:"Category bar",note:`The reviewer, 2026-11-06 (the page headers and the tab bars become TWO Layouts rows, Page Header and Tab Bar): Category Bar folds into the Tab Bar. Retired from the Add menu with no second preset.
|
|
2
2
|
|
|
3
3
|
WHAT REPLACES IT: Tab Bar, a Box pinned under the header that stays above the sections after it, with a line below, holding the Menu block (One row, Menu style Tabs, Current page). Set the Menu's content to Blog categories: the blog's own categories, most posts first, each with its count in its cell (the host seeds the count card, Count on). Its converter row (\`section-to-box-rows-tabbar\` \`categoryBar\`, OFF) draws that bar for a stored page that moves later.
|
|
4
4
|
|
|
@@ -92,4 +92,4 @@ WHAT A MERCHANT LOSES until the wall is redone: the photo wall and the section h
|
|
|
92
92
|
|
|
93
93
|
Old sites stay as they are (owner, 2026-11-06); moving a stored page is a separate write that needs the owner's word.
|
|
94
94
|
|
|
95
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Contact / Locations node still renders through it and can still be edited; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items · Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. ⛔ A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},p=Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t.note])),S=["Grid","Spacer","TyreFitment"],f=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(p)])),u=Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t.label])),O={...u,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},m={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",HostPart:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",WheelDiagram:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",ProductBuyButton:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",ContactLocations:"general",HeroSingle:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},
|
|
95
|
+
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Contact / Locations node still renders through it and can still be edited; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items · Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. ⛔ A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},p=Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t.note])),S=["Grid","Spacer","TyreFitment"],f=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(p)])),u=Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t.label])),O={...u,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},m={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",HostPart:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",WheelDiagram:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",ProductBuyButton:"commerce",ProductSku:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",ContactLocations:"general",HeroSingle:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},s={...m,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))},y={DocTabs:{set:"service",blocks:["MenuBlock"],reason:"the Tab Bar press holds the Menu block, whose only source is a Console menu; a stored bar's typed tabs need nothing, so the Tab Bar stays general"}};function A(e,t,a=y){const i=r(a,e);return i!==void 0&&!t.includes(i.set)}function v(e){return r(s,e)}function n(e){return Object.keys(s).filter(t=>r(s,t)===e).sort()}const C=n("general"),k=n("commerce"),B=n("service"),b="Flex",d="Box",x=`${d}es`;function g(e){return e==="section"?"Blank section":d}function N(e,t,a){return e===b?g(t):a}export{f as ALL_SECTION_TYPES,T as BLOCK_SETS,d as BOX_LABEL,x as BOX_LABEL_PLURAL,k as COMMERCE_BLOCKS,C as GENERAL_BLOCKS,c as INTEGRATIONS_DELETE_BY,h as KEY_FEATURES_DELETE_BY,b as LEVEL_NAMED_TYPE,y as PRESS_NEEDS_SET,S as RETIRED_NESTABLE_SECTIONS,p as RETIRED_SECTIONS,u as RETIRED_SECTION_LABELS,o as SECTION_CATALOG,O as SECTION_LABELS,B as SERVICE_BLOCKS,m as UNLISTED_BLOCK_SETS,v as blockSetOf,n as blocksInSet,E as buildBlockCategories,N as labelAtLevel,g as labelForFlex,A as pressWithheld};
|
|
@@ -36,6 +36,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
36
36
|
readonly "A journal issue header with a lead statement and contents.": "A journal issue header with a lead statement and contents.";
|
|
37
37
|
readonly "A line across the blocks, with a dot on each.": "A line across the blocks, with a dot on each.";
|
|
38
38
|
readonly "A line or two of supporting copy.": "A line or two of supporting copy.";
|
|
39
|
+
readonly "A link to a question opens its answer. Each question gets an anchor made from its words, after the section's Anchor.": "A link to a question opens its answer. Each question gets an anchor made from its words, after the section's Anchor.";
|
|
39
40
|
readonly "A long-form article spread with a pull-quote and cover image.": "A long-form article spread with a pull-quote and cover image.";
|
|
40
41
|
readonly "A marquee cannot run diagonally, so the corners are not answers.": "A marquee cannot run diagonally, so the corners are not answers.";
|
|
41
42
|
readonly "A milestone still to come.": "A milestone still to come.";
|
|
@@ -786,6 +787,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
786
787
|
readonly "Map height": "Map height";
|
|
787
788
|
readonly "Map only": "Map only";
|
|
788
789
|
readonly "Map theme": "Map theme";
|
|
790
|
+
readonly "Mark the current section": "Mark the current section";
|
|
789
791
|
readonly Marks: "Marks";
|
|
790
792
|
readonly Marquee: "Marquee";
|
|
791
793
|
readonly "Match / done (green)": "Match / done (green)";
|
|
@@ -894,6 +896,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
894
896
|
readonly "Only the size follows a site style. This section sets its own font, weight and letter case.": "Only the size follows a site style. This section sets its own font, weight and letter case.";
|
|
895
897
|
readonly Open: "Open";
|
|
896
898
|
readonly "Open first answer": "Open first answer";
|
|
899
|
+
readonly "Open from a link": "Open from a link";
|
|
897
900
|
readonly "Open the {name} in a new tab": "Open the {name} in a new tab";
|
|
898
901
|
readonly "Open your saved draft in a new tab. Visitors don't see it.": "Open your saved draft in a new tab. Visitors don't see it.";
|
|
899
902
|
readonly "Opening hours": "Opening hours";
|
|
@@ -1299,6 +1302,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1299
1302
|
readonly "The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.": "The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.";
|
|
1300
1303
|
readonly "The preview did not open. Try again.": "The preview did not open. Try again.";
|
|
1301
1304
|
readonly "The room left at the left and right edge of every page.": "The room left at the left and right edge of every page.";
|
|
1305
|
+
readonly "The row of the section a reader is in stands out as they scroll.": "The row of the section a reader is in stands out as they scroll.";
|
|
1302
1306
|
readonly "The section draws {what} here, in every card.": "The section draws {what} here, in every card.";
|
|
1303
1307
|
readonly "The section it belonged to has been changed or removed.": "The section it belonged to has been changed or removed.";
|
|
1304
1308
|
readonly "The slide shows your Image while the video loads, because this video has no frame.": "The slide shows your Image while the video loads, because this video has no frame.";
|