efficient-web-builder 57.1.0 → 58.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 +28 -0
- package/dist/editor/components/SectionIcon.js +1 -1
- package/dist/editor/components/WebsiteScreenParts.js +1 -1
- package/dist/editor/components/storefront-editor.css +30 -0
- package/dist/editor/lib/animation/hover-fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Contents/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/ListSearch/fields.d.ts +2 -0
- package/dist/editor/lib/document/blocks/general/ListSearch/fields.js +1 -0
- package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
- package/dist/editor/lib/document/blocks/general/index.js +1 -1
- package/dist/editor/lib/document/box-fields.d.ts +1 -0
- package/dist/editor/lib/document/box-fields.js +1 -1
- package/dist/editor/lib/document/card-display-chips.d.ts +7 -5
- package/dist/editor/lib/document/card-display-chips.js +1 -1
- package/dist/editor/lib/document/controls.d.ts +6 -0
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/sections/text-layouts.js +1 -1
- package/dist/format/lib/animation/hover.js +1 -1
- package/dist/format/lib/content/accordion-row-style.d.ts +10 -0
- package/dist/format/lib/content/accordion-row-style.js +1 -0
- package/dist/format/lib/content/box-angle.d.ts +9 -0
- package/dist/format/lib/content/box-angle.js +1 -0
- package/dist/format/lib/content/box-background.d.ts +3 -0
- package/dist/format/lib/content/box-background.js +1 -1
- package/dist/format/lib/content/box-layout.d.ts +3 -0
- package/dist/format/lib/content/box-layout.js +1 -1
- package/dist/format/lib/content/card-place.d.ts +4 -0
- package/dist/format/lib/content/card-place.js +1 -1
- package/dist/format/lib/content/card-template.d.ts +3 -0
- package/dist/format/lib/content/card-template.js +1 -1
- package/dist/format/lib/content/copies-in-box.d.ts +2 -0
- package/dist/format/lib/content/copies-in-box.js +1 -0
- package/dist/format/lib/content/list-query.d.ts +7 -0
- package/dist/format/lib/content/list-query.js +1 -0
- package/dist/format/lib/content/part-display.js +1 -1
- package/dist/format/lib/content/view-hide-class.d.ts +11 -0
- package/dist/format/lib/content/view-hide-class.js +1 -0
- package/dist/format/lib/document/blocks/general/FAQ/card-seed.d.ts +7 -0
- package/dist/format/lib/document/blocks/general/FAQ/card-seed.js +1 -0
- package/dist/format/lib/document/blocks/general/FAQ/meta.d.ts +6 -0
- package/dist/format/lib/document/blocks/general/FAQ/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/ListSearch/meta.d.ts +6 -0
- package/dist/format/lib/document/blocks/general/ListSearch/meta.js +1 -0
- package/dist/format/lib/document/blocks/general/PaymentBadges/meta.d.ts +6 -0
- package/dist/format/lib/document/blocks/general/PaymentBadges/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/metas.d.ts +1 -0
- package/dist/format/lib/document/blocks/general/metas.js +1 -1
- package/dist/format/lib/document/blocks/general/text-part-shapes.json +18 -0
- package/dist/format/lib/document/box-footer.js +1 -1
- package/dist/format/lib/document/container-blocks.js +1 -1
- package/dist/format/lib/document/general-order.d.ts +1 -1
- package/dist/format/lib/document/general-order.js +1 -1
- package/dist/format/lib/document/list-search-scopes.d.ts +4 -0
- package/dist/format/lib/document/list-search-scopes.js +1 -0
- package/dist/format/lib/document/part-inks.d.ts +2 -1
- package/dist/format/lib/document/part-inks.js +1 -1
- package/dist/format/lib/document/section-catalog.js +2 -2
- package/dist/format/lib/editor-words-catalogue.d.ts +7 -0
- package/dist/format/lib/editor-words-catalogue.js +4 -4
- package/dist/format/lib/editor-words-kept.js +1 -1
- package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
- package/dist/render/components/BoxAccordionRow.d.ts +3 -1
- package/dist/render/components/BoxAccordionRow.js +1 -1
- package/dist/render/components/BoxTabPaneContext.d.ts +5 -0
- package/dist/render/components/BoxTabPaneContext.js +1 -1
- package/dist/render/components/CardRowContext.d.ts +3 -1
- package/dist/render/components/CardRowContext.js +1 -1
- package/dist/render/components/Cards.js +1 -1
- package/dist/render/components/CategoryBar.d.ts +1 -1
- package/dist/render/components/CategoryBar.js +1 -1
- package/dist/render/components/ChartSection.js +1 -1
- package/dist/render/components/ContactLocations.js +2 -2
- package/dist/render/components/ContentsList.d.ts +3 -3
- package/dist/render/components/ContentsList.js +1 -1
- package/dist/render/components/Countdown.js +1 -1
- package/dist/render/components/Divider.d.ts +1 -2
- package/dist/render/components/Divider.js +1 -1
- package/dist/render/components/DocBody.js +5 -5
- package/dist/render/components/DocMasthead.js +1 -1
- package/dist/render/components/DocMetaCards.js +1 -1
- package/dist/render/components/DocTabs.js +1 -1
- package/dist/render/components/Eyebrow.d.ts +2 -1
- package/dist/render/components/Eyebrow.js +1 -1
- package/dist/render/components/FAQ.d.ts +6 -1
- package/dist/render/components/FAQ.js +1 -1
- package/dist/render/components/FeaturedCover.js +1 -1
- package/dist/render/components/Flex.d.ts +3 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/Footprint.js +1 -1
- package/dist/render/components/HeroGroup.d.ts +1 -1
- package/dist/render/components/HeroGroup.js +1 -1
- package/dist/render/components/HeroPictures.js +1 -1
- package/dist/render/components/HeroSection.js +1 -1
- package/dist/render/components/HeroSingle.js +1 -1
- package/dist/render/components/HeroSlide.d.ts +1 -1
- package/dist/render/components/HeroSlide.js +1 -1
- package/dist/render/components/InBoxContext.d.ts +1 -1
- package/dist/render/components/InBoxContext.js +1 -1
- package/dist/render/components/IntegrationsSection.js +1 -1
- package/dist/render/components/IntroBleed.js +1 -1
- package/dist/render/components/JoinBox.js +1 -1
- package/dist/render/components/KeyFeatures.js +1 -1
- package/dist/render/components/ListSearchBox.d.ts +7 -0
- package/dist/render/components/ListSearchBox.js +1 -0
- package/dist/render/components/LocationMap.d.ts +2 -1
- package/dist/render/components/LocationMap.js +1 -1
- package/dist/render/components/Logo.d.ts +3 -1
- package/dist/render/components/Logo.js +1 -1
- package/dist/render/components/LogoBlock.js +1 -1
- package/dist/render/components/LongRead.js +1 -1
- package/dist/render/components/Manifesto.js +1 -1
- package/dist/render/components/Masthead.js +1 -1
- package/dist/render/components/MockupSection.js +1 -1
- package/dist/render/components/ParagraphsA.d.ts +2 -1
- package/dist/render/components/ParagraphsA.js +1 -1
- package/dist/render/components/PostCard.d.ts +2 -1
- package/dist/render/components/PostCard.js +1 -1
- package/dist/render/components/ProcessSteps.js +1 -1
- package/dist/render/components/Prose.js +1 -1
- package/dist/render/components/SectionAnimation.d.ts +3 -2
- package/dist/render/components/SectionAnimation.js +1 -1
- package/dist/render/components/SectionEyebrow.d.ts +2 -1
- package/dist/render/components/SectionEyebrow.js +1 -1
- package/dist/render/components/Series.js +1 -1
- package/dist/render/components/SiteGutterFrame.d.ts +2 -2
- package/dist/render/components/SiteGutterFrame.js +1 -1
- package/dist/render/components/Spacer.js +1 -1
- package/dist/render/components/SpecStrip.js +1 -1
- package/dist/render/components/StatsParagraph.js +1 -1
- package/dist/render/components/Testimonials.js +1 -1
- package/dist/render/components/TickerSection.js +1 -1
- package/dist/render/components/Timeline.js +1 -1
- package/dist/render/components/TimelineTrack.js +1 -1
- package/dist/render/components/TitleWithButtons.js +1 -1
- package/dist/render/components/ViewHideRoot.d.ts +23 -0
- package/dist/render/components/ViewHideRoot.js +1 -0
- package/dist/render/lib/content/block-size.d.ts +0 -2
- package/dist/render/lib/content/block-size.js +1 -1
- package/dist/render/lib/content/page-contents.js +1 -1
- package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Contents/render.js +1 -1
- package/dist/render/lib/document/blocks/general/CustomHTML/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Eyebrow/render.js +1 -1
- package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
- package/dist/render/lib/document/blocks/general/ListSearch/render.d.ts +2 -0
- package/dist/render/lib/document/blocks/general/ListSearch/render.js +1 -0
- package/dist/render/lib/document/blocks/general/LocationMap/render.js +1 -1
- package/dist/render/lib/document/blocks/general/OrderSummary/card-seed.d.ts +2 -0
- package/dist/render/lib/document/blocks/general/OrderSummary/card-seed.js +1 -0
- package/dist/render/lib/document/blocks/general/ParagraphsA/render.js +1 -1
- package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
- package/dist/render/lib/document/blocks/general/PostCard/render.js +1 -1
- package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
- package/dist/render/lib/document/blocks/general/renders.d.ts +1 -0
- package/dist/render/lib/document/blocks/general/renders.js +1 -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-checkout.d.ts +2 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows-checkout.js +1 -0
- 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.d.ts +12 -0
- 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-locations.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.d.ts +1 -0
- 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.js +1 -1
- package/dist/render/lib/document/page-render.js +1 -1
- package/dist/render/lib/document/passes/block-size.js +1 -1
- package/dist/render/lib/document/passes/borders.js +1 -1
- package/dist/render/lib/document/passes/box-join.js +1 -1
- package/dist/render/lib/document/passes/cell-width.js +1 -1
- package/dist/render/lib/document/passes/corners.js +1 -1
- package/dist/render/lib/document/passes/head-core.js +1 -1
- package/dist/render/lib/document/passes/hidden-nodes.d.ts +2 -0
- package/dist/render/lib/document/passes/hidden-nodes.js +1 -0
- package/dist/render/lib/document/passes/index.js +1 -1
- package/dist/render/lib/document/passes/section-anchor.js +1 -1
- package/dist/render/lib/document/passes/section-animation.js +1 -1
- package/dist/render/lib/document/passes/section-height.js +1 -1
- package/dist/render/lib/document/passes/section-padding.js +1 -1
- package/dist/render/lib/document/passes/section-sticky.js +1 -1
- package/dist/render/lib/document/passes/section-theme.js +1 -1
- package/dist/render/lib/document/passes/section-width.js +1 -1
- package/dist/render/lib/document/slot-counts.js +1 -1
- package/dist/render/lib/sections/section-to-box.js +1 -1
- package/package.json +1 -1
- package/dist/format/lib/document/passes/hidden-nodes.d.ts +0 -2
- package/dist/format/lib/document/passes/hidden-nodes.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isNodeList as n}from"efficient-easel/data";const r=new Set(["FAQ"]);function s(e,o){if(!r.has(e))return!1;const t=o.template;return typeof t=="function"?(t.blockCount??0)>0:n(t)}export{r as COPIES_IN_THE_BOX,s as drawsCopiesInTheBox};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const LIST_ROW_ATTR = "data-list-row";
|
|
2
|
+
export declare const LIST_ROW_SELECTOR = "details, [data-list-row]";
|
|
3
|
+
export declare function foldText(value: string): string;
|
|
4
|
+
export declare function rowMatchesQuery(text: string, query: string): boolean;
|
|
5
|
+
export declare const LIST_KEY_ATTR = "data-list-key";
|
|
6
|
+
export declare function listRowsFor(searchNode: Element, key: string): HTMLElement[];
|
|
7
|
+
export declare function narrowList(searchNode: Element, key: string, query: string): number | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const c="data-list-row",a=`details, [${c}]`;function i(r){return r.normalize("NFD").replace(/\p{M}/gu,"").toLowerCase()}function f(r,o){const e=i(o).split(/\s+/).filter(Boolean);if(e.length===0)return!0;const n=i(r);return e.every(t=>n.includes(t))}const u="data-list-key";function p(r,o){const e=r.ownerDocument;return Array.from(e.querySelectorAll(`[${u}]`)).filter(t=>t.getAttribute(u)===o).flatMap(t=>Array.from(t.querySelectorAll(a)).filter(s=>{if(s.hasAttribute(c))return!0;const l=s.parentElement?.closest(`[${c}]`);return!l||!t.contains(l)})).filter(t=>!r.contains(t))}function d(r,o,e){const n=p(r,o);if(n.length===0)return null;let t=0;for(const s of n){const l=f(s.textContent??"",e);s.hidden=!l,l&&(t+=1)}return t}export{u as LIST_KEY_ATTR,c as LIST_ROW_ATTR,a as LIST_ROW_SELECTOR,i as foldText,p as listRowsFor,d as narrowList,f as rowMatchesQuery};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function r(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t={};for(const[o,n]of Object.entries(e))typeof n=="boolean"&&(t[o]=n);return t}function s(e,t){return r(e)[t]!==!1}function f(e,t,o){const n=r(t)[o];return typeof n=="boolean"?n:s(e,o)}function c(e){return Object.values(r(e)).some(t=>t===!1)}function
|
|
1
|
+
import{viewHideClass as i}from"./view-hide-class.js";function r(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t={};for(const[o,n]of Object.entries(e))typeof n=="boolean"&&(t[o]=n);return t}function s(e,t){return r(e)[t]!==!1}function f(e,t,o){const n=r(t)[o];return typeof n=="boolean"?n:s(e,o)}function c(e){return Object.values(r(e)).some(t=>t===!1)}function a(e){return Object.keys(r(e)).length>0}function u(e,t,o){const n={...r(e)};return o?delete n[t]:n[t]=!1,Object.keys(n).length?n:void 0}function l(e,t,o){return{...r(e),[t]:o}}function h(e,t,o){const n=!s(e,o);return i({desktop:n,tablet:n,mobile:!f(e,t,o)})}export{c as desktopDisplayChanged,h as partDisplayClass,s as partShownOnDesktop,f as partShownOnPhone,a as phoneDisplayChanged,r as readPartDisplay,u as withDesktopPart,l as withPhonePart};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ViewHidden = Readonly<{
|
|
2
|
+
desktop: boolean;
|
|
3
|
+
tablet: boolean;
|
|
4
|
+
mobile: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function viewHideClass(hidden: ViewHidden): string;
|
|
7
|
+
export declare const VIEW_HIDE_KEYS: readonly string[];
|
|
8
|
+
export declare function nodeViewHidden(props: Readonly<Record<string, unknown>>): ViewHidden;
|
|
9
|
+
export declare function nodeHiddenEverywhere(props: Readonly<Record<string, unknown>>): boolean;
|
|
10
|
+
export declare function nodeViewHideWords(props: Readonly<Record<string, unknown>>): string;
|
|
11
|
+
export declare function nodeViewHideClass(props: Readonly<Record<string, unknown>>): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{HIDDEN_KEY as l,hiddenInEveryView as s,hiddenInView as d,hiddenKeyOf as n}from"efficient-easel/screen/lib/content/view-hide";const w={"000":"",100:"view-desktop:hidden","010":"view-tablet:max-view-desktop:hidden","001":"max-view-tablet:hidden",110:"view-tablet:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-tablet:hidden",111:"hidden"};function h(e){const t=i=>i?"1":"0";return w[t(e.desktop)+t(e.tablet)+t(e.mobile)]}const v=[l,n("tablet"),n("mobile")];function o(e){return{desktop:d(e,"desktop"),tablet:d(e,"tablet"),mobile:d(e,"mobile")}}function m(e){return s(e)}function p(e){const t=o(e);return["desktop","tablet","mobile"].filter(i=>t[i]).join(" ")}const b={"000":"",100:"view-desktop:hidden!","010":"view-tablet:max-view-desktop:hidden!","001":"max-view-tablet:hidden!",110:"view-tablet:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-tablet:hidden!",111:"hidden!"};function x(e){const t=o(e),i=a=>a?"1":"0";return b[i(t.desktop)+i(t.tablet)+i(t.mobile)]}export{v as VIEW_HIDE_KEYS,m as nodeHiddenEverywhere,o as nodeViewHidden,x as nodeViewHideClass,p as nodeViewHideWords,h as viewHideClass};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type BlockSeed } from "../../../seed-parts.js";
|
|
2
|
+
type Props = Record<string, unknown>;
|
|
3
|
+
export declare const FAQ_QUESTION_FIELD = "question";
|
|
4
|
+
export declare const FAQ_ANSWER_FIELD = "answer";
|
|
5
|
+
export declare const faqCardSeed: () => BlockSeed;
|
|
6
|
+
export declare function withFaqTemplate(props: Props): Props;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BOX_TYPE as o,CONTAINER_BLOCKS_SLOT as l}from"../../../container-blocks.js";import{DIM as m,INNER_BOX as f,TEXT as s,seedNodes as c,token as n}from"../../../seed-parts.js";import{rowFieldTextSeed as i}from"../Cards/card-seed.js";import{nonEmptyString as r}from"../../../../non-empty-string.js";import{parseSectionHeadPlacement as p}from"../../../../sections/section-head-placement.js";const w="question",S="answer",u={textStyle:"body-1",fontRole:"heading",...n("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},O={textStyle:"body-1",...n("body",15),lineHeight:1.7},E=()=>({type:o,props:{...f,gap:0,name:"Question"},slots:{rowTitle:[i(w,{...s,tag:"p",widthFit:"fill"},u)],[l]:[i(S,{...m,tag:"p",widthFit:"fill",maxWidth:760},O)]}});function T(e){return p(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>r(e[t])!==void 0)}function N(e){if(e.template!==void 0||T(e))return e;const t=r(e.id)??"FAQ";let d=0;return{...e,template:c([E()],a=>a===o?`${t}~row`:`${t}~row.${d++}`)}}export{S as FAQ_ANSWER_FIELD,w as FAQ_QUESTION_FIELD,E as faqCardSeed,N as withFaqTemplate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PH as e}from"../../placeholders.js";const
|
|
1
|
+
import{PH as e}from"../../placeholders.js";import{cardTemplateSlot as t}from"../../../../content/card-template.js";const n={num:e.sectionNumber,title:"Frequently *asked.*",link:"View all questions"},l={template:t()},r={label:"Q&A",inline:!0,fields:l,defaultProps:{num:"",title:"",linkText:"",linkHref:"/faq",defaultOpen:!0,items:[]}};export{r as FAQMeta,l as FAQSlots,n as FAQ_PH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={hint:"Search questions",noMatchText:"No question matches your search."},e={label:"List search",defaultProps:{hint:t.hint,noMatchText:t.noMatchText}};export{t as LIST_SEARCH_PH,e as ListSearchMeta};
|
|
@@ -2,4 +2,10 @@ import type { BlockMeta } from "../../block-types.js";
|
|
|
2
2
|
export declare const PAYMENT_PH: {
|
|
3
3
|
heading: string;
|
|
4
4
|
};
|
|
5
|
+
export declare const paymentScaffoldBadges: () => {
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const paymentScaffoldAssurances: () => {
|
|
9
|
+
text: string;
|
|
10
|
+
}[];
|
|
5
11
|
export declare const PaymentBadgesMeta: BlockMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],o=()=>[{text:e("Secure encrypted checkout")},{text:e("30-day returns")}],n={label:"Payment Methods",defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{t as PAYMENT_PH,n as PaymentBadgesMeta,o as paymentScaffoldAssurances,s as paymentScaffoldBadges};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as
|
|
1
|
+
import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as s}from"./ContactLocations/meta.js";import{CountdownMeta as n}from"./Countdown/meta.js";import{CustomHTMLMeta as c}from"./CustomHTML/meta.js";import{DividerMeta as d}from"./Divider/meta.js";import{ContentsMeta as S}from"./Contents/meta.js";import{ListSearchMeta as l}from"./ListSearch/meta.js";import{DocBodyMeta as u}from"./DocBody/meta.js";import{DocMastheadMeta as T}from"./DocMasthead/meta.js";import{DocMetaCardsMeta as g}from"./DocMetaCards/meta.js";import{DocTabsMeta as B}from"./DocTabs/meta.js";import{EyebrowMeta as C}from"./Eyebrow/meta.js";import{FAQMeta as L}from"./FAQ/meta.js";import{FeaturedCoverMeta as H}from"./FeaturedCover/meta.js";import{FlexMeta as P}from"./Flex/meta.js";import{FootprintMeta as h}from"./Footprint/meta.js";import{GridMeta as y}from"./Grid/meta.js";import{HeadingMeta as k}from"./Heading/meta.js";import{HeroGroupMeta as E}from"./HeroGroup/meta.js";import{HeroMeta as A}from"./Hero/meta.js";import{HeroSingleMeta as D}from"./HeroSingle/meta.js";import{HeroSlideMeta as F}from"./HeroSlide/meta.js";import{ImageBlockMeta as R}from"./ImageBlock/meta.js";import{IntegrationsMeta as I}from"./Integrations/meta.js";import{IntroBleedMeta as x}from"./IntroBleed/meta.js";import{KeyFeaturesMeta as G}from"./KeyFeatures/meta.js";import{LocationMapMeta as b}from"./LocationMap/meta.js";import{LogoBlockMeta as _}from"./LogoBlock/meta.js";import{LogosMeta as v}from"./Logos/meta.js";import{LongReadMeta as w}from"./LongRead/meta.js";import{ManifestoMeta as O}from"./Manifesto/meta.js";import{MastheadMeta as N}from"./Masthead/meta.js";import{MockupMeta as K}from"./Mockup/meta.js";import{OrderSummaryMeta as Q}from"./OrderSummary/meta.js";import{CardListMeta as W}from"./CardList/meta.js";import{ParagraphsAMeta as X}from"./ParagraphsA/meta.js";import{PaymentBadgesMeta as j}from"./PaymentBadges/meta.js";import{PostCardMeta as q}from"./PostCard/meta.js";import{ProcessStepsMeta as z}from"./ProcessSteps/meta.js";import{ProseMeta as J}from"./Prose/meta.js";import{SectionHeaderMeta as U}from"./SectionHeader/meta.js";import{SeriesMeta as V}from"./Series/meta.js";import{SpacerMeta as Y}from"./Spacer/meta.js";import{SpecStripMeta as Z}from"./SpecStrip/meta.js";import{SplitMeta as $}from"./Split/meta.js";import{StatsMeta as oo}from"./Stats/meta.js";import{StatsParagraphMeta as to}from"./StatsParagraph/meta.js";import{TestimonialsMeta as ro}from"./Testimonials/meta.js";import{TextMeta as eo}from"./Text/meta.js";import{TickerMeta as ao}from"./Ticker/meta.js";import{TimelineMeta as mo}from"./Timeline/meta.js";import{TimelineTrackMeta as io}from"./TimelineTrack/meta.js";import{TitleWithButtonsMeta as po}from"./TitleWithButtons/meta.js";import Mo from"./text-part-shapes.json";const fo={Banner:a,Breadcrumb:m,ButtonBlock:i,Cards:p,CategoryBar:M,Chart:f,ContactLocations:s,CustomHTML:c,Divider:d,Contents:S,ListSearch:l,DocBody:u,DocMasthead:T,DocMetaCards:g,DocTabs:B,Eyebrow:C,FAQ:L,FeaturedCover:H,Flex:P,Footprint:h,Grid:y,Heading:k,Hero:A,HeroGroup:E,HeroSingle:D,HeroSlide:F,ImageBlock:R,Integrations:I,IntroBleed:x,Countdown:n,KeyFeatures:G,LocationMap:b,LogoBlock:_,Logos:v,LongRead:w,Manifesto:O,Masthead:N,Mockup:K,OrderSummary:Q,CardList:W,ParagraphsA:X,PaymentBadges:j,PostCard:q,ProcessSteps:z,Prose:J,SectionHeader:U,Series:V,Spacer:Y,SpecStrip:Z,Split:$,Stats:oo,StatsParagraph:to,Testimonials:ro,Text:eo,Ticker:ao,Timeline:mo,TimelineTrack:io,TitleWithButtons:po},so=Mo;function gt(){const t={};for(const o of e){const r=so[o];t[o]={...fo[o],...r?{textParts:r}:null}}return t}export{fo as GENERAL_METAS,gt as generalRenderMetas};
|
|
@@ -246,6 +246,24 @@
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
|
+
"ListSearch": {
|
|
250
|
+
"hint": {
|
|
251
|
+
"type": "custom",
|
|
252
|
+
"__text": {
|
|
253
|
+
"control": "text",
|
|
254
|
+
"label": "Hint",
|
|
255
|
+
"placeholder": "Search questions"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"noMatchText": {
|
|
259
|
+
"type": "custom",
|
|
260
|
+
"__text": {
|
|
261
|
+
"control": "text",
|
|
262
|
+
"label": "No match",
|
|
263
|
+
"placeholder": "No question matches your search."
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
249
267
|
"DocBody": {
|
|
250
268
|
"tocTitle": {
|
|
251
269
|
"type": "custom",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FOOTER_LOGO_PX as O}from"../logo/logo-size.js";import{resolveContainerGap as E}from"../content/container-gap.js";import{NESTED_BOX_PADDING as d}from"../content/box-layout.js";import{finiteNumber as p}from"../finite-number.js";import{isNodeList as _}from"efficient-easel/data";import{templateOnInsert as P}from"../content/card-template.js";import{buildSectionGroup as
|
|
1
|
+
import{FOOTER_LOGO_PX as O}from"../logo/logo-size.js";import{resolveContainerGap as E}from"../content/container-gap.js";import{NESTED_BOX_PADDING as d}from"../content/box-layout.js";import{finiteNumber as p}from"../finite-number.js";import{isNodeList as _}from"efficient-easel/data";import{hiddenKeyOf as y}from"efficient-easel/screen/lib/content/view-hide";import{templateOnInsert as P}from"../content/card-template.js";import{buildSectionGroup as L,SITE_FOOTER_TYPE as x}from"./section-groups.js";const u="Flex",A={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock",FooterPayment:"PaymentLogosBlock"},b=e=>{const{id:o,...t}=e;return t},g=e=>typeof e=="string"?e:"",f={sm:12,md:13,lg:15},B="md",m=1.5,w={size:13,lineHeight:m,width:280},G=14,I=40,S=e=>e==="center"||e==="right"?e:"left";function N(e){const o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(const[r,n]of t){const i=p(e[r]);i&&(o[n]=i)}return o}function D(e,o,t){const r=t(e,b(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:h(o.template,String(r.props.id))}};if(o.template!==void 0)return r;const n=P(e,r.props);return n===r.props?r:{...r,props:n}}function h(e,o,t={at:0}){return e.map(r=>{const n={...r.props,id:`${o}~t${t.at++}`};for(const[i,s]of Object.entries(n))_(s)&&(n[i]=h(s,o,t));return{...r,props:n}})}function F(e,o){const t=e.props??{},r=A[e.type];if(r)return[D(r,t,o)];switch(e.type){case"FooterLogo":{const n=S(t.align),i=o("LogoBlock",{...t.reverse?{reverse:t.reverse}:{},...typeof t.customColor=="string"&&t.customColor?{customColor:t.customColor}:{},heightPx:Math.round(O*((p(t.widthPct)??100)/100)),href:"/",align:n,...N(t)}),s=g(t.tagline).trim();return s?[i,o("Text",{text:s,tone:"dim",align:n,_partStyles:{text:{...w}}})]:[i]}case"FooterText":{const n=typeof t.size=="string"&&t.size in f?t.size:B;return[o("Text",{text:g(t.text),tone:typeof t.tone=="string"?t.tone:"default",_partStyles:{text:{size:f[n],lineHeight:m}}})]}case"FooterDivider":{const n=p(t.thickness),i=p(t.lengthPct);return[o("Divider",{...n!==void 0?{thickness:n}:{},...i!==void 0?{lengthPct:i}:{},...t.hideOnMobile===!0?{[y("mobile")]:!0}:{}})]}case"FooterGroup":{const n=Array.isArray(t.blocks)?t.blocks:[];return[o(u,{direction:t.direction==="horizontal"?"row":"column",gap:E("FooterGroup",t.gap),align:t.align==="center"||t.align==="end"||t.align==="stretch"?t.align:"start",...d,content:n.flatMap(i=>F(i,o))})]}default:return[]}}function U(e,o,t){const r=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=c=>o(u,{direction:"row",wrap:!0,share:"equal",gap:I,content:c}),i=[];let s=[];for(const c of r){const l=F(c,o);if(c.type==="FooterDivider"){s.length&&i.push(n(s)),s=[],i.push(...l);continue}l.length<=1?s.push(...l):s.push(o(u,{direction:"column",gap:G,align:"stretch",...d,content:l}))}(s.length||!i.length)&&i.push(n(s));const T=o(u,{direction:"column",content:[o("LegalLineBlock")]}),a=L(x,t,[...i,T]);return{...a,props:{...a.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}export{f as FOOTER_TEXT_PX,U as boxFooterFromFooter,F as pageBlocksFromFooterBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",
|
|
1
|
+
import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",L="Flex",s="Text & media",y="Layout & structure",c=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],i=[...c,{type:"ListSearch",label:"List search"},{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats",retired:!0},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:s})),E=(p.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:y})),a=[...i,...E],l=[...c,{type:"HeroGroup",label:n}],S=l.map(e=>e.type),O=1,b=l.filter(e=>e.type!=="HeroGroup");function u(e){return e<O?l:b}const C={Flex:{slot:o,choices:()=>a},Grid:{slot:o,choices:()=>a},HeroGroup:{slot:o,choices:u}};function T(e,r=0){const t=C[e];return t?{slot:t.slot,choices:t.choices(r)}:null}export{L as BOX_TYPE,o as CONTAINER_BLOCKS_SLOT,a as CONTAINER_BLOCK_CHOICES,S as HERO_GROUP_BLOCK_TYPES,O as HERO_GROUP_NEST_DEPTH,T as containerBlocksFor};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Config } from "efficient-easel/blocks";
|
|
2
|
-
export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML", "CardList"];
|
|
2
|
+
export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "ListSearch", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML", "CardList"];
|
|
3
3
|
export declare function generalCategories(): Config["categories"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML","CardList"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
|
|
1
|
+
import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","ListSearch","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML","CardList"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isNodeList as i}from"efficient-easel/data";const l="Flex",p="ListSearch",a=["FAQ"],S="listKey";function u(t){const s={...t.props??{}},o={...t,props:s},e={searches:[],lists:[]};t.type===p&&e.searches.push(o),a.includes(String(t.type))&&e.lists.push(o);for(const[n,r]of Object.entries(s))i(r)&&(s[n]=r.map(h=>{const c=u(h);return e.searches.push(...c.found.searches),e.lists.push(...c.found.lists),c.node}));if(t.type===l&&e.searches.length>0&&e.lists.length>0){const n=String(s.id??"");if(n){for(const r of[...e.searches,...e.lists])r.props[S]=n;return{node:o,found:{searches:[],lists:[]}}}}return{node:o,found:e}}const f=t=>i(t)&&t.some(s=>s.type===p||Object.values(s.props??{}).some(f));function d(t){const s=t;return!s||!Array.isArray(s.content)||!f(s.content)?t:{...s,content:s.content.map(o=>u(o).node)}}export{S as LIST_KEY_PROP,p as LIST_SEARCH_TYPE,a as LIST_TYPES,d as markListSearchScopes};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CopyThemeColor } from "efficient-easel/copy";
|
|
2
2
|
import { type ColorSlot } from "efficient-shell/markup";
|
|
3
|
+
export declare function inkTokenOf(slot: string): string;
|
|
3
4
|
export declare function partColourName(value: string): string;
|
|
4
5
|
export declare function partInkCss(value: string | undefined): string;
|
|
5
|
-
export declare function partThemeColors(read?: Partial<Record<ColorSlot, string>> | null): CopyThemeColor[];
|
|
6
|
+
export declare function partThemeColors(read?: Partial<Record<ColorSlot, string>> | null, slots?: readonly string[]): CopyThemeColor[];
|
|
6
7
|
export declare function readInks(element: HTMLElement): Partial<Record<ColorSlot, string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{parseHexColor as
|
|
1
|
+
import{parseHexColor as l}from"efficient-shell/format";import{COLOR_SLOTS as m,colorRole as S}from"efficient-shell/markup";import{say as g}from"../editor-words.js";import{COLOUR_TOKEN as s}from"../word-styles.js";const p={main:s.accent,text:s.text,background:"var(--bg)",muted:s.labels},k={main:"Main",text:"Text",background:"Background",muted:"Muted"};function a(t){return Object.hasOwn(p,t)?p[t]??"":""}const d={accent:"main",labels:"muted"};function C(t){return Object.hasOwn(d,t)?d[t]:t}function T(t){if(!t)return"";if(t.startsWith("#"))return l(t)===t.toLowerCase()?t:"";const o=S(C(t));return o?.kind==="slot"?a(o.slot):""}const N="#9ca3af";function y(t,o=m){return o.flatMap(r=>{const n=k[r];return a(r)&&n?[{name:r,label:g(n),value:t?.[r]||N}]:[]})}function E(t){const o={},r=t.ownerDocument,n=r?.defaultView;if(!r||!n)return o;const O=n.getComputedStyle(t),e=r.createElement("canvas").getContext("2d");for(const u of m){const f=a(u);if(!f)continue;const b=f.replace(/^var\((--[\w-]+)\)$/,"$1"),i=O.getPropertyValue(b).trim();if(!i)continue;let c=x(i);!c&&e&&(e.fillStyle="#000000",e.fillStyle=i,c=x(String(e.fillStyle))),c&&(o[u]=c)}return o}function x(t){const o=t.trim().toLowerCase();if(o.startsWith("#"))return l(o);const r=o.match(/^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/);return r?`#${r.slice(1,4).map(n=>Math.min(255,Number(n)).toString(16).padStart(2,"0")).join("")}`:null}export{a as inkTokenOf,C as partColourName,T as partInkCss,y as partThemeColors,E as readInks};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const h=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",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:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",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"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"
|
|
1
|
+
const h=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",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:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",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"},{type:"EuTyreLabel",label:"EU Tyre Label",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:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{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:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{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"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",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:"ContactLocations",label:"Contact / Locations",set:"general"},{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"}]}];function p(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const i={Masthead:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
|
|
2
2
|
|
|
3
3
|
WHAT REPLACES IT: Page Header, a Box of Text blocks: a Header Box (the eyebrow, the title, a Details Box of one Text per line) over a Deck Box. Every Issue Header field is plain words with no data source, so the merchant makes the issue shape from Text blocks in that Box: the issue lines are Details lines, the lead is the Deck, and the "In this issue" panel is a Box of Texts beside it. Its converter row (\`section-to-box-rows-pageheader\` \`masthead\`, OFF) stays for a stored page that moves later.
|
|
4
4
|
|
|
@@ -62,4 +62,4 @@ WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a pres
|
|
|
62
62
|
|
|
63
63
|
NO CONVERTER ROW: 0 TyreFitment nodes on the US sites, draft or published (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
|
|
64
64
|
|
|
65
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten
|
|
65
|
+
THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`,PaymentBadges:"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."},u=["Grid","Spacer","TyreFitment"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"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",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",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",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",PaymentBadges:"general",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const b=a("general"),T=a("commerce"),w=a("service"),d="Flex",s="Box",E=`${s}es`;function c(e){return e==="section"?"Blank section":s}function S(e,t,n){return e===d?c(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,E as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,d as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,w as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,S as labelAtLevel,c as labelForFlex};
|
|
@@ -690,6 +690,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
690
690
|
readonly Links: "Links";
|
|
691
691
|
readonly "Links to": "Links to";
|
|
692
692
|
readonly List: "List";
|
|
693
|
+
readonly "List search": "List search";
|
|
693
694
|
readonly Live: "Live";
|
|
694
695
|
readonly "Live chat": "Live chat";
|
|
695
696
|
readonly "Live chat settings belong to a website.": "Live chat settings belong to a website.";
|
|
@@ -778,6 +779,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
778
779
|
readonly "No pages match your search": "No pages match your search";
|
|
779
780
|
readonly "No pages yet. Add one with + above.": "No pages yet. Add one with + above.";
|
|
780
781
|
readonly "No place found. Try another postcode.": "No place found. Try another postcode.";
|
|
782
|
+
readonly "No question matches your search.": "No question matches your search.";
|
|
781
783
|
readonly "No section anchors yet": "No section anchors yet";
|
|
782
784
|
readonly "No style": "No style";
|
|
783
785
|
readonly "No versions yet. Every Publish from now on keeps one.": "No versions yet. Every Publish from now on keeps one.";
|
|
@@ -799,6 +801,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
799
801
|
readonly Nudge: "Nudge";
|
|
800
802
|
readonly Number: "Number";
|
|
801
803
|
readonly "Number style": "Number style";
|
|
804
|
+
readonly Numbered: "Numbered";
|
|
802
805
|
readonly Numbers: "Numbers";
|
|
803
806
|
readonly "N\u00B001, N\u00B002": "N°01, N°02";
|
|
804
807
|
readonly "Odd cards": "Odd cards";
|
|
@@ -969,6 +972,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
969
972
|
readonly "Rounds the picture. The card's own corner is in Styles.": "Rounds the picture. The card's own corner is in Styles.";
|
|
970
973
|
readonly Row: "Row";
|
|
971
974
|
readonly "Row columns": "Row columns";
|
|
975
|
+
readonly "Row style": "Row style";
|
|
972
976
|
readonly Rows: "Rows";
|
|
973
977
|
readonly "Rows, first image on the left": "Rows, first image on the left";
|
|
974
978
|
readonly "Rows, first image on the right": "Rows, first image on the right";
|
|
@@ -984,6 +988,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
984
988
|
readonly Search: "Search";
|
|
985
989
|
readonly "Search all pages": "Search all pages";
|
|
986
990
|
readonly "Search all pages\u2026": "Search all pages…";
|
|
991
|
+
readonly "Search questions": "Search questions";
|
|
987
992
|
readonly Season: "Season";
|
|
988
993
|
readonly "Second item": "Second item";
|
|
989
994
|
readonly "Second section": "Second section";
|
|
@@ -1208,6 +1213,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1208
1213
|
readonly "Theme {n}": "Theme {n}";
|
|
1209
1214
|
readonly "Theme {n} background": "Theme {n} background";
|
|
1210
1215
|
readonly "Theme {n} main color": "Theme {n} main color";
|
|
1216
|
+
readonly "Theme {n} muted color": "Theme {n} muted color";
|
|
1211
1217
|
readonly "Theme {n} text color": "Theme {n} text color";
|
|
1212
1218
|
readonly "These settings apply to every view.": "These settings apply to every view.";
|
|
1213
1219
|
readonly "They are saved in Version history as \u201CDraft before restore\u201D, so you can get them back.": "They are saved in Version history as “Draft before restore”, so you can get them back.";
|
|
@@ -1263,6 +1269,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1263
1269
|
readonly "Triangle \u25BC": "Triangle ▼";
|
|
1264
1270
|
readonly "Trusted by *teams worldwide*": "Trusted by *teams worldwide*";
|
|
1265
1271
|
readonly "Try again": "Try again";
|
|
1272
|
+
readonly "Turns the box. 0\u00B0 is straight.": "Turns the box. 0° is straight.";
|
|
1266
1273
|
readonly "Two across": "Two across";
|
|
1267
1274
|
readonly "Two image galleries with tabs and filters.": "Two image galleries with tabs and filters.";
|
|
1268
1275
|
readonly "Two tall": "Two tall";
|